Online compiler for 30 languages.
Write Python, JavaScript, C++, Java and 26 more, run it in seconds and share a link. Nothing to install.
- No sign-up to run code
- Reads stdin
- Free
- languages
- 30
- courses
- 31
- lessons
- 318
- checked exercises
- 627
Languages
Pick a language and start typing
Each one opens with a small example you can run straight away. Ctrl + Enter runs your code.
- HTML, CSS & JSBrowser
- Python online compiler3.14
- JavaScript online compilerNode.js 24
- TypeScript online compilerDeno
- C online compilerGCC 15
- C++ online compilerG++ 15
- Java online compilerOpenJDK 25
- C# online compiler.NET 10
- Go online compiler1.26
- Rust online compiler1.93
- PHP online compiler8.5
- Ruby online compiler4.0
- Kotlin online compiler2.4
- Swift online compiler6.4
- Dart online compiler3.13
- Scala online compiler3.10
- Haskell online compilerGHC 9.12
- Lua online compiler5.5
- Perl online compiler5.44
- R online compiler4.6
- Julia online compiler1.13
- Bash online compiler5.2
- SQL online compilerSQLite 3
- Elixir online compiler1.20
- Zig online compiler0.17
- Nim online compiler2.2
- Crystal online compiler1.22
- OCaml online compiler5.4
- F# online compiler.NET 10
- Clojure online compiler1.12
- Groovy online compiler6.0
What you can do
Everything you need to write, learn and share code
One editor for quick experiments, homework and interview practice.
Lessons that check your work
31 courses, 318 lessons and 627 exercises. Read a short explanation, write the code, press Check.
- Every test shows the expected output next to yours
- From hello world to a final project
- Progress saved in your browser or your account
1n = int(input())2total = sum(range(1, n + 1))3print(total * 2)
Expected
Total: 12
Your output
12
Expected
Total: 30
Your output
30
Build a web page and watch it change
Separate HTML, CSS and JavaScript tabs with a live preview. Errors and console.log show up in a console panel.
- Preview updates as you type
- Debug without opening DevTools
- A short web course to get started
<h1>Hello</h1> <button id="go">Go</button> <script> go.onclick = () => console.log("clicked") </script>
Hello
Go> clicked
Save it and send a link
Sign in to save your code. Anyone with the link can open it, run it, or save their own copy.
- Public, link-only or private
- Public code is listed on Explore
- Change visibility any time
- Programs that read input
- Type into the Input panel and your program gets it on stdin, like a judge or terminal would send it.
- Runs in a sandbox
- Your code compiles and runs on a remote sandbox, never on your machine. Output, time and memory come back in seconds.
- Copies of anyone's code
- Open a link, change what you like, and save your own copy. The original is never touched.
- Keyboard first
- Ctrl + Enter runs, Ctrl + S saves. Highlighting, bracket matching and autocomplete come with the editor.
FAQ
Questions people ask
Is WD Compiler free?
Yes. Running code, the lessons and saving your code are free. There is a daily limit on runs, and it is higher once you sign in.
Do I need an account to run code?
No. Pick a language and press Run. Sign in with Google or email only when you want to save code or keep lesson progress on every device.
Which languages can I run?
Python, JavaScript, TypeScript, C, C++, Java, C#, Go, Rust, PHP, Ruby, Kotlin, Swift, Dart, Scala, Haskell, Lua, Perl, R, Julia, Bash, SQL, Elixir, Zig, Nim, Crystal, OCaml, F#, Clojure and Groovy. There is also an HTML, CSS and JavaScript playground with a live preview.
Can my program read input?
Yes. Whatever you type into the Input panel is sent to your program on standard input, one value per line.
Who can see the code I save?
You choose. Public code is listed on Explore, link-only code is seen only by people you send the link to, and private code is seen only by you.
How do the lessons check my code?
When you press Check, your code runs against a set of tests. Each test shows the expected output next to yours, so you can see which line is off.
Your next program is one click away
No sign-up needed. Pick a language, or follow a course from the first line.