Free Online JavaScript Minifier

Tech · JavaScript

Free online JavaScript minifier. Compress JS locally in your browser to shrink payloads - private and free.

Input
Output
Click the arrow to minify

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

  1. Paste your JavaScript (or click Sample).
  2. Run Minify to compress whitespace locally.
  3. Copy the smaller output for embedding or transfer.
  4. 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.

Related tools