HTML to Markdown
Paste HTML code or copy content straight from a web page, Google Docs or Word to get clean Markdown with headings, links, images, lists, tables and code.
How to convert HTML to Markdown
- Paste HTML code, open an .html file, or copy part of a web page, Google Doc or Word file and paste it straight in — the formatting is kept.
- Pick the heading style, list marker and code block style if you need to.
- Read the Markdown or tap "Preview" to check it, then copy it or download the .md file.
Frequently asked questions
Yes, that is the quickest way. When you paste, the tool takes the formatted copy (bold, italic, headings, links, tables) instead of plain text, so the Markdown keeps almost all of the layout.
Yes, into GitHub-style Markdown tables (with | between cells). Merged cells (colspan, rowspan) do not exist in Markdown, so only their content is kept.
Scripts, styles, fonts, colours, alignment and page layout have no Markdown form and are dropped; content and structure stay: headings, paragraphs, lists, links, images, tables, quotes and code.
Yes. The HTML is only read to convert it; no script ever runs, not even in the preview.
Yes, as . Images pasted from Google Docs often point to temporary Google links, so download them and change the address if you need them for long.
It is completely free and needs no sign-up.
Related tools
Markdown previewType Markdown, preview it live and get the HTMLHTML formatterBeautify HTML code with clean indentationUnix timestamp converterTimestamp ⇄ date, with the current epoch timeBase64 & URL Encoder / DecoderEncode and decode Base64 and URLsData URI GeneratorTurn files and SVG into embeddable data URIsData URI DecoderView and save files from a data URI or Base64Slug generatorTurn titles into clean URL slugsUUID generatorGenerate random UUID identifiersColor converterConvert between HEX, RGB and HSL color codes