Beautify, unpack or deobfuscate JavaScript and HTML, make JSON/JSONP readable, etc.

All of the source code is completely free and open, available on GitHub under MIT licence,
and we have a command-line version, python library and a node package as well.




HTML <style>, <script> formatting:











Use a simple textarea for code input?
// This is just a sample script. Paste your real code (javascript or HTML) here.
1
// This is just a sample script. Paste your real code (javascript or HTML) here.
2
 
3
if ('this_is'==/an_example/){of_beautifer();}else{var a=b?(c%d):e[f];}
 
Flattr

Browser extensions and other uses:

Written by Einar Lielmanis, einar@jsbeautifier.org, maintained and evolved by Liam Newman.

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, Stefano Sanfilippo and Daniel Stockman.

Run the tests

This page is a snapshot of ZeroNet. Start your own ZeroNet for complete experience. Learn More