Conversor de HTML para Markdown
Convert HTML code to clean Markdown syntax.
Supported HTML Elements
Headings: <h1> through <h6> → # through ######
Emphasis: <strong>, <em>, <del> → **bold**, *italic*, ~~strikethrough~~
Links: <a href> → [text](url)
Images: <img> → 
Code: <code>, <pre> → inline and fenced code blocks
Lists: <ul>, <ol> → - items, 1. items
Tables: <table> → Markdown table syntax
Other: <blockquote>, <hr>, <br>
How It Works
- Paste HTML: Enter any HTML fragment or full document — from CMS content, email templates, web scraping output, or documentation.
- Convert: The tool parses the HTML DOM structure and maps each element to its Markdown equivalent, stripping style attributes.
- Review the Markdown: The output is clean, readable Markdown that renders identically to the input HTML.
- Copy or download: Copy the Markdown to your clipboard or download as a .md file.
Why Convert HTML to Markdown?
Markdown is the preferred writing format for developers, technical writers, and documentation systems — it's human-readable as plain text, version-controllable in Git, and portable across platforms. When migrating content from a CMS, extracting article text from web pages, converting email templates to documentation, or working with CMS-exported HTML, converting to Markdown makes the content editable and publishable in Markdown-based systems like GitHub, Notion, GitLab, and Jekyll. This converter strips inline styles and presentation markup while preserving semantic structure.
Element Mapping
- h1–h6 →
#through######headings - strong/b →
**bold** - em/i →
*italic* - a →
[text](url)links - img →
images - pre/code → fenced code blocks
- table → GFM pipe table syntax
Related Tools
Markdown to HTML
Convert Markdown syntax to clean HTML code with live preview of the rendered output.
Markdown Previewer
Write Markdown and see a live rendered preview. Supports tables, code blocks, and more.
Markdown Table Generator
Build Markdown tables visually with a spreadsheet editor. Set alignment and copy the output.