HTML Formatter
Beautifies HTML with consistent indentation, including inline CSS and JavaScript.
Write Markdown and see it rendered as you type, with GitHub-style tables, task lists, and code blocks. Copy the HTML or download your document.
.md file..md or .html file.Markdown is converted to HTML with marked, following CommonMark and GitHub Flavored Markdown (GFM).
- [x]), strikethrough (~~text~~), and automatic links.## Install becomes <h2>Install</h2>.**bold** and _italic_ becomes <strong>bold</strong> and <em>italic</em>.[Utilza](https://utilza.app) becomes a link.| Tool | Runs in | |------|---------| | JSON | Browser |becomes an HTML table with a header row.
- [x] Write docs becomes a ticked checkbox list item.| You type | You get |
|---|---|
# Title to ###### Title | Headings, level 1 to 6 |
**bold** | Bold |
*italic* or _italic_ | Italic |
`code` | Inline code |
```js ... ``` | Code block |
- item or 1. item | Bulleted or numbered list |
> quote | Blockquote |
[text](url) | Link |
 | Image |
--- | Horizontal rule |
$...$), Mermaid diagrams, footnotes, and GitHub's > [!NOTE] alerts are shown as plain text..md file before closing the page.It follows GitHub Flavored Markdown: tables, task lists, strikethrough, and autolinks all work. GitHub-only extras such as alerts, Mermaid, and math are not rendered.
It is sanitized with DOMPurify, so scripts and event handlers are removed. Your site may still apply its own rules for allowed tags.
Yes. Simple HTML such as <br>, <kbd>, or <details> is kept. Anything that could run code is removed.
No. It is converted in your browser, and nothing is stored.
Often used together with the Markdown Preview.
Beautifies HTML with consistent indentation, including inline CSS and JavaScript.
Turns HTML markup into a YAML tree of elements, attributes, and text.
GitHub-flavored Markdown to formatted HTML code.