{·}CodeTidyLab

◇HTML

Practical guide ⓘ

HTML Formatter, Minifier and Preview

Format or minify HTML, inspect an isolated preview, extract links and convert to Markdown. Your documents are processed locally in the browser.

Format an HTML structure before reviewing it. Link extraction produces a list of anchor text and addresses. Markdown conversion is useful for written content such as headings, paragraphs and lists, subject to the elements that Markdown can represent.

How it works

This HTML tool makes your data easier to read and transform. Explore the actions with an example, then import your file. Always review results before using them in production.

  1. Paste text or import a file.
  2. Choose an action and adjust the options.
  3. Review the result, then copy or export.

Things to know

The preview shows sanitized HTML in a sandbox. Scripts, supplied styles, forms, active links and external resources are blocked.

Limit: 2 MB per input to keep the interface responsive.

Your documents are processed in your browser. Theme, language and privacy choices may be saved on this device. Statistics and advertising have separate consent choices.

Previews block scripts, forms and network resources.

Frequently asked questions

Does the HTML preview run JavaScript?

The preview displays sanitized HTML in a sandbox. Scripts, forms, supplied styles and network resources are blocked. It helps you inspect content without executing a complete web application.

Document example

<article><h1>CodeTidyLab</h1><p>Hello.</p></article>
Advertisement · reserved space
Advertisement · reserved space
RawHTML
◈ 100% in your browser
⋯
108 bytes1 lines
HTML
Edit the formatted document, then transfer it to raw.
FormattedHTML
⋯
0 bytes1 linesUTF-8
Ready
⌘ ↵◈ 100% in your browser
Advertisement · reserved space