Shrink HTML by removing comments and extra spaces, which can help pages load a little faster. It runs in your browser, so nothing you enter is uploaded.
How to use it
- Paste or type your input in the box.
- The result appears below. Press Run if it does not update.
- Press Copy result and paste it where you need it.
Questions about this tool
Is minified HTML safe?
Usually yes, but test pages that use pre or textarea blocks because spacing matters there.