redtools.

HTML Formatter

Indent HTML with the Prettier formatter.

  • Free
  • No sign-up
  • Runs in your browser

How to use HTML Formatter

HTML Formatter: Input. Press Format, review the result and stated limits, then copy or download. Nothing runs automatically.

Formula and assumptions

Indent HTML with the Prettier formatter. Input is not executed as code.

Example

Example input: <main><h1>Hello</h1><p>Asha &amp; Bo</p></main>. The editable workspace demonstrates the selected transformation. Example output: <main> <h1>Hello</h1> <p>Asha &amp; Bo</p> </main>

Limits and output

HTML validator reports parser diagnostics, not full W3C conformance. Minification preserves text whitespace and only removes comments. No scripts are executed. Maximum 200,000 UTF-8 input bytes per field and 1 MB output. Processing can be cancelled.

Sources and review

Tool methods reviewed 7 October 2026. Read the stated input and output limits.

Good to know

RedTools is an early version of an everyday utility workspace. Image, text, calculation, and developer inputs are processed in your browser.

Your favorites, recently used tool IDs, and theme choice are stored on this device. Tool inputs are not automatically saved. Invoice drafts are saved on this device only when you choose Save draft locally. Hosting can receive ordinary page requests; this app includes no analytics.

Image and PDF tools, including compression and conversion, run locally in your browser.

Icons: Solar by 480 Design · CC BY 4.0. Components: Be UI and shadcn/ui.

↑↓ to move · Enter to open · Esc to close