Markdown Previewer & Live Editor

Write Markdown on the left and watch the formatted result appear instantly on the right. A formatting toolbar and keyboard shortcuts (Ctrl+B, Ctrl+I, Ctrl+K) handle headings, lists, links, images, code blocks and tables. GitHub-flavoured Markdown is fully supported, including task lists, tables and strikethrough. Your draft is saved in this browser as you type, and you can export it as a .md file or a standalone, styled HTML page.

  • 100% free
  • No sign-up
  • Private & local
  • Works on mobile
View:

Private by design: every calculation runs locally in your browser. Nothing you type is sent to a server or stored by us.

What Is a Markdown Previewer?

Markdown is a lightweight formatting language that uses plain-text symbols: # for headings, ** for bold, - for lists. It was created by John Gruber in 2004 to be readable as plain text and easy to convert to HTML. Today it's everywhere: GitHub READMEs and issues, documentation sites, static site generators (Hugo, Jekyll, Astro), note apps (Obsidian, Notion, Bear), chat apps (Slack, Discord), forums (Reddit, Stack Overflow) and AI chat tools.

A Markdown previewer shows what your formatted text will look like as you write, so you can catch broken tables, missing blank lines and unclosed code blocks before you publish. This live editor combines a comfortable writing area with an instant preview, a formatting toolbar and export options.

How to Use the Markdown Editor

  1. Type or paste Markdown in the editor, or open a .md file. The preview updates as you type.
  2. Use the toolbar or shortcuts to format: Ctrl/⌘+B for bold, Ctrl/⌘+I for italic, Ctrl/⌘+K for a link, and Tab to indent.
  3. Switch views between split, editor-only (for focused writing) and preview-only (for reading).
  4. Export: copy the Markdown or HTML, or download a .md file or a standalone, styled .html page.

Your draft is kept in this browser's storage, so it's still there if you close the tab. Use Reset to go back to the example document.

Markdown Cheat Sheet

You typeYou get
# Heading 1 … ###### Heading 6Headings
**bold** / _italic_ / ~~strike~~bold / italic / strike
[text](https://url)Link
![alt](image.png)Image
- item or 1. itemBulleted / numbered list
- [x] doneTask list (GFM)
`code` and ``` blocksInline code and code blocks
> quoteBlockquote
| a | b | + |---|---|Table (GFM)
---Horizontal rule

GitHub-Flavoured Markdown

The preview uses GitHub-flavoured Markdown (GFM), the most widely used dialect. It adds tables, task lists, strikethrough, automatic links and fenced code blocks with a language name (```js). By default, single line breaks inside a paragraph are joined, as in standard Markdown. Tick "Line breaks as <br>" to show every line break, which matches GitHub comments and many chat apps. To start a new paragraph, leave a blank line.

Writing Tips

  • Always put a blank line before and after headings, lists, tables and code blocks. It prevents most rendering problems.
  • Specify the language after opening backticks for syntax highlighting on GitHub and many sites.
  • Use descriptive link text rather than "click here", for accessibility and SEO.
  • Add alt text to every image.
  • Preview before publishing. Different platforms support slightly different Markdown features.

Markdown for README Files

A good README usually starts with a title and a one-sentence description, followed by installation steps, a usage example in a fenced code block, configuration options in a table, and a licence note. Write it here with the live preview to check formatting, then download the .md file and add it to your repository. GitHub renders the same GitHub-flavoured Markdown, including task lists and tables, so what you see in the preview closely matches what visitors will see on your project page.

Keyboard-Friendly Writing

For fast writing, use the shortcuts (Ctrl+B, Ctrl+I, Ctrl+K and Tab) and switch to editor-only view to focus. Switch to preview-only view to proofread as your readers will see it.

Frequently Asked Questions

Does the preview support code highlighting?

Code blocks are shown in a monospaced style. Colour highlighting is added by the site where you publish, such as GitHub or a documentation tool.

Can I use HTML inside Markdown?

Yes. Simple HTML tags such as <details> and <sup> work, while unsafe elements like scripts are removed.

Is my document saved?

Only in your own browser (localStorage), so you can pick up where you left off. Nothing is uploaded.

Is the HTML safe?

Yes. The preview and export are sanitised with DOMPurify, so scripts in pasted Markdown can't run.

How do I make a table in Markdown?

Use pipes and a separator row: | Name | Age |, then |---|---|, then one row per line. The Table button inserts a template.

How do I add a line break without a new paragraph?

End the line with two spaces or a backslash, or tick "Line breaks as <br>".

Can I convert Markdown to PDF?

Yes. Use the Markdown to PDF tool, or download the HTML and print it to PDF.