What is JSFiddle?
JSFiddle is an online code editor for testing small pieces of web code. The page is split into panels: one for HTML, one for CSS, one for JavaScript, and a result panel that shows what your code does when you press Run. You can save your work as a fiddle, share the link, fork someone else's fiddle to try a change, or embed a fiddle in a blog post or docs page.
JSFiddle started in 2009 as MooShell, a small tool by Piotr Zalewa for the MooTools community, and became JSFiddle in 2010 when it opened up to every framework. Oskar Krawczyk, its co-creator and CEO, runs it today. It has boilerplates for React, Vue, Preact, TypeScript, Tailwind, SCSS and Bootstrap, and it runs entirely in the browser. The site is paid for by ads, and JSFiddle PRO is an optional subscription. A beta assistant called Fiddler AI is an optional extra that only works if you add your own API key.
Main Features
- Separate HTML, CSS, JavaScript and result panels
- Boilerplates for React, Vue, Preact, TypeScript, Tailwind and more
- Saved versions, so you can compare and restore earlier code
- Fork any fiddle to try your own changes
- A console inside the editor for logs and errors
- Embeds for websites and blogs, with light and dark themes
- Live collaboration on the same fiddle
- Small extra tools such as a colour palette generator
How to Get Started with JSFiddle
- Open jsfiddle.net in your browser.
- Pick a boilerplate or start with an empty fiddle.
- Write your HTML, CSS and JavaScript in their panels.
- Press Run to see the result.
- Save the fiddle and share or embed the link.
JSFiddle Pricing
JSFiddle is free to use, with ads. You can write, run, save and share fiddles without paying, and recent fiddles are kept even if you are not logged in. JSFiddle PRO costs 8 euros a month, or 80 euros paid once for a year. It turns off all ads in the editor and listing pages, and adds private fiddles, fiddle collections, Fiddle Pages to host fiddles on your own domain, and early access to new features.
Who Should Use It?
- Web developers testing a quick idea
- Students learning HTML, CSS and JavaScript
- Developers sharing a bug report or a test case
- People answering coding questions online
- Teams running live coding interviews
- Library makers who want a live demo
JSFiddle Alternatives
- CodePen is a front end playground with a big community of public pens to browse and learn from.
- Regex101 is a free tester for regular expressions that explains each part of your pattern.
- MDN Web Docs is the reference for HTML, CSS and JavaScript, with examples you can run on the page.
Frequently Asked Questions
Is JSFiddle free?
Yes. Writing, running, saving and sharing fiddles is free, with ads. JSFiddle PRO is an optional paid plan that removes ads and adds private fiddles and custom domains.
Do I need an account to use JSFiddle?
No. You can write, run and save fiddles without logging in. A free account keeps your fiddles in one place, and some features, like setting a base version, need one.
How much is JSFiddle PRO?
It costs 8 euros a month, or 80 euros paid once for one year, when we checked.
Does JSFiddle use AI?
Only as an optional extra. Fiddler AI is a beta assistant that needs your own API key. The editor works fully without it.
Who made JSFiddle?
Piotr Zalewa created it in 2009 as MooShell, and Oskar Krawczyk joined soon after. Oskar runs JSFiddle today as its CEO.
