Write JavaScript, press Run, and read the output in the console beside it. Objects, arrays, Maps and Sets print in a readable form, and errors show their message and line number. The code runs in a sandbox inside your browser with no access to this site or the network, so it is a safe place to try out logic, array methods or a snippet you found online.
Press Run to start.
Your code runs in a locked-down frame in your browser: it cannot read this site, your cookies or other tabs, and it has no network access, so fetch() and external files are blocked. Nothing is uploaded or saved; download the .html to keep your work.
Console that prints console.log, info, warn, error and console.table data
Readable output for objects, arrays, Maps, Sets, Dates and errors
Uncaught errors and rejected promises reported with their message
Run with the button or Ctrl + Enter; optional run-as-you-type
A small page frame for code that touches document.body
No network access and no access to this site, by design
Write and test solutions to array, string and recursion problems and check the output with console.log, without opening an IDE.
Try what Array.prototype.sort does with numbers, how toLocaleString formats rupees, or how Date parses a string, in a few lines.
Paste code from a blog or an AI answer and see what it prints. The sandbox stops it from reading your data or calling any server.
Code that never finishes, such as while (true) {}, can freeze the tab. That is why this page waits for you to press Run instead of running as you type. Reload the page if it stops responding.
HTML, CSS and JS Playground
Write HTML, CSS and JavaScript and see the result live, with a console
JavaScript Minifier
Minify JavaScript to reduce file size
JSON Formatter
Format and validate JSON
Regex Tester
Test regular expressions
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.