HTML to Markdown converter
Turn an HTML page into readable Markdown, dropping scripts and styles.
Processed in your browser. This file is converted on your device and is never uploaded.
Converter
.html, .htm up to 25 MB. You can also drag a file here.
No file selected.
About this tool
Moving content out of a CMS, a saved web page, or an HTML email into a repository, wiki, or notes application usually means turning it into Markdown first. This tool converts an HTML file into readable Markdown.
Scripts and stylesheets are removed rather than transcribed, since neither carries prose.
Supported formats and limits
- Input
- .html, .htm
- Output
- .md (text/markdown)
- Output name
- The original name with the new extension, for example data.html becomes data.md.
- File size limit
- 25 MB
- Processing
- In your browser. The file is not uploaded.
How to use it
- Choose an .html or .htm file, or switch to Paste text and paste the markup directly.
- Pick the bullet character you prefer for lists.
- Select Convert, then download the .md file.
Limitations
- Markdown is a much smaller language than HTML. Anything without an equivalent, including classes, inline styles, data attributes, and layout containers, is dropped.
- Complex tables, especially ones using colspan or rowspan, do not survive; Markdown tables are strictly rectangular.
- Forms, iframes, videos, and embedded widgets are not represented.
- Whitespace-sensitive markup can shift, so preformatted blocks are worth checking.
- The conversion is one-way. Running the result back through the Markdown to HTML tool will not reproduce your original markup.
Frequently asked questions
- Is my file uploaded?
- No. The conversion runs entirely in your browser. The file never leaves your device and no request carrying its contents is made.
- What happened to my styling?
- Markdown has no concept of styling. Headings, lists, links, emphasis, and code are preserved as structure; visual presentation is not.
- Can I convert a whole saved web page?
- Yes, though navigation, footers, and sidebars will be converted alongside the article. Trimming the markup to the content you want first gives a much cleaner result.
- Is inline HTML kept?
- Elements with no Markdown equivalent are left as inline HTML, which is valid inside a Markdown document. Scripts and styles are removed.