Tools

Markdown ↔ HTML

Convert between Markdown and HTML bidirectionally

Markdown Input1,272 chars
HTML Output
Start typing to see output...
Conversion OptionsMD → HTML
Statistics

Markdown Input

chars

1,272

words

199

lines

71

paragraphs

22

headings

13

links

4

images

2

codeBlocks

1

lists

14

tables

1

blockquotes

4

hrs

1

taskItems

3

Syntax Reference

Headings

Heading level 1

# H1→<h1>H1</h1>

Heading level 2

## H2→<h2>H2</h2>

Heading level 3

### H3→<h3>H3</h3>

Emphasis

Bold text

**bold**→<strong>bold</strong>

Italic text

*italic*→<em>italic</em>

Strikethrough

~~strike~~→<del>strike</del>

Inline code

`code`→<code>code</code>

Links & Images

Hyperlink

[text](url)→<a href="url">text</a>

Image

![alt](src)→<img src="src" alt="alt">

AutoLink (GFM)

https://auto.link→<a href="...">...</a>

Lists

Unordered list

- item→<ul><li>item</li></ul>

Ordered list

1. item→<ol><li>item</li></ol>

Task list (GFM)

- [ ] task→<input type="checkbox">

Blocks

Blockquote

> quote→<blockquote>quote</blockquote>

Code block

```lang\ncode\n```→<pre><code>code</code></pre>

Horizontal rule

---→<hr>

Tables (GFM)

Table with header

| A | B |\n|---|---|\n| 1 | 2 |→<table>...</table>

Column alignment

|:---|:---:|---:|→align="left|center|right"

More tools like Markdown ↔ HTML

View all