Free online JavaScript minifier
Minify JavaScript online for free. Compress JS locally in your browser to shrink payloads for embedding or transfer - private, with nothing uploaded.
What you can do
Compress JS
Minify JavaScript online to shrink whitespace and reduce payload size - free in your browser.
Fast paste workflow
Paste formatted or beautified scripts, run Minify, copy the compact result.
Private by default
Compress JavaScript without uploading. Ideal for snippets that should stay on your device.
How to minify JavaScript online
- Paste your JavaScript (or click Sample).
- Run Minify to compress whitespace locally.
- Copy the smaller output for embedding or transfer.
- Need readability again? Use the free online JS Beautifier.
Frequently asked questions
Learn more
Related tools: JS Beautifier, JS Linter, JSON formatter.
Why minify JavaScript online locally?
Smaller scripts load faster and fit tighter embeds. A free online JavaScript minifier lets you compress snippets on your device without pasting source into an upload-based compressor - then beautify again when you need to read the code.