Skip to content
  1. Home
  2. Documents and Spreadsheets
  3. HTML to Markdown

Convert HTML to Markdown

The markup language of web pages. It keeps headings, lists, tables and links and opens in any browser. The page becomes Markdown: headings, paragraphs, links, lists, tables and code blocks. Menus, styles and scripts are dropped.

or drop them here

How to do it

  1. Choose the HTML files or drop them on the page
  2. Check the Markdown settings
  3. Download the finished Markdown

Good to know

  • Embedded pictures are saved in an images folder; links to pictures on the internet stay links.
  • Lightweight text markup: headings, lists, links and tables are written with ordinary characters (#, *, |). It is used for READMEs on GitHub, notes in Obsidian and documentation.

More: what HTML is and how to open it, what Markdown is and how to open it

HTML vs Markdown

PropertyHTMLMarkdown
Full nameHyperText Markup LanguageMarkdown
Introduced19932004
DeveloperW3CJohn Gruber
Where you meet itWeb pages, emails, exports from editorsREADMEs, documentation, notes

Questions and answers

Are my files uploaded to a server?

No. The file is read and processed inside your browser tab. The site has no server that could receive it, and the page’s security policy (CSP) forbids it from connecting to other addresses. You can check this in the Network tab of the developer tools, or by turning off the internet after the page has loaded.

Can I convert several HTML files at once?

Yes. Drop several files at once: they’re processed one after another, and you can download the results one by one or as a single ZIP archive.

How do I convert HTML to Markdown on a phone?

Open this page in your phone’s browser, tap “Choose files” and pick the HTML from your gallery or Files. The finished Markdown is saved to Downloads.

Is there a file size limit?

There are no artificial limits. Only your device’s memory sets the bound: a computer handles files of hundreds of megabytes easily, on older phones it’s better to stay under 100 MB.