JS, CSS & JSON Minifier

Strip whitespace, comments, and unnecessary characters from JavaScript, CSS, or JSON. Variable and function names are left untouched so the output stays predictable and safe to drop into another script.

FAQ

Does this rename variables and functions?

No. Only whitespace, comments, and redundant syntax are removed — identifiers are left as-is so the output still works if other code references those names by string (event handlers, test mocks, global lookups).

Why did JSON minification fail?

JSON minification works by parsing and re-serializing the input, so it needs to be valid JSON first — the error message shows exactly where parsing failed (trailing commas and unquoted keys are the usual culprits).

Is my code uploaded anywhere?

No. Minification runs entirely in your browser (compiled to WebAssembly) — nothing is sent to a server.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.