Skip to main content

JavaScript Minifier

Light JavaScript minifier that removes comments and extra whitespace.

Read the full guide: JavaScript Minifier: The Complete Guide

This is a lightweight minifier for quick trimming. For production builds, use a real bundler like esbuild or terser.

How to use this tool

  1. 1Paste JS.
  2. 2Click Minify.
  3. 3Copy the smaller output.

Related tools