Minify Code Tool
minify_codeMinify or beautify JS, CSS, HTML, SVG, JSON or XML text. Set type=auto to sniff the language. The code is only parsed and re-printed — never executed and never stored. Rate limit: 30 calls/min per IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Source code to transform. | |
| mode | No | Default minify. | |
| type | Yes | Source language, or 'auto' to sniff. | |
| keep_license | No | Preserve /*! ... */ license comments when minifying. |