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


Was this page helpful?