Possible Duplicate:
Online Tool to Unminify / Decompress JavaScript
Tool to reverse Javascript minify?
Is there a way to convert minified JavaScript code into normal?
To minify JavaScript, try UglifyJS. The Closure Compiler is also very effective. You can create a build process that uses these tools to minify and rename the development files and save them to a production directory.
You can't unminify a minified file. Minification is a desctructive operation and involves loss of information. For example, if you have a function with a descriptive name, after minifcation that name will be substitute with a meaningless one.
Go to minifycode.com and click the CSS minifier tab. Then paste the CSS code into the input box and click the Minify CSS button. After the new minified code is generated, copy the code. Then go back to the css file of your website and replace the code with the new minified version.
http://jsbeautifier.org/ works like a charm.
Most software distributed under the GPL license will also provide non-minified code.
I use WebStorm by JetBrains for my Javascript IDE, it has auto-format which seems to do the trick pretty well.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With