DEVELOPER TOOL / 75
Minify the code.
Ship fewer bytes.
Remove comments and unnecessary whitespace from JSON, HTML, CSS, or JavaScript locally before you paste it into a project or CMS.
Code minifier
Local minification
JSON is parsed and re-serialized. HTML, CSS, and JavaScript use lightweight browser-safe minification; review output in your build or test process before publishing.
Advertisement
QUICK ANSWERS
Will my code leave this page?
No. The minifier operates on the text in this browser tab and creates no server request.
Why did JSON show an error?
JSON must be valid before it can be minified. Check commas, quotes, braces, and trailing commas.