Archive

Archive for August, 2010

JavaScript Beautifier

August 26, 2010 3 comments

I’m constantly looking at bits of JavaScript that have been minified, or JSON packets that are all on one line, etc. and wondering how I’m supposed to make any sense of them. The latter example is the most common at the moment – hitting a URL and then examining what came back in the awesome Fiddler.

It finally occurred to me to look for a site that you can paste some JS gibberish into, click a button and have it laid out nicely:

http://jsbeautifier.org/

I tried it, immediately bookmarked it, and was so overjoyed to know it exists and does exactly what I want, I had to donate. I think it’s the fastest donation I’ve ever made to anything. It literally took about 30 seconds from finding the site to going to Paypal.

Categories: Uncategorized Tags: