Code Minifier
Developer ToolsMinify CSS & HTML code
Embed this tool on your websiteFree
- Choose how tall the frame should be.
- Press Copy code.
- Paste it into your page, blog, WordPress or Notion HTML block.
The tool runs inside your visitor's browser, nothing is uploaded, and a small "Powered by ToolCloak" line stays under it. The second line (script) is optional: it makes the frame fit the tool's height.
Similar tools you may like
History
All history →Code Minifier — at a glance
Make CSS and HTML files smaller by removing spaces, comments and line breaks — so your site loads faster.
How to use it — step by step
Paste your code, minify, then use the small version on your live website.
Pick CSS or HTML
Choose the type of code you are pasting.
Paste code
Put your full code in the input box.
Minify
See the compressed code and size comparison.
Copy
Use the minified code on your live site.
Pro tips
Small things that make the result better.
Quick facts
Frequently Asked Questions
Does minifying change how my site looks?+
No. It only removes characters the browser does not need.
Can I get my original code back?+
Not automatically — keep a copy of the original.
Is my data safe?+
Yes. Everything runs inside your own browser. Your text, files and images are never uploaded to any server.

