Code Translator
Paste code in one language and see the same program in another. It translates as you type.
From
To
What it can translate
β
Works great
- Printing, variables, math and text
- if / else if / else
- for loops, while loops, break and continue
- Functions with return values
- Lists and arrays (add items, length, max, min, sum)
- Reading input from the keyboard
π§ Not yet
- Classes and objects
- Dictionaries / maps
- switch, try / catch, lambdas
- Python list comprehensions and slices
- Lines it can't translate are kept as β οΈ comments so nothing gets lost
π Your code stays with you. The translating happens inside your own browser.
Nothing you type is uploaded or sent anywhere.