Back to Tools
HTML to Markdown Guide
Headers
- <h1> → # Heading
- <h2> → ## Heading
- <h3> → ### Heading
- <h4> → #### Heading
Text Formatting
- <strong> → **bold**
- <b> → **bold**
- <em> → *italic*
- <i> → *italic*
Links & Images
- <a href="url">text</a> → [text](url)
- <img src="url" alt="alt"> → 
- Automatic link detection
- Image alt text preservation
Lists & Blocks
- <ul><li> → - item
- <ol><li> → 1. item
- <blockquote> → > quote
- <pre><code> → ```code```
Conversion Tips
HTML Formatting
- Use valid HTML syntax
- Properly close all tags
- Include alt text for images
- Use semantic HTML elements
Markdown Output
- Enable formatting preservation
- Include links and images
- Strip remaining HTML tags
- Validate Markdown after conversion
Common Issues
- Check HTML syntax validity
- Handle special characters properly
- Test with sample content
- Review conversion results