Home » Clean up JavaScript and HTML code

?Screen Shot 2013-06-18 at 09.48.46As part of the new a new internal website I have recently started working with SharePoint 2013 in the cloud. This is proving to be an extremely powerful platform for development, however working with some of the existing JavaScript files presents a common issue. Upon downloading the file or viewing in Safari on my Mac the code is often garbled up, or displayed all on one line.

In order to get round this, I have located a pretty handy tool online called the JavaScript Beautifier, this is capable of formatting JavaScript, HTML, JSON and JSONP into a much cleaner/easier to read format.

Although I do not normally use automated code formatting tools, this one seems very powerful and offers a lot of control over its actions.

I am now on the hunt for others, especially for ASPX, which often gets chewed up during the download process.

Home » Clean up JavaScript and HTML code



Page 1 of 11

15 queries in 1.309 seconds.