Text tools

Markdown Preview

Markdown Preview

Open or paste a Markdown file and read it rendered at full width, safely.

About this tool

About Markdown Preview

Got a README, a changelog or notes in a .md file and no editor that shows it nicely? Open the file or paste the Markdown and read it rendered at full width, the way GitHub would show it: headings, bold and italic text, tables with aligned columns, task lists with checkboxes, quotes, numbered and nested lists, code blocks and clickable links. The preview runs in a sandboxed frame with raw HTML shown as text and unsafe links removed, so opening a file from an unknown source can't run scripts or load trackers, and the file never leaves your device. When you want to make changes, click Edit to switch to the side-by-side editor with a live preview, then download the result as Markdown or as an HTML page. Switch View to HTML to see or copy the generated markup. Word, heading and link counts are shown under the preview, which is a quick way to check a document before you publish it. It all runs in your browser.

Built and maintained by Abhi JainUpdated

How to Preview Markdown

  1. 1

    Open the file

    Click Open in the Preview panel and choose a .md file, or click Edit and paste Markdown.

  2. 2

    Read it

    The rendered document fills the Preview panel. Tick Line breaks as <br> for comment-style line breaks.

  3. 3

    Edit or export

    Click Edit to change it, or download it as .md or .html.

Markdown Preview: questions and answers

Why does it look slightly different from GitHub?

Syntax is rendered the same way, but fonts and colours are similar rather than identical, and raw HTML is shown as text here for safety. GitHub also adds extras such as emoji shortcodes and diagrams.

Can I open .markdown or .txt files?

Yes: .md, .markdown, .mdown and .txt files all open.

Is the file uploaded?

No. It is read by your browser and rendered locally in a sandboxed frame.

How do I print it or save it as a PDF?

Use Markdown to PDF, which adds print styles, paper size and margins.