Markdown Preview

Preview Markdown live — rendered result on the left, source on the right. GitHub-flavored, opens local .md files, and runs entirely in your browser.

Preview

GitHub-flavored

Markdown, side by side

This page renders Markdown on the left as you edit the source on the right. Everything here is live — try changing a word.

Text formatting

Bold, italic, both at once, strikethrough and inline code. A backslash at the end of a line
makes a hard line break without starting a new paragraph, and plain URLs such as https://may.tools turn into links on their own.

Headings use one to six # marks. A hash link jumps within the preview: back to the top.

Inline HTML works too: H2O, x2, Ctrl + C.

Lists

  • Unordered item
  • Item with a link
    • Nested item
      • One level deeper
  1. First step
  2. Second step
  3. Third step

Task list:

  • Open the tool
  • Edit the source
  • Copy the HTML

Blockquotes

Markdown is intended to be as easy-to-read and as easy-to-write as is feasible.

— John Gruber

Code

function greet(name) {
  return "Hello, " + name + "!";
}

Tables

SyntaxResult
**bold**bold
italicitalic
[link](url)link

Images, rules and footnotes

Markdown source becomes HTML


Footnotes collect at the bottom.1

Footnotes

  1. The reader jumps here and back with the arrow. ↩

Source

Markdown
Need an image for your README? Edit SVG with a live preview — same privacy, everything stays on this device.SVG Editor →

About this tool

  • Live split view — the rendered document on the left, the Markdown source on the right, and a preview that updates with every keystroke. The source editor has line numbers, syntax coloring, undo and search, and a fullscreen mode gives the split view the whole screen.
  • GitHub-flavored Markdown — all of CommonMark plus tables with column alignment, task lists, footnotes, strikethrough, bare URLs that become links, and heading anchors for links within the document.
  • Raw HTML, made safe — inline HTML in a document is rendered, but scripts, iframes, event handlers and javascript: links are removed before anything reaches the page.
  • Files stay on your device — open a .md file with the button or by dropping it on the page, then copy the Markdown or the rendered HTML, or download the file. Everything runs in the browser; a draft of your work is kept in this browser's local storage.

When do you need a Markdown preview tool?

  • Check a README before you commit it — paste the file and see its headings, tables and anchor links the way GitHub will render them, instead of discovering a broken table once it is online.
  • Write where there is no preview — internal wikis, ticket systems and some editors take Markdown but only show the raw text; keep this page open next to them to check the result as you go.
  • Read a .md file someone sent you — open it here without installing an editor or a browser extension; it takes README, documentation and notes files up to 10 MB.
  • Draft for sites that speak Markdown — GitHub issues and pull requests, Reddit, Discord and many newsletter tools. The preview follows GitHub's flavor of it; check the few details your target site treats differently.
  • Line up a table or task list — see right away whether the pipes, alignment markers and checkboxes are in the right places, instead of counting hyphens in raw text.
  • Learn Markdown by example — the built-in sample explains one syntax element at a time; change a line and watch what happens in the preview.

Frequently asked questions

Is my Markdown uploaded anywhere?

No. Editing, rendering, opening files and exporting all run in your browser; the text you type and the files you open are never sent to a server. The only thing kept is an optional draft in this browser's local storage. Images that point to a web address are loaded by your browser from that address, as on any web page.

Which Markdown features does it support?

Everything in CommonMark — headings, emphasis, links, images, lists, blockquotes, code blocks and more — plus the GitHub-flavored extensions: tables with column alignment, task lists, footnotes, strikethrough, bare URLs that turn into links, and heading anchors for links inside the document. Raw HTML is rendered too. Not supported: math notation, Mermaid diagrams and syntax highlighting inside code blocks.

Can I open a .md file from my computer?

Yes. Click Open .md or drop the file anywhere on this page. It takes .md, .markdown, .mdown, .mkd and .txt files — or any file your browser reports as text — up to 10 MB, one at a time. A dropped file asks for confirmation first if you have already edited the text in the editor. The file on disk is never modified; Download .md saves your changes under the original file name, with its original line endings.

Can I copy the rendered HTML?

Yes. Copy HTML puts the HTML of the preview on your clipboard as a fragment you can paste into a web page or a CMS. It carries no stylesheet, so headings, tables and code blocks look plain until your own CSS styles them, and image addresses are kept exactly as written. Copy Markdown copies the source as you wrote it, and Download .md saves it as a file.

Why does some of my HTML disappear in the preview?

Raw HTML is rendered, but only after a safety filter removes anything that could run code or break the page: script and iframe elements, event-handler attributes such as onclick, javascript: links, style attributes and HTML comments. Tags outside the supported set, such as <u>, <font>, <center> and <mark>, are unwrapped — their text stays. Math notation and Mermaid diagrams are not supported either and show as plain text.

Is my draft saved between visits?

Yes, in this browser. Your text is saved to local storage shortly after you stop typing and restored the next time you open the page. Nothing is saved while the editor still shows the built-in sample or is empty, or for a document above about two million characters, or where the browser blocks storage. Clear deletes the draft, and it is never synced anywhere.

Do I need an account?

No. There is nothing to sign up for and nothing to install: the tool is free and runs in any up-to-date browser, on desktop and phone alike. On a narrow screen the preview stacks above the source instead of sitting beside it.