HTML formatter and minifier
Beautify messy HTML or minify it for production.
Paste code to start. Errors show the line and column.
- 1Paste HTML.
- 2Beautify it, or minify it.
- 3Copy or download the result.
- Does my data leave my device?
- No. Everything you paste or open is processed in your browser and stays on your device.
- Does it work offline?
- Yes. Once this page has loaded, it keeps working without an internet connection.
- Is there a size limit?
- No limits from us. Very large inputs can be slow because the work uses your device's memory.
Related tasks
Ready-made settings for common jobs.
Other tools
More tools for everyday coding.