Developer
JavaScript Minifier
Lightly minify JavaScript snippets by removing comments and whitespace.
About this javascript minifier
Minify small JavaScript snippets for embeds, demos, and quick experiments without sending code to a server.
Mavis Tools is built for quick utility work: paste the input, get the result, and move on. The page is static-first for speed, and the interactive work happens in your browser. That makes it useful for drafts, calculations, debugging snippets, and repeat everyday tasks.
This tool is intentionally focused. It does one job clearly instead of asking for an account or hiding the result behind a long workflow. Bookmark it if you need a fast javascript minifier that works on desktop and mobile.
FAQ
Is this production-grade minification?
No. It is a lightweight snippet minifier and does not parse JavaScript ASTs.
Can it break complex code?
Yes. For production bundles, use a real bundler or minifier.
Does it run the code?
No. It only transforms text.