Devtools Workbench

Code Minifier

Strip comments and whitespace from small JSON, CSS, HTML or JavaScript snippets.

Runs in your browser. Nothing you type is uploaded.

81 bytes

67 bytes17% smaller

JavaScript goes through terser, the minifier real build tools use, with renaming and compression off so the result still reads like your code. CSS and HTML only lose comments and extra whitespace.