Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Developer Utilities

HTML to Markdown

Turn HTML into readable Markdown for docs, wikis, and migration work. Handles headings, paragraphs, ordered and unordered lists, bold/italic/strikethrough, links (inline or reference style), images, fenced code blocks, blockquotes, horizontal rules, and line breaks. Inline style blocks and scripts are dropped, and entities are decoded — all client-side, so nothing leaves the browser.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

What comes out of the converter

Paste HTML and get back Markdown: headings, paragraphs, ordered and unordered lists, bold, italic and strikethrough emphasis, links, images, fenced code blocks, blockquotes, horizontal rules and line breaks. HTML entities are decoded to their characters, and unsupported elements fall back to their plain text.

Pulling an article into a docs repo

The common case is moving content out of a CMS or a rendered page and into Markdown for a wiki, a README or a static site. Copy the page source, paste it here, and the body comes out ready to commit instead of hand-stripped tag by tag.

Two options that change the shape

Link style decides how anchors are written: inline gives the usual bracketed text followed by the url, reference collects each unique url into a numbered footer list and leaves a short marker in the text, and text only keeps the anchor text and drops urls entirely. Heading style chooses ATX hashes or the setext underline form.

It converts content, not layout

Attributes such as class and id are discarded, script and style blocks, head content and HTML comments are removed outright, and anything the converter does not recognise is reduced to its text. Tables become plain pipe-separated text. One deliberate limit: the input must stay under 200,000 characters, so very large pages need to be trimmed first.

Handled in the browser, top to bottom

The HTML is parsed and rewritten entirely client-side. Nothing is sent to a server, no page is fetched on your behalf, and the converter keeps working offline, so internal or unlisted markup can be converted without exposing it.

Questions

Is it lossy?

It targets content, not layout. Attributes like class and id are dropped, and unsupported elements fall back to their text content. Tables are converted to a plain table using pipe separators.

What about script and style blocks?

Both are removed entirely, along with HTML comments, so the result stays clean and focused on the visible content.

How are links handled?

Inline style produces [text](url). Reference style collects unique urls into numbered references at the end, which keeps long urls out of the text. Text-only drops urls and keeps the anchor text.

Can I convert a whole page?

Yes, paste the whole document. Only the body-style content is used; <head>, script, style, and comments are ignored.

See category