Don't miss out on the action at this year's Chrome Dev Summit, happening on Oct 23rd and 24th. Learn more.

Make JavaScript Look Pretty

When viewing a script in the Sources panel, click the Pretty-Print the pretty-print icon icon to transform a minified script into a more human-readable form.

Here is how a minified script might look in the Sources panel:

a minified script

Here is how the same script looks after clicking the Pretty-Print icon:

a minified script after pretty print