A simple playground to write, run, and test JavaScript snippets, with an in-UI console. Built for quick experiments, debugging, learning, testing ideas, and working with JavaScript without needing a full development environment. This tool is offline by design, providing a robust JavaScript playground directly within Chrome.
This idea came while I was preparing for a JavaScript interview.
There are plenty of online JavaScript playgrounds, but I found them surprisingly distracting—you open the browser to code, and the internet is right there to pull your attention elsewhere. Offline editors, on the other hand, often feel like full-blown IDEs when all I wanted was something simple.
So I built Offline JavaScript Playground: a focused JavaScript editor and runner that works entirely offline. No Node.js, no VS Code, no npm, no setup - just open it and start experimenting with JavaScript.
It’s intentionally lightweight and built with **pure JavaScript, without frameworks**.
The goal is simple: **open → write JavaScript → run → learn.** 🚀
Report
u said under 2mb zipped and no node server, chrome just runs the js. do snippets survive a browser restart or does it open empty every time
@niveditha_patluri1 Hi, That's a good question. Yup it survives the browser restart and full computer restart as well. Files live in chrome storage. However uninstall of extension will erase all the snippets. For that I have added export option as well. You can export the whole snippets in one go and import back as well. Nothing is lost. You can also individually download the snippets. Do give it a try yourself :) - https://chromewebstore.google.com/detail/jdgjodfmnklgkggkflehfkmmmjhgmdom?utm_source=item-share-cb
Report
Cool I like the idea of keeping experiments separate from the IDE... will you eventually expand into lightweight environment for more serious debugging too?
@harini_mukesh Thanks for the feedback. But I didn't get that. It is already lightweight. <2 MB zipped. Moreover, it uses chrome itself to run Javascript. No inbuilt node server. If you are talking about step by step debugger, then its a good recommendation. I can add that in updates.
Congrats on the launch, Suman! "Offline by design" is a smart reframe, everyone else treats offline as a limitation and you turned it into the whole point. Distraction is the real competitor here, not other editors.
@elene_tandashvili Thanks Elene for the feedback. That was the goal, something I needed to be distraction free, learn and practice Javascript. And guess what, as a bonus, it also has capabilities to format, read, fiddle around with large JSON files. No need to install an IDE, installing Node JS etc.
Offline JS Playground
u said under 2mb zipped and no node server, chrome just runs the js. do snippets survive a browser restart or does it open empty every time
Offline JS Playground
@niveditha_patluri1 Hi, That's a good question. Yup it survives the browser restart and full computer restart as well. Files live in chrome storage. However uninstall of extension will erase all the snippets. For that I have added export option as well. You can export the whole snippets in one go and import back as well. Nothing is lost. You can also individually download the snippets.
Do give it a try yourself :) - https://chromewebstore.google.com/detail/jdgjodfmnklgkggkflehfkmmmjhgmdom?utm_source=item-share-cb
Cool I like the idea of keeping experiments separate from the IDE... will you eventually expand into lightweight environment for more serious debugging too?
Offline JS Playground
@harini_mukesh Thanks for the feedback. But I didn't get that. It is already lightweight. <2 MB zipped. Moreover, it uses chrome itself to run Javascript. No inbuilt node server.
If you are talking about step by step debugger, then its a good recommendation. I can add that in updates.
STORI
Congrats on the launch, Suman! "Offline by design" is a smart reframe, everyone else treats offline as a limitation and you turned it into the whole point. Distraction is the real competitor here, not other editors.
Offline JS Playground
@elene_tandashvili Thanks Elene for the feedback. That was the goal, something I needed to be distraction free, learn and practice Javascript. And guess what, as a bonus, it also has capabilities to format, read, fiddle around with large JSON files. No need to install an IDE, installing Node JS etc.