Pretty format HTML

Privacy friendly: This tool runs locally in your browser. Your input is not uploaded, stored, logged, or shared.

HTML formatter and minifier

Use this HTML formatter to make markup easier to read, or minify HTML into a compact version for embedding and testing. It is useful for cleaning copied markup, reviewing generated templates, and debugging nested HTML structures.

HTML formatting and minification run locally in your browser, so markup stays private.