Markdown to HTML
Convert Markdown to clean HTML with live preview.
What is Markdown?
Markdown is a lightweight markup language created by John Gruber in 2004. It allows you to write plain text using simple formatting conventions β asterisks for bold, hyphens for lists, pound signs for headings β that convert to HTML. The goal is to make formatted text readable as plain text, unlike HTML which is cluttered with tags. Markdown is now the de-facto writing format for README files, documentation, blog posts, notes, and developer tools worldwide.
Core Markdown syntax
| Element | Markdown syntax | HTML output |
|---|---|---|
| Heading 1 | # Heading 1 | <h1>Heading 1</h1> |
| Heading 2 | ## Heading 2 | <h2>Heading 2</h2> |
| Bold | **bold text** | <strong>bold text</strong> |
| Italic | *italic text* | <em>italic text</em> |
| Link | [text](https://url) | <a href="https://url">text</a> |
| Image |  | <img src="image.png" alt="alt"> |
| Unordered list | - Item 1 - Item 2 | <ul><li>Item 1</li>... |
| Ordered list | 1. First 2. Second | <ol><li>First</li>... |
| Inline code | `code here` | <code>code here</code> |
| Code block | ```language code ``` | <pre><code>code</code></pre> |
| Blockquote | > quoted text | <blockquote>quoted text</blockquote> |
| Horizontal rule | --- | <hr> |
Where Markdown is used
Frequently asked questions
What is Markdown?
Markdown is a lightweight markup language that uses plain-text symbols β like # for headings and ** for bold β to format text, which can then be converted to HTML.
Is the conversion done in my browser?
Yes. Your Markdown is converted to HTML locally, so nothing you type is uploaded to a server.
Which Markdown features are supported?
Standard Markdown: headings, bold, italic, links, images, lists, blockquotes, inline code and code blocks. These cover the vast majority of writing needs.
Where is Markdown commonly used?
In README files on GitHub, documentation, static-site generators, note apps like Obsidian and Notion, and many comment systems and chat tools.
Supports: headings (#, ##, ###), bold (**), italic (*), code (`), blockquotes (>), lists (- and 1.), links, images and horizontal rules (---).