๐Ÿ”’ Runs in your browser โ€” nothing is uploadedโœ“ Free, no signup

HTML to Markdown Converter

Paste HTML to get clean Markdown โ€” headings, links, lists, tables, code blocks and strikethrough are all converted, ready for README files, docs and notes.

Loading...

0 characters

Markdown

Loading...

When should you use the HTML to Markdown?

  • Moving blog posts or docs from a CMS to Markdown
  • Turning web page content into notes for Obsidian or Notion
  • Writing README files from existing HTML documentation

How to use the HTML to Markdown

  1. 1

    Paste HTML

    Paste a snippet or page HTML into the left editor.

  2. 2

    Pick a style

    Choose # or underlined headings, the bullet character and fenced or indented code blocks.

  3. 3

    Check the Markdown

    The result updates as you type. Scripts and styles are removed.

  4. 4

    Copy or download

    Copy the Markdown or download a .md file.

Examples

Formatting and links

HTML

<h2>Changes</h2>
<p>Version <strong>2.0</strong> is <a href="https://trueformatter.com">live</a>.</p>
<ul><li>New viewer</li></ul>

Markdown

## Changes

Version **2.0** is [live](https://trueformatter.com).

-   New viewer

Common errors and how to fix them

Some HTML stayed as HTML
Markdown can't express everything โ€” complex layouts, colours and custom elements have no Markdown equivalent.
A table wasn't converted
Tables need a header row (<th> cells) to become Markdown tables.
Related tools:ย Markdown Editor ยท HTML Formatter ยท HTML to JSX

More from Code Formatters & Minifiers

Free tools that run in your browser โ€” no signup, nothing uploaded.

HTML to Markdown FAQ

Yes. HTML tables with header cells become GitHub Flavored Markdown tables. Strikethrough and task lists are supported too.

<img> tags become ![alt text](url) Markdown images.

No โ€” <script> and <style> content is removed, because it isn't part of the readable text.

Standard Markdown with GitHub Flavored Markdown extensions (tables, strikethrough), which works on GitHub, GitLab and most editors.

Yes โ€” use the Markdown Editor, which previews Markdown and lets you copy the HTML.

No. Everything runs in your browser, so your HTML never leaves your device.