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?

Browser extensions and other uses

Doing anything interesting? Write us to team@jsbeautifier.org so we can add your project to the list.

Written by Einar Lielmanis, 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