Playground
Write and run code right in the browser. Your code is saved in this browser.
SQL
In browserSELECT Fname, Lname FROM EMPLOYEE WHERE Dno = 5;Query the COMPANY database from the textbook. Every run highlights the rows it changed.
SQLite (sql.js)HTML
In browser<h1>Hello</h1> <style>h1 { color: tomato }</style> <script>console.log("hi")</script>Write HTML, CSS and JavaScript in one file and watch the preview update as you type.
Sandboxed iframeJavaScript
In browserconst xs = [3, 1, 2] console.log(xs.toSorted()) // [ 1, 2, 3 ]Runs right in your browser, with console output and top-level await.
Web WorkerPython
In browsernums = [int(x) for x in input().split()] print(sum(nums))Real CPython inside your browser. The first run downloads the runtime (about 10 MB) once.
Pyodide (Python 3.14)C
Compiler Explorer#include <stdio.h> int main(void) { printf("Hello, C\n"); }Compiled with GCC and run. Put the program input in the stdin box first.
GCC 15.2 · Compiler ExplorerC++
Compiler Explorer#include <iostream> int main() { std::cout << "Hello, C++\n"; }Compiled with G++ and run, with the full C++20 standard library.
G++ 15.2 (C++20) · Compiler Explorer
C and C++ code is sent to Compiler Explorer (godbolt.org) to compile and run. Everything else runs inside your browser.