Converters

Markdown to HTML Converter

Type or paste Markdown to see the converted HTML, live, entirely in your browser.

Live preview:

Hello World

This is bold and this is italic.

  • First item
  • Second item

A link

Supported syntax

  • Headers: # H1 through ###### H6
  • Bold: **text**, Italic: *text*
  • Inline code: `code`
  • Links: [label](url)
  • Bulleted lists (- or *) and numbered lists (1.)

A worked example

Three lines of Markdown:

# Title

Some **bold**, *italic* and `code` with a [link](https://example.com).

- a
- b

produce an h1, then a paragraph containing strong, em, code and a link, then a ul with two li items. Special characters are escaped, so A <b>tag</b> & "quotes" is output as text, not as markup.

How lines and links are handled

  • Each non-blank line becomes its own paragraph. Two lines in a row give two paragraphs, not one, because lines are not joined the way full Markdown joins them.
  • A blank line ends a list. Header markers need a space (# Title, not #Title) and go up to six levels.
  • Links are kept when the address starts with http, https, mailto, a slash or a hash. Other addresses, such as page.html or javascript:, are dropped and only the link text remains. An address containing a closing bracket may be cut short.
  • The output is an HTML fragment, not a full page, and the Download button opens a download page offering it as an .html file named after your upload.

Not supported

Code fences (three backticks) appear as plain paragraphs, and blockquotes, tables, nested lists, horizontal rules, underscore emphasis and images are not converted. An image such as ![alt](a.png) loses its picture and leaves the alt text behind with an exclamation mark. For documents that use these features, use a full Markdown processor.

Frequently asked questions

Does this support tables or nested lists?

Not currently — this tool focuses on the Markdown syntax people use most often (headers, bold, italic, links, simple lists) rather than the full CommonMark specification. Tables and nested lists will pass through as plain text instead of being converted.

Is the output safe to paste directly into a website?

The generated HTML escapes special characters correctly and link URLs are restricted to safe forms (http, https, mailto, and links starting with / or #) — a link using javascript: or any other address is dropped and only its text is kept. As with any HTML you paste into a page, still review it first if the source Markdown came from an untrusted source.

Why does every line become its own paragraph?

The converter handles one line at a time and doesn't join consecutive lines. Put each paragraph on a single line and separate paragraphs with a blank line to get the result you expect.

Can I use code blocks, images or blockquotes?

Not here. Code fences, images, blockquotes, tables and nested lists aren't converted. Inline code with single backticks, links, bold, italic, headers and simple lists are.

Related tools