المترجمات البرمجية عبر الإنترنت

اكتب الكود وشغّله بلغات C و C++ و Python و JavaScript و TypeScript و R و PHP و Ruby و Lua و SQL و Prolog و Scheme و Clojure و CoffeeScript، مجانًا وفورًا وبخصوصية. يعمل كل مترجم في متصفحك باستخدام WebAssembly، فلا يغادر كودك جهازك أبدًا.

How our online compilers work

Traditional online compilers send your code to a remote server, run it there and send the output back. Ours take a different approach: the language runtime itself (CPython, R, SWI-Prolog, the Ruby interpreter, PHP, Lua or SQLite compiled to WebAssembly, a complete Clang/LLVM toolchain that compiles C and C++ to WebAssembly, or your browser's own JavaScript engine) is downloaded once and runs inside a sandboxed Web Worker in your browser. That means instant re-runs, no queue, no account, and complete privacy: the code you write is never uploaded or stored on our servers.

What you can do

  • Learn a language and experiment with examples.
  • Test snippets, algorithms and regular expressions before using them in a project.
  • Practise SQL against a real SQLite database.
  • Teach and demo code without asking students to install anything.

Limitations

Because everything runs in a browser sandbox, programs cannot open network sockets, access your files or install system packages, and each run is limited by the time limit you choose. Compiled languages such as Java, C#, Go, Rust and C/C++ need a different kind of runtime and are coming later.

Looking for formatters instead? See all developer tools, including the JSON formatter and SQL formatter.

الأدلة

كل الأدلة

الأسئلة الشائعة

How do the online compilers run code?

They use WebAssembly builds of the real compilers and interpreters, so your code runs inside your browser rather than on a server.

Can programs read input?

Yes. Type standard input in the input box before you run the program.

Can I code together with someone?

Yes. Use Code together to open the same code in the collaborative editor and share the link.

تم النسخ إلى الحافظة