About HTML to Markdown
HTML and Markdown describe the same document at different levels of detail: HTML can carry styling, scripts and layout, while Markdown keeps only the structure that survives when a page is read as plain text. Converting between them is useful for publishing a page in a repository, moving documentation into a Markdown-based wiki or turning an exported article into a source file that is easy to edit.
This converter parses the HTML in your browser with the browser's own DOM parser, then writes Markdown with the heading and bullet styles you choose. Links, images, lists, code blocks, blockquotes and tables have rules of their own; scripts, styles, iframes and other non-content elements are removed and reported as warnings. The result can be copied or downloaded as a .md file, and the input is never uploaded.
What this tool does
HTML in, Markdown out
Paste markup or open an .html or .htm file up to 10 MB, and the output is clean Markdown written with the structure rules Markdown actually supports.
Heading and bullet styles
Choose ATX (#) or Setext (underlined) headings and a bullet marker of -, * or + to match the Markdown convention your project already uses.
Links and images you control
Keep inline links and images as Markdown, or strip them and leave their text and alt labels, so pasted web content does not drag remote URLs into the file.
Tables become GFM tables
Simple HTML tables are converted into GitHub-flavored pipe tables, with cell content flattened to plain text and pipe characters escaped.
Scripts and styles removed
Script, style, iframe, object and similar non-content elements are dropped before conversion, and a warning reports what was removed.
Copy and download, no upload
Copy the Markdown or download a .md file; the HTML never leaves your device and no network request is made for the conversion.
How to use HTML to Markdown
- 01
Add the HTML
Paste markup into the input pane or open an .html or .htm file; the converter updates as soon as there is content.
- 02
Pick heading and bullet styles
Choose ATX or Setext headings and the bullet marker your Markdown convention uses; the output updates immediately.
- 03
Decide about links and images
Keep links and images when the Markdown will be published with them, or strip them to get plain text labels instead of remote URLs.
- 04
Review the Markdown
Check the converted text and read the warnings about removed elements before using the result.
- 05
Copy or download
Copy the Markdown with one button or download it as a .md file named after the source document.
Supported formats and limits
- Input
- HTML
- Output
- Markdown
- Processing
- Client-side, in your browser. Nothing is uploaded.
- Maximum size
- Bound by the memory available to your browser tab.
- Requirements
- Chrome, Edge, Firefox or Safari · JavaScript enabled
Limitations worth knowing
- CSS styling, classes, inline styles and layout have no Markdown equivalent, so colors, fonts and positioning are not preserved.
- Complex structures such as nested tables, multi-line table cells, forms and custom widgets are flattened to text or removed.
- Scripts, styles, iframes and embedded media are stripped rather than converted, and their presence is reported in a warning.
- The input is capped at 10 MB; very large pages are processed after a short delay and browser memory is the practical ceiling.
Privacy and file handling
The HTML is parsed and converted entirely inside this browser tab. Nothing is uploaded to FormatFlow or anyone else, no copy is stored and no network request is made for the conversion; closing the page discards the input and the Markdown.
Read the full privacy policy
