Question

I have some JavaScript code which I want to make more readable. However, due to the amount of code I want to use a tool which does this automatically for me.

  • Are there such tools already available or do I have to manually perform some "find/replace-alls"?

The code which I want to convert is written on a single line without spaces.

Was it helpful?

Solution

Quick search found http://jsbeautifier.org/ which seems to do what you are looking for online.
Search terms: javascript beautifier

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top