Skip to content
Devtoolry

Markdown Viewer

Preview GitHub-flavoured Markdown online as you type, with sanitised HTML output. Check READMEs, docs and notes before you publish them.

Runs in your browser · Nothing uploadedFree · No sign-up

Something not working, or missing a feature? Send feedback

About the Markdown Viewer

The Markdown Viewer renders GitHub-flavoured Markdown as you type, including tables, task lists, fenced code blocks and strikethrough, with the HTML sanitised for safety.

Everything runs in your browser, so your input is never uploaded to a server.

How to use the Markdown Viewer

  1. Write or paste Markdown in the editor.
  2. Check the live preview on the right (below on small screens).
  3. Use Markdown to HTML when you need the HTML source.

Common mistakes

  • Indented code blocks inside lists. Code in a list item must be indented to line up with the item text, or it ends the list. Fenced blocks with ``` are easier to get right.
  • Tables without a separator row. A Markdown table needs the | --- | row under the header. Without it the lines are shown as plain text.
  • Relative image paths. Images such as ./docs/screenshot.png only work in the repository. The preview needs absolute URLs to show them.

Works well with the Markdown Viewer

Frequently asked questions

Is raw HTML in Markdown allowed?

Safe HTML is rendered; scripts, event handlers and other active content are removed by the sanitiser.

Does it match GitHub rendering?

It follows the GitHub-flavoured Markdown spec, so READMEs look very close to how GitHub shows them.

Does it render Mermaid diagrams or math?

No. Mermaid and LaTeX blocks are shown as code. GitHub renders them with extra scripts that are not part of GitHub-flavoured Markdown itself.

Is my text saved?

No. Nothing is stored or uploaded; copy the Markdown before closing the page.