Code Minifier & Diff
Shrink code, compare changes
Language
Minified
The minified code appears here.Questions
How do I minify JavaScript or CSS online?
Paste your code and pick JavaScript, CSS, HTML or JSON. The minified version appears with the number of bytes saved.
Is minified code safe to use?
Minifying only removes spaces and comments, so the code behaves the same. Keep your original file: minified code is hard to read and edit.
Can I see what was removed?
Yes. Switch the compare view to "What was removed" to see exactly what was taken out.