HTML to Markdown Converter
Tables & codeBetaConvert HTML code or an .html file to Markdown with headings, lists, links, images, tables and code blocks kept. Runs in your browser, nothing is uploaded.
Files are not uploaded · processed in your browser
Up to 1,000,000 characters
Enter content or choose a file, then click “Convert to Markdown”.
How to use
- Paste HTML code, or open an .html / .htm file.
- Click “Convert to Markdown”.
- Check the result, then copy it or download it as a .md file.
Privacy
Files you choose and text you enter are processed in your browser. They are not uploaded to our servers and we do not store them. Some tools download the code or data they need (such as OCR language data) from this site the first time you use them.
Read the privacy policyFAQ
Is my HTML uploaded anywhere?
No. The conversion runs in your browser and your content never leaves your device.
Which tags are supported?
h1–h6, p, ul/ol/li, a, img, table, pre/code, blockquote, strong/em, del, br, hr and more. script, style, iframe and form controls are ignored; other tags keep only their text.
Is the pasted HTML executed?
No. The HTML is only parsed into a document structure: scripts do not run and external resources such as images are not loaded.
Why are there backslashes in the result?
Characters like *, _ and # have special meaning in Markdown, so they are escaped with a backslash to make them display exactly as in the original.
Are there size limits?
Up to 1,000,000 characters; files you open can be up to 8 MB.
Related tools
- Auto structure
Plain Text to Markdown
Turn plain text into Markdown, detecting paragraphs, lists, code, tables and headings.
Opens .txt files
- Headings
PDF to Markdown Converter
Turn PDF text into Markdown, detecting headings, paragraphs, lists and code blocks.
Up to 300 pages
- GFM
Markdown to HTML
Convert Markdown into a full HTML page or body HTML, with tables and task lists.
Copy or download .html
- 4 formats
Data Converter
Convert between CSV, Excel (xlsx), JSON and XML, with a table preview.
Keeps leading zeros