Minify HTML, CSS, and JavaScript to reduce file sizes and improve web performance. Supports all major web languages.
POST /v1/minify| Name | Type | Required | Description |
|---|---|---|---|
| code | string | Yes | Source code to minify |
| language | string | Yes | Language: html, css, or javascript |
curl -X POST "https://api.toolcenter.dev/v1/minify" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code": "body { margin: 0; padding: 0; }", "language": "css"}'
Optimize assets in CI/CD pipelines
Build online code minification tools
Reduce bundle sizes for web apps
Automate performance optimization workflows
500 free API calls per month. No credit card required.
Get Started Free