HTML Minifier
Strip comments and collapse whitespace in HTML, leaving pre and script content intact.
curl -X POST https://sinikoding.dev/api/v1/html-minify \
-H 'content-type: application/json' \
-H 'x-api-key: tk_live_…' \
-d '{"input":"…"}'Need html minifier from your own code? Create a free account to get an API key. This page stays free without one.
Create account