Skip to content

How To: Nicely format compressed and minified JavaScript in Chrome

I’ve just found a button that is full of complete win in Chrome.  For years I’ve struggled to debug problems in jQuery plugins and other people’s scripts that are served in compressed, minified form.  Not any more!

Before

Compressed and Minified jQuery

The Magical Pretty Print Button

Pretty Print

After

Uncompressed and readable jQuery