Markdown to HTML Converter
Paste your Markdown and get clean HTML — with syntax highlighting via highlight.js
Supported Syntax
Headings
Markdown
HTML Output (source) & Example
# Heading 1
## Heading 2
### Heading 3
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
Example:
Heading 1
Heading 2
Heading 3
Bold, Italic, Bold-Italic
Markdown
HTML Output (source) & Example
**bold text**
*italic text*
***bold and italic***
<strong>bold text</strong>
<em>italic text</em>
<strong><em>bold and italic</em></strong>
Example:
bold textitalic text
bold and italic
Links
Markdown
HTML Output (source) & Example
[ASP.NET Club](https://aspnet-club.com)
[Link with title](https://example.com "Example")
<a href="https://aspnet-club.com">ASP.NET Club</a>
<a href="https://example.com" title="Example">Link with title</a>
Images
Markdown
HTML Output (source) & Example

<img src="https://via.placeholder.com/120x40" alt="Alt text">
Example:
Inline Code
Markdown
HTML Output (source) & Example
Use `Console.WriteLine()` to print.
Use <code>Console.WriteLine()</code> to print.
Example:
UseConsole.WriteLine() to print.
Fenced Code Block (highlight.js)
Markdown
HTML Output (source) & Example
```csharp
public static void Main()
{
Console.WriteLine("Hello");
}
```
<pre><code class="language-csharp">public static void Main()
{
Console.WriteLine("Hello");
}
</code></pre>
Example:
public static void Main()
{
Console.WriteLine("Hello");
}
Unordered List (nested)
Markdown
HTML Output (source) & Example
- Item one
- Item two
- Sub-item A
- Sub-item B
- Deep item
- Item three
<ul>
<li>Item one</li>
<li>Item two
<ul>
<li>Sub-item A</li>
<li>Sub-item B
<ul><li>Deep item</li></ul>
</li>
</ul>
</li>
<li>Item three</li>
</ul>
Example:
- Item one
- Item two
- Sub-item A
- Sub-item B
- Deep item
- Item three
Ordered List (nested)
Markdown
HTML Output (source) & Example
1. First
2. Second
1. Sub-step one
2. Sub-step two
3. Third
<ol>
<li>First</li>
<li>Second
<ol>
<li>Sub-step one</li>
<li>Sub-step two</li>
</ol>
</li>
<li>Third</li>
</ol>
Example:
- First
- Second
- Sub-step one
- Sub-step two
- Third
Blockquote
Markdown
HTML Output (source) & Example
> This is a blockquote.
> It can span multiple lines.
<blockquote>
<p>This is a blockquote. It can span multiple lines.</p>
</blockquote>
Example:
This is a blockquote. It can span multiple lines.
Horizontal Rule
Markdown
HTML Output (source) & Example
Some text above.
---
Some text below.
<p>Some text above.</p>
<hr>
<p>Some text below.</p>
Example:
Some text above.
Some text below.
Table (GitHub style)
Markdown
HTML Output (source) & Example
| Name | Type | Default |
|---------|--------|---------|
| id | int | 0 |
| name | string | "" |
<table>
<thead><tr><th>Name</th><th>Type</th><th>Default</th></tr></thead>
<tbody>
<tr><td>id</td><td>int</td><td>0</td></tr>
<tr><td>name</td><td>string</td><td>""</td></tr>
</tbody>
</table>
Example:
| Name | Type | Default |
|---|---|---|
| id | int | 0 |
| name | string | "" |
Strikethrough
Markdown
HTML Output (source) & Example
~~deleted text~~
<del>deleted text</del>
Example:
Line Break
Markdown
HTML Output (source) & Example
Line one
Line two (two trailing spaces = break)
Line one\
Line two (backslash = break)
<p>Line one<br>Line two (two trailing spaces = break)</p>
<p>Line one<br>Line two (backslash = break)</p>
Example:
Line one
Line two (two trailing spaces = break)
Line one
Line two (backslash = break)
HTML Passthrough
Markdown
HTML Output (source) & Example
<div style="color:green;">
This is raw HTML.
</div>
<div style="color:green;">
This is raw HTML.
</div>
Example:
This is raw HTML.
Public API
Request (form post)
Response (text/html)
POST /markdownapi
Content-Type: multipart/form-data
markdown_content = # Hello World
<h1>Hello World</h1>
Rate limit: 1 request per 10 seconds per IP.