Code Minifier
Minify JavaScript, CSS, and HTML with byte-level savings.
Use from your agent
Streamable HTTP at https://benchline.fabwaseem.com/mcp. No key. The tool name is minify_code.
Related tools
- JSON formatterPretty-print, minify, and validate JSON, with the exact line and column when it fails.JSONMCPNew
- SVG optimizerMinify an SVG, compare the size, and keep the viewBox unless you turn that off.ImageMCPNew
- Page to MarkdownFetch a public page and turn the article into Markdown.AI searchMCPNew
- Markdown HTMLConvert Markdown to HTML, or HTML back to Markdown, with a live preview.MarkupMCPNew
How it works
Free code minifier. Shrink JavaScript with Terser and CSS with csso, plus a structural HTML pass that strips comments, collapses whitespace, and cleans redundant attributes. Toggle mangling, compression, and aggressive HTML options, then compare before/after byte counts and the savings percentage.
- 01
Pick a language
Switch between the JavaScript, CSS, and HTML tabs.
- 02
Tune the options
Turn mangling and compression on or off, pick the CSS optimization level, or enable aggressive HTML mode.
- 03
Copy the output
Read the before/after byte counts and the savings percentage, then copy or download the minified code.