This is a free online utility for converting Markdown to HTML.
Differences between Markdown and HTML
Markdown is a simple, intuitive text-based language that focuses on document creation.
HTML is a tag-based language used to implement complex web structures and dynamic content.
Markdown focuses on brevity and readability, and is suitable for quickly writing technical documentation or simple content.
In contrast, HTML contains all the elements needed for web development and forms a complete web page that runs in a browser.
Key Markdown Syntax and Corresponding HTML Tags
Markdown Syntax | Description | Converted HTML Tags |
---|---|---|
# Heading 1 | Main heading | <h1>Heading 1</h1> |
## Heading 2 | Subheading | <h2>Heading 2</h2> |
### Heading 3 | Sub-subheading | <h3>Heading 3</h3> |
- Item 1 | Unordered list | <ul><li>Item 1</li></ul> |
1. Item 1 | Ordered list | <ol><li>Item 1</li></ol> |
[Link](http://url) | Hyperlink | <a href="http://url">Link</a> |
**Bold** | Bold text | <strong>Bold</strong> |
*Italic* | Italic text | <em>Italic</em> |
`Code` | Inline code | <code>Code</code> |
![Image](img.jpg) | Image | <img src="img.jpg" alt="Image"> |