Text

Markdown Editor

Write Markdown and preview the rendered HTML live, entirely in your browser.

Privacy: This tool runs entirely in your browser. Your data never leaves your device and is never uploaded to any server.

Hello

Type Markdown on the left and see a live preview on the right.

  • one
  • two
console.log("hi")

How to use this Markdown editor

  • Type Markdown on the left; the rendered HTML appears on the right.
  • The preview updates as you type.
  • Copy the rendered HTML, or keep the Markdown source.
  • Everything runs locally — your text is never uploaded.

Markdown syntax at a glance

You can get a long way with a handful of constructs. These are the ones you will type every day:

SyntaxRenders asNotes
# HeadingFirst-level headingOne to six hashes for the levels
**bold**Bold textAsterisks or underscores both work
*italic*Italic textA single marker
`code`Inline codeThree backticks for a block
- itemBullet listNeeds a blank line before it
1. itemNumbered listNumbers are renumbered automatically
[text](url)LinkThe text in brackets becomes the label
![alt](image.png)ImageThe leading exclamation mark is easy to forget
> quoteBlockquoteOne > per nesting level

What Markdown is

Markdown is a plain-text way of writing formatted documents. The source stays readable on its own, and a converter turns it into HTML.

It was designed so that an unrendered README is still comfortable to read, which is exactly why developers adopted it everywhere.

The syntax you will actually use

  • # Heading — one to six hashes for heading levels.
  • **bold** and *italic* for emphasis.
  • `inline code`, and three backticks for a code block.
  • - item for bullet lists, 1. item for numbered ones.
  • [label](https://example.com) for links, ![alt](image.png) for images.
  • > quote for blockquotes, and --- for a horizontal rule.

Markdown versus HTML

Markdown is quicker to write and easier to read in its raw form. HTML is more expressive and precise.

Most systems that accept Markdown let you drop raw HTML in where you need it, so you rarely have to choose one over the other.

Where Markdown shows up

  • README files and documentation sites.
  • Issue trackers, pull requests and code review comments.
  • Note-taking tools, wikis and static site generators.
  • Chat tools such as Slack and Discord, with slightly different subsets.

Frequently asked questions

What Markdown is supported?

Headings, bold, italic, inline and fenced code, links, images, lists, blockquotes and horizontal rules.

Is the rendered HTML safe?

The preview escapes raw HTML and only renders the supported Markdown constructs.

Is my content uploaded?

No. Everything runs locally in your browser.

Why does my Markdown render differently on another site?

There is no single Markdown specification. Implementations disagree about tables, footnotes, task lists and how strictly they treat blank lines and indentation.

Do I need a blank line before a list?

In most implementations yes. Without it the list is treated as part of the preceding paragraph and rendered as plain text.

Can I use Markdown for documentation?

Yes — that is where it is most at home. README files, wikis, static site generators and most issue trackers all accept it.

More Text tools