Minify code
Smaller files for faster pages.
- Free, no sign-up
- Nothing is uploaded
- No daily limit
or drop them here
. Stays on your device, never uploaded.
How to use Code minifier
Type or paste into the boxes on this page.
The result appears as you type, and changes when you do.
Press Code minifier, then copy or download the result.
What you get
- JavaScript through Terser
- CSS, HTML, JSON, XML, SQL
- Bytes before and after
What to know first
- Keep your original: minified code is hard to edit.
- It runs on your device: nothing you type is sent.
Need more? Full programs, right in your browser
Nothing to download or install: the program opens in this browser tab. Free, and your files stay on your device.
Questions
Is it safe for my JavaScript?
Terser is the minifier most build tools use. Test the result like any build.
Does it gzip?
No. Servers compress files when they send them.
Is my file uploaded?
No. The page loads the converter into your browser and your device does the work. Run a tool once, switch off the internet and run it again: it still works. The page’s security rules also stop it from connecting to any other site.
Is it free? Is there a limit?
Free, with no sign-up, no watermark and no daily limit. The limit is your device’s memory, because the work happens there.
People also use
More Codes and small tools
Make and read QR codes and barcodes, check a file’s hash, format JSON, make passwords, convert 3D files. Free, on your device.