Last updated
How to Use
- Paste your HTML code in the left textarea
- Click "Convert to Markdown" to transform HTML to Markdown
- View the Markdown output in the right textarea
- Click "Copy" to copy Markdown to clipboard
- Use the Markdown in your documentation or README files
Common Use Cases
- Migrating blog content from WordPress/Drupal to a static site generator (Jekyll, Hugo, Gatsby)
- Converting web-scraped HTML content into Markdown for documentation
- Transforming email HTML into readable plain-text Markdown
- Converting CMS exports for use in GitHub wikis or README files
- Preparing content for Markdown-based note-taking apps (Obsidian, Notion, Roam)
Paste your HTML and get clean Markdown output instantly. All conversion happens in your browser.
Supported HTML Elements
- Headings: <h1> to <h3> → # ## ###
- Bold: <strong>, <b> → **text**
- Italic: <em>, <i> → *text*
- Links: <a href="url">text</a> → [text](url)
- Code: <code> → `code`
- Paragraphs: <p> → double newline
- Line breaks: <br> → single newline
Why Convert HTML to Markdown?
Markdown is simpler, more readable, and widely supported across platforms. It's the standard format for documentation on GitHub, GitLab, Stack Overflow, and many static site generators. Converting HTML to Markdown makes content more portable and easier to maintain.
Common Use Cases
- Documentation: Convert HTML docs to Markdown for GitHub wikis or README files
- Content Migration: Move content from HTML-based CMS to Markdown platforms
- Blog Posts: Convert HTML articles to Markdown for static site generators (Jekyll, Hugo, Gatsby)
- Email to Docs: Transform HTML emails into readable documentation
- Web Scraping: Convert scraped HTML content to clean Markdown format
Conversion Examples
Example 1: Headings
HTML:
<h1>Main Title</h1> <h2>Subtitle</h2>
Markdown:
# Main Title ## Subtitle
Example 2: Links and Emphasis
HTML:
<p>Visit <a href="https://github.com">GitHub</a> for <strong>amazing</strong> projects.</p>
Markdown:
Visit [GitHub](https://github.com) for **amazing** projects.