> codebench_TOOL: HomeLOCAL-ONLY⌘K Switch

HTML Formatter / Minifier

Tool guide

Format, beautify, and minify HTML

Input: This tool processes input in your browser. Check in Network (opens in a new tab)

Mode:
Indent:
Input
Output
Output will appear here

Format HTML with Prettier for consistent, beautiful markup or minify to reduce file size. Configurable 2/4-space indentation. Minifier removes comments and collapses whitespace. All processing runs in your browser.

Browse HTML tools

> codebench $Ctrl+Enter Run