Minify Tools
Shrink code and assets for production — minify JavaScript, CSS, HTML, JSON and XML before gzip or CDN deploy.
- Shrink JS, CSS, HTML and JSON bundles before CDN or gzip deploy.
- Minify SVG, SQL, YAML and TOML without uploading source to a server.
- Pair with beautify or unminify tools when you need the reverse path.
Minify JS
Shrink JavaScript bundles before CDN deploy—Terser-backed minification never leaves your tab.
Minify CSS
Compress CSS with CSO/CSSO trimming comments and redundancy while respecting cascade semantics.
Minify JSON
Ship compact JSON payloads and logs—ideal when APIs must stay slim without another backend hop.
Minify HTML
Tighten HTML documents for quicker first paint yet keep inline CSS/JS and structured snippets stable.
Minify XML
Lighten RSS envelopes, SOAP chunks, multilingual sitemaps and configs while CDATA survives intact.
Minify SVG
Cull editor metadata and pointless precision from SVG so icons arrive crisp on every breakpoint.
Minify SQL
Compress SQL queries for production — strip comments and whitespace while preserving string literals.
Minify YAML
Compress YAML configs for K8s, CI/CD and Docker Compose — optional comment preservation.
Minify TOML
Compress TOML configs for Cargo.toml and pyproject.toml — optional comment preservation.
Guides

How to Minify HTML: Complete Guide for Faster Pages
Learn HTML minification: remove comments, whitespace, optional attributes and shrink pages 15–40%. CLI tools, build plugins, and online minifiers.

JSON Minification Guide — APIs, Config Files & Express
Minify JSON for APIs and config files: JavaScript, Python and jq examples, Express middleware, and when minification beats pretty-printing in production.

CSS Minification Guide: Optimization and Web Performance
Master CSS minification with CSSO and PurifyCSS. Advanced techniques, Webpack integration and performance optimization for ultra-fast websites.