๐ 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.
0 characters
Markdown
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
Paste HTML
Paste a snippet or page HTML into the left editor.
- 2
Pick a style
Choose # or underlined headings, the bullet character and fenced or indented code blocks.
- 3
Check the Markdown
The result updates as you type. Scripts and styles are removed.
- 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.
More from Code Formatters & Minifiers
Free tools that run in your browser โ no signup, nothing uploaded.
SQL Formatter & Beautifier
Format SQL queries for MySQL, PostgreSQL, SQL Server, SQLite and more.
CSS Minifier & Compressor
Optimize CSS by removing whitespace and comments to accelerate page load time.
JS Minifier & Compressor
Compress JavaScript to improve website speed and performance.
XML Formatter & Validator
Format, validate and minify XML, with errors shown by line and column.
HTML Formatter & Beautifier
Beautify or minify HTML with clean, consistent indentation.
Markdown Editor & Preview
Write Markdown with a live preview and copy the HTML.
HTML to JSX Converter
Convert HTML to valid React JSX โ className, style objects and more.
SVG to React Component
Turn SVG markup into a React component with camelCase attributes.
GraphQL Formatter
Format GraphQL queries, mutations and schemas with Prettier.
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  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.
