WD Compiler
Learn31 courses with checked exercises

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.

What you can do

Everything you need to write, learn and share code

One editor for quick experiments, homework and interview practice.

01

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
02

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
03

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.