JavaScript Minifier
Basic JavaScript minification — removes comments and unnecessary whitespace. Use a real minifier (Terser, esbuild) for production.
What is JavaScript Minifier?
JavaScript minification reduces bundle size and parse time. This tool does basic whitespace and comment stripping. For production bundles, use Terser, esbuild, or SWC — they perform name mangling and dead-code elimination that produces dramatically smaller output (often 60-80% reduction).
Frequently asked questions
How does this compare to Terser?▼
Will this break my code?▼
Related tools
JWT Decoder
Decode JSON Web Tokens (JWT) instantly — inspect the header, payload, and signature claims. Runs entirely in your browser; tokens never leave your device. Safe for production secrets.
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Catches syntax errors with line numbers, pretty-prints with adjustable indent, supports large payloads. Runs in your browser — no upload.
XML Formatter & Beautifier
Format and beautify XML documents — proper indentation, line breaks, namespace handling. Useful for SOAP responses, sitemaps, RSS feeds, and Android resource files.
Base64 Encoder & Decoder
Encode and decode Base64 strings.
URL Encoder & Decoder
Encode/decode URL-safe strings.
HTML Entity Encoder & Decoder
Convert special characters to/from HTML entities.