Convert Markdown to HTML

Markdown Syntax Cheatsheet

This is a quick reference for Markdown syntax. A more complete guide can be found on GitHub.

Basic Formatting

  • Bold: **Bold**
  • Emphasized: *Emphasized*
  • Strikethrough : ~~Strikethrough~~
  • Horizontal rules: --- (three hyphens), *** (three asterisks), or ___ (three underscores).


All heading levels (e.g. H1, H2, etc), are marked by # at the beginning of a line. For example, an H1 is # Heading 1 and an H2 is ## Heading 2. This continues to ###### Heading 6.


Links can be created using several methods:

  • Links can be [inline](
  • Inline links can [have a title]( "Awesome Markdown Converter")
  • Also, there can be reference links that allow the URL to be placed later in the document:
    • Here is a [reference link][markdowntohtml] that links to this site.
    • References are case-insensitive (for example [this link][MarkDownToHTML] works).
    • References can also [use numbers][1].
    • Or leave it empty and use the [link text itself].
  • Also, you can use relative links [like this](../blob/master/LICENSE.txt).
  • URLs and URLs in angle brackets will automatically get turned into links: or <>.
URLs for reference links are somewhere later in the document like this:
[link text itself]:


Images can also be inline or use a reference style, similar to links. Simply prepend an exclamation point to turn the link into an image. For example:

Images with the full URL: ![alt text](

Or, a reference-style image: ![alt text][bears].


Popular tools