Convert SVG markup into valid JSX with this browser-based editor, which accepts pasted code or uploaded files.
HTML-Minifier
Minify web page markup with HTML-Minifier, a configurable and tested successor to HTML Minifier.

About HTML-Minifier
HTML Minifier Next is a JavaScript tool that minifies HTML pages, including embedded CSS, JavaScript, and SVG. It can be run from the command line for files, directories, and piped input, or installed as a development dependency for programmatic use.
It is ESM-only and requires Node.js 22.13 or later. It is largely compatible with HTML Minifier and HTML Minifier Terser, but is not fully drop-in, so existing configurations may need migration changes.
Key features
- Minifies HTML plus embedded CSS, JavaScript, and SVG
- Command-line interface for single files, directories, and STDIN/STDOUT
- Zero-config mode minifies HTML files in place in current folder
- Conservative and comprehensive preset configurations
- JSON configuration file with command-line overrides
- Multi-threaded processing with configurable worker count
- Handles HTML, embedded CSS, JavaScript, and SVG in one tool
- Offers both command-line and programmatic use
- Provides presets, config file, dry-run and verbose reporting options
- Requires Node.js 22.13 or later and is ESM-only
- Not fully drop-in compatible with HTML Minifier and HTML Minifier Terser
- Automatic config file detection only checks the current working directory
HTML-Minifier at a glance
- Category
- Development › Web Development
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Yes · Source code
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
HTML-Minifier alternatives
Tools and sites you could use instead, ranked by how closely they match.
Convert data between formats such as SVG, JSX, JSON, schemas, and programming language structures with Transform.
The page exposes SVG editing controls for adding and adjusting shapes, text, paths, and other elements.
Generate static sites from HTML, Markdown, JavaScript, and other templates with Eleventy.
Run PHP code concurrently by forking work into child processes with the Spatie Fork package.
Extend the bat command-line viewer with scripts for searching files and reading manual pages.
Popular in Web Development
Well-known listings from the same topic.
HTML-Minifier FAQ
What are the requirements to install it?
How do I use it without configuration?
Is it compatible with HTML Minifier?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.











