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
Strip comments, whitespace and metadata elements from SVG — a light in-browser minify, not path or precision rewrite.
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

XML Minification Guide: Sitemaps, RSS, Configs
Minify XML for sitemaps, RSS/Atom and config files: strip spare whitespace, keep the document valid, and know CDATA and large-sitemap limits.

Optimize SVG for the Web: SVGO, Presets & Best Practices
SVG optimization guide: minify vs SVGO presets (safe, default, aggressive), clean Figma exports, and shrink icons 30–70% without visual loss for web teams.

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: CSSO, Unused CSS, Builds
How to minify CSS in 2026: CSSO (and friends), unused-CSS removal, Vite/Webpack, vs an online minifier. Honest limits before you chase bytes.

JavaScript Minification Guide — Terser and Webpack
How JS minification works: Terser setup, Webpack production config, tree-shaking notes, and when an online minifier is enough.