The #ChromeDevSummit site is live, happening Nov 12-13 in San Francisco, CA
Check it out for details and request an invite. We'll be diving deep into modern web tech & looking ahead to the platform's future.

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?