Skip to contentSkip to the inputSkip to the result

Markdown preview

See how Markdown will look

Loading tool

Instructions

Markdown preview

How to use

  1. Write or paste Markdown on the left.

Supported input

  • Headings (#), bold, italic and strikethrough, inline code and code blocks, lists and task lists ([ ], [x]), tables, quotes, rules, links and bare http and https addresses.
  • Up to 200,000 characters.
  • The text stays in this tab.

Input example

# Title · **bold**

Result example

<h1>Title</h1> · <strong>bold</strong>

Troubleshooting

  • If it stops responding, reload the page.

Limitations

  • Footnotes and inline HTML are not supported and are shown as typed.
  • An image shows as an exclamation mark and a link (just its alt text when the address is not http or https) instead of the picture, and an indented sub-list is flattened into the list above it.
  • Only http and https addresses are linked; a link to any other address keeps only its text.

How it works

  • Shows Markdown rendered with headings, lists, bold text and code beside what you type, and copies it as HTML or saves it as a .md or .html file.

What this Markdown preview reads, and where it differs from CommonMark

What people use it for

  • Checking a README or GitHub issue before posting, so headings and lists come out as intended.
  • Moving notes written in Markdown into a blog or email editor that does not understand Markdown, with the formatting intact.
  • Turning meeting notes into a task list ([ ] and [x]) and a table to share.
  • Learning Markdown by seeing at once what each symbol does.

Worked example: Markdown in, HTML out

  1. 1“# Title”, a blank line, then “first line” and “second line” become <h1>Title</h1> and <p>first line second line</p>: consecutive lines join into one paragraph.
  2. 2“**bold *italic* inside**” nests the marks: <strong>bold <em>italic</em> inside</strong>.
  3. 3An ordered list that starts with “3. three” becomes <ol start="3"> and counts from 3.
  4. 4“- [x] done” becomes a list item with a ticked box. The box is for display and does not toggle.
  5. 5Closing hashes are trimmed: “## Title ##” is just <h2>Title</h2>.

Where it differs from CommonMark and GFM

Measured against CommonMark and GitHub Flavored Markdown, these constructs come out differently here. If the text is going to GitHub, check those parts there as well.

  • Setext headings: a line underlined with ===== is an h1 in CommonMark, but here it is the paragraph “Title =====”. Only # headings are read.
  • Hard line breaks: two spaces at the end of a line make a <br> in CommonMark; here the line simply joins the next one with a space.
  • Indented code: four leading spaces make a code block in CommonMark; here the text becomes an ordinary paragraph. Use ``` fences for code.
  • Nested lists: a “- child” indented under “- parent” is flattened into a second item at the same level.
  • Images: ![alt](https://…) shows an exclamation mark followed by a link to the image, not the picture. With an address that is not http or https, such as ![alt](a.png), only “!alt” is left.
  • The language name after ``` and table alignment colons (---:) are accepted but have no effect on the output.

Getting a table to render

  • The first line holds the header cells separated by |, and the second is a delimiter row with at least two hyphens per cell. “| - | - |” with single hyphens is a table in GFM, but here the three lines become one paragraph.
  • Leading and trailing pipes are optional: “Name | Score” over “--|--” is enough.
  • A table ends at a blank line or at a line with no |, after which ordinary paragraphs resume.
  • Rows with more cells than the header lose the extra ones; rows with fewer are drawn with only the cells they have, where GFM would pad them with empty cells.

Why the copied HTML is safe to paste

HTML typed into the text is never run; it is escaped. “<b>bold</b> & co” becomes &lt;b&gt;bold&lt;/b&gt; &amp; co, so the angle brackets show on the page. Angle brackets inside code are escaped the same way.

Only http and https addresses become links. A link such as [click](javascript:alert(1)) is not turned into a link: the address is read whole, brackets inside it included, and only the word “click” is left. Balanced brackets, as in many Wikipedia addresses, are read as part of the address. That makes it safe to convert Markdown someone else wrote and paste the HTML into a forum, wiki or intranet page: no script can ride along.

To show a literal asterisk or underscore, put a backslash in front: \*stars\* displays as *stars* rather than italics.

Checked

Frequently asked questions

I started a new line but the preview joins it to the previous one.

In Markdown, consecutive lines form one paragraph. Leave a blank line between them to start a new paragraph.

How do I paste the result into a blog or email?

Copy as HTML copies the formatted text and the HTML with tags such as h1, strong and ul together. Editors such as Gmail or Notion paste the headings and bold text as they look, and an HTML mode or code box gets the tags. A browser that cannot copy both copies the tags only.

My link shows as plain text.

Links in [text](address) form and addresses written straight into the text become links only when they start with http:// or https://; a full stop or comma right after an address is left out of the link. An address such as www.example.com is left as text, so add https:// in front.

Is my text lost on reload?

No. The text stays in this tab, so a reload or a visit to another page keeps it. Closing the tab clears it; use Save .md to keep it for longer.