OpenEdit

Minify JavaScript Online

Compress a JavaScript file for production, or format a minified one so you can actually read it.

Drop your file here

Supports JS, MJS, TS · processed locally

How to use the JavaScript Minifier

  1. 1Open or paste your JavaScript.
  2. 2Minify or beautify.
  3. 3Review the output.
  4. 4Copy or export.

Features

  • Minify and beautify in one editor
  • Size before and after
  • Keeps syntax valid
  • Works offline
  • 100% client-side — your file never leaves your device

Frequently asked questions

Related tools