UniversalFileConverter

HTML to Markdown Converter

HTML to Markdown conversion in seconds, right in your browser. Drop your HTML files below and get Markdown files back without uploading anything: the converter runs on your own device, so it is free, private and works on any computer or phone.

Drop any file hereor click to choose. Batches welcome.

How to convert HTML to Markdown

  1. Drop your HTML files into the box above, or click it to choose from your device.
  2. Markdown is already selected for you. Press "Convert to Markdown".
  3. Download each new Markdown file, or grab them all at once as a ZIP.
HTML to Markdown conversion route: HTML then Markdown
The route your file takes from HTML to Markdown.

Why convert HTML to Markdown?

HTML files are best for content that will be read on the web. Markdown is the better choice for notes, READMEs and documentation. It opens in any text editor, Obsidian, GitHub, while HTML opens in every browser.

Markdown is lossless, so nothing your HTML file contains is thrown away on the way.

HTML vs Markdown at a glance

HTMLMarkdown
CompressionPlain text with markupPlain text with light markup
Opens inEvery browserAny text editor, Obsidian, GitHub
Best forcontent that will be read on the webnotes, READMEs and documentation
HTML to Markdown format comparison chart

What happens to your file

The page is read with your browser's own HTML parser and rewritten as Markdown by Turndown, a widely used open-source converter, with GitHub-flavoured table support. Headings, bold and italic text, links, lists, tables and code blocks become their Markdown equivalents; scripts, styles and embedded image data are left out.

Tips for a clean conversion

  • Drop a whole folder's worth of HTML files at once. They convert one after another and you can download everything as a single ZIP.
  • Keep your original HTML files until you have checked the results. Converting back later is rarely lossless.
  • Markdown keeps everything it receives, so the result is only ever as good as the HTML file you start with.
  • Tables become GitHub-style Markdown tables, and code blocks are fenced with three backticks, so the result renders correctly on GitHub, Obsidian and most Markdown editors.

About the formats

HTML: The language of web pages.

Markdown: Lightweight text formatting used by developers, notes apps and READMEs.

Questions

Is it safe to convert HTML to Markdown here?
Yes. The conversion runs entirely inside your web browser. Your HTML file is never uploaded to a server, so nobody else can see it.
Will I lose quality?
Markdown is lossless, so nothing your HTML file contains is thrown away on the way.
Can I convert several HTML files at once?
Yes. Drop as many files as you like. Each one is converted in turn, and you can download them one by one or all together as a ZIP.
Is it free?
Yes. There is no sign-up, no watermark and no limit on how many files you convert.
Does it work on a phone?
Yes. The converter runs in any modern browser, including Safari on iPhone and Chrome on Android, so you can convert HTML files without installing an app.

Related conversions

Missing a format? Something broke?

Tell us what you tried to do. Every message goes straight to the people building this.

We also note which formats you tried here (never your file names or files).