Small tasks. A little easier.126 tools · No account required

Find your next tool

Search all 126 tools and their practical guides.

SEO & websites tools

JavaScript Minifier

Minify JavaScript with Terser and catch syntax errors.

Guide & tutorial
Your workspaceProcessed in your browser

Loading workspace…

How to use javascript minifier

  1. Paste JavaScript source without script tags into Source code.
  2. Choose Minify code for input within 250,000 UTF-8 bytes.
  3. Inspect the Terser output and test it in the intended application.

Work through an example

Use Terser on a small code block, inspect constant folding, and test the output in its real application.

Minify JavaScript with compression while keeping a readable source →

Formats, privacy, and practical limits

This tool processes the values you enter in your browser. No account or upload to ERITHRA is required.

Files and generated results exist only for this tab session. Download any result you want to keep before leaving the page. Browsers may use temporary memory or disk cache while processing.

Frequently asked questions

Is the submitted JavaScript executed?

No. The tool parses and transforms source text with Terser; the returned result is code rather than its runtime output.

Can local variable names change?

Yes. Compression and name mangling are enabled, so local names and expressions can change. Keep the readable original and test the result.

Keep things moving

All seo & websites tools