Code playgroundWrite it, run it, see what it prints
An editor and a real interpreter, side by side. Pick a language, write some code, press Run, and see its output, its errors and its exit code a moment later.
Your code runs in a sandbox on our servers with the language's standard library, for up to 10 seconds a run. It is free, and you do not need an account.
Building a web page instead? The HTML, CSS and JS editor shows your page as you type, right in your browser.

Gizmo
From the Pinboard
Languages
Python playground
Write and run Python 3 online. A free Python compiler in your browser, with input() support, clear error messages and nothing to install or sign up for.
Open the editorNode.jsJavaScript playground
Write and run JavaScript online with Node.js. A free JavaScript compiler in your browser: see console.log output and errors, with nothing to sign up for.
Open the editorTypeScript on Node.js 22TypeScript playground
Write and run TypeScript online with Node.js. A free TypeScript compiler in your browser: see console.log output and errors, with nothing to sign up for.
Open the editorSQLite 3.37SQL playground
Write and run SQL online with SQLite. Create tables, insert rows and query them in your browser, with results shown as tables. Free, with no sign-up.
Open the editorBash 5.1Bash playground
Write and run Bash scripts online. A free shell in your browser with grep, sed, awk and the usual Unix tools, and input you can read. No sign-up needed.
Open the editorGCC 11.4, C17C playground
Write, compile and run C online with GCC. A free C compiler in your browser, with scanf input, compiler errors and warnings shown, and no sign-up needed.
Open the editorGCC 11.4, C++20C++ playground
Write, compile and run C++ online with GCC and C++20. A free C++ compiler in your browser, with cin input and compiler errors shown. No sign-up needed.
Open the editorGo 1.27Go playground
Write, compile and run Go online. A free Go (Golang) compiler in your browser with the full standard library, input you can read, and no sign-up needed.
Open the editorRust 1.98, edition 2024Rust playground
Write, compile and run Rust online. A free Rust compiler in your browser, with the borrow checker's full error messages, input you can read and no sign-up.
Open the editorJava 25 (OpenJDK)Java playground
Write, compile and run Java online with Java 25. A free Java compiler in your browser, with Scanner input and compiler errors shown. No sign-up needed.
Open the editorC# 14, .NET 10C# playground
Write, compile and run C# online with .NET 10. A free C# compiler in your browser, with Console input and compiler errors shown. No sign-up needed.
Open the editorRuby 3.0Ruby playground
Write and run Ruby online. A free Ruby compiler in your browser: see what puts prints and every error, read input with gets, and no sign-up needed.
Open the editorPHP 8.1PHP playground
Write and run PHP online. A free PHP compiler in your browser: see what echo prints, every warning and error with its line number, and no sign-up.
Open the editorLua 5.4Lua playground
Write and run Lua online with Lua 5.4. A free Lua compiler in your browser: see what print shows and every error, read input with io.read. No sign-up.
Open the editorR 4.1R playground
Write and run R code online with base R 4.1. A free R compiler in your browser for vectors, data frames and statistics, with no install or sign-up.
Open the editorDart 3.13Dart playground
Write and run Dart online with Dart 3. A free Dart compiler in your browser: see what print shows and every error, read input from stdin, no sign-up.
Open the editorSwift 6.4Swift playground
Write, compile and run Swift online with Swift 6. A free Swift compiler in your browser, with Foundation, readLine() input and compiler errors. No sign-up.
Open the editorRuns in your browserHTML, CSS and JS editor
Write HTML, CSS and JavaScript online and watch the preview update as you type. A free live HTML editor with a console, in your browser, with no sign-up.
Open the editor