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
- Write or paste Markdown in the editor.
- Check the live preview on the right (below on small screens).
- 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
- Markdown to HTML: get the HTML source of the rendered Markdown.
- Word & Character Counter: count the words in your README or post.
- Text & Code Diff: compare two versions of a document.
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.
Related tools
JSON Viewer
View JSON online as a collapsible tree with value types, item counts and copyable paths. Explore large API responses without scrolling through raw text.
HTML Viewer
Free online HTML viewer: paste HTML code and see it rendered live in a secure sandboxed preview. Check snippets, emails and templates with scripts off.
Mermaid Editor
Write Mermaid diagrams online with a live preview: flowcharts, sequence, class, ER, state and Gantt diagrams. Export SVG or PNG and share a link.
JSONPath Tester
Test JSONPath expressions online against your JSON with live results. Supports filters, wildcards, recursive descent, slices and unions, and with each match’s path.
JSON Formatter
Format and beautify JSON with configurable indentation and optional key sorting. Errors are reported with exact line and column.
HTML Formatter
Format and beautify messy or minified HTML into clean, indented markup with Prettier, including embedded CSS and JavaScript. Runs locally in your browser.