Browser extensions and other uses:
- A bookmarklet (drag it to your bookmarks) by Ichiro Hiroshi to see all scripts used on the page,
- Chrome: jsbeautify-for-chrome by Tom Rix,
- Chrome: Pretty Beautiful JavaScript by Will McSweeney,
- Chrome: Quick source viewer by Tomi Mickelsson (github, blog),
- Firefox: Javascript deminifier by Ben Murphy,
to be used together with the firebug (github),
- Safari: Safari extension by Sandro Padin,
- Opera: Readable JavaScript (github) by Dither,
- Opera: Source extension by Deathamns,
- vim: sourcebeautify.vim, a plugin by michalliu (requires node.js, V8, SpiderMonkey or cscript js engine),
- vim: vim-jsbeautify, a plugin by Maksim Ryzhikov (node.js or V8 required),
- Fiddler proxy: JavaScript Formatter addon,
- gEdit tips by Fabio Nagao,
- Akelpad extension by Infocatcher,
- Beautifier in Emacs write-up by Seth Mason,
- Cloud9, a lovely IDE running in a browser, working in the node/cloud, uses jsbeautifier (github),
- Shrinker, a non-free JavaScript packer for Mac. I haven't used it, so I have no idea if it's any good,
- REST Console, a request debugging tool for Chrome, beautifies JSON responses (github),
- mitmproxy, a nifty SSL-capable HTTP proxy, provides pretty javascript responses (github).
- wakanda, a neat IDE for web and mobile applications has a Beautifier extension (github).
- Burp Suite now has a beautfier extension, thanks to Soroush Dalili,
- Netbeans jsbeautify plugin by Drew Hamlett (github).
- Doing anything interesting? Write me to einar@jsbeautifier.org and I'll include your link.
Written by Einar Lielmanis, einar@jsbeautifier.org, Python version flourished by Stefano Sanfilippo. We use the wonderful CodeMirror syntax highlighting editor, written by Marijn Haverbeke.
Made with a great help of Jason Diamond, Patrick Hof, Nochum Sossonko, Andreas Schneider, Dave Vasilevsky, Vital Batmanov, Ron Baldwin, Gabriel Harrison, Chris J. Shull, Mathias Bynens, Vittorio Gambaletta and others.
Run the tests