Convert C# to Python

Simply paste in your C# code below, and this free utility will automatically convert it to its equivalent in Python.

Our code converters are sponsored by RedGate

Your source code is safe

We do not permanently store any code submitted via this utility - the data you submit is kept only long enough to convert the code and send the result back to you.

Known Issues

  • We've had to remove the automatic clipboard copying (as Flash 10 and above requires user interaction). However, the copy to clipboard link does now work in FireFox 3 and Chrome.
  • Please report any issues you come across! We will work to fix them and contribute them back to the #develop project too.
  • LINQ support is not yet fully reliable. Please post cases that do not work to our feedback forum.


This code conversion tool is based on source code from the #develop editor, a free open source alternative to Visual Studio .NET.

All our converters

Our other tools

Stay up to date

Sign up for weekly (or monthly) newsletters.

SDD Deep Dive 2015

SDD Deep Dive 2015

SDD Deep Dive is a new event from the organisers of SDD, with a new format - choose one of six intensive 3-day workshops, all presented by world-class experts. Click here now for full details.

Managed cloud from EveryCity


Looking for hosting? Our hosting partner EveryCity offer discounts on Managed Cloud Hosting for DeveloperFusion subscribers, so why not get in touch.


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone” - Bjarne Stroustrup