JavaScript / TypeScript Playground
Write and run JavaScript or TypeScript with a live console.
About the JavaScript / TypeScript Playground
A browser-based editor that runs JavaScript or TypeScript instantly. TypeScript is transpiled locally, then the code executes inside a sandboxed iframe with console.log, warn, error and table captured into a timestamped console. Supports top-level await, an execution timeout for runaway loops, auto-run, and a view of the compiled JavaScript.
Popular uses
- javascript playground
- typescript playground
- js repl
- run javascript online
- code sandbox
- online compiler
Examples
TypeScript snippet
TypeScriptconst n: number = 40 + 2; console.log(n);Output
TypeScriptLOG 42Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Python Playground — Run Python Offline
Dev Utilities
Run real Python 3 in your browser with NumPy, Pandas, Matplotlib, scikit-learn and more.
SQL Playground & Query Runner
Dev Utilities
Write schema and seed SQL, then run queries against an in-memory database.
CSV Viewer & Editor
Converters
Open, edit, clean and export CSV files like a lightweight spreadsheet — rows, columns, stats and undo.
Online Notepad++
Text & String
A tabbed code and text editor with syntax colours, find and replace, and auto-save.
AAB (Android App Bundle) Analyzer
Dev Utilities
Open an .aab file and inspect its manifest, modules, ABIs, densities and size breakdown.
Android APK Analyzer & Explorer
Dev Utilities
Open an APK, decode its manifest and browse or download every file inside.
Frequently asked questions
Read more
- Run Python in your browser: an offline playground with NumPy, pandas and Matplotlib
Write and run real Python 3.12 in your browser with no install, no server and no sign-up. Use NumPy, pandas and Matplotlib, install pure-Python packages and keep code private.
- A JavaScript and TypeScript playground that runs in your tab
Run JavaScript and TypeScript instantly in your browser with syntax highlighting, formatting and console output. No Node.js, bundler or upload needed.
- Distraction-free fullscreen workspaces for code, data, design and documents
Use fullscreen mode in 25+ browser tools — editors, playgrounds, database viewers, diff tools, HAR and regex debuggers, SVG and image editors — as focused, private workspaces.
Version 1.0.0 · Updated 2026-08-17 · Runs entirely in your browser