Markdown Preview is a free online markdown editor and .md file viewer. Open a file or paste your markdown and see it formatted live as you type: headings, tables, task lists, code, math and Mermaid diagrams. There is no sign-up and nothing to install, and your files stay in your browser, not on a server.
Live preview with GitHub Flavored Markdown
Tables, task lists, footnotes, callouts and syntax highlighting for over 180 languages, rendered the way GitHub shows them.
Mermaid diagrams and LaTeX math
Draw flowcharts, sequence diagrams and Gantt charts in a mermaid code fence, and write LaTeX math between dollar signs, rendered with KaTeX. Both update as you type.
Open and view .md files online
Open a .md file from your computer or phone, drop it on the page, or import it from a GitHub link. It shows formatted, with an outline to jump between headings.
Markdown to PDF, HTML or Word
Save a clean PDF from the print dialog with diagrams and math intact, export one self-contained HTML file, or copy rich text into Word, Google Docs or Gmail.
Images, autosave and version history
Paste or drag an image straight into the editor. Every change is saved in your browser as you type, and snapshots bring back earlier versions.
Tabs, zen mode and offline use
Keep up to 10 documents open in tabs, hide everything but the text in zen mode, and install it as an app that works without internet.
- How do I open a .md file with formatting?
- Open this page and use the Upload (or Open) button, or drag the .md file onto the page. It shows formatted right away, with headings, lists, tables, code and diagrams, instead of the raw # and ** symbols a text editor like Notepad shows. It works in any modern browser on Windows, Mac, Linux, Android and iPhone.
- How do I convert markdown to PDF online?
- Write, paste or open your markdown, check the preview, then open Export and choose Print / Save as PDF. Pick "Save as PDF" in the print dialog. The PDF uses a clean light page layout and keeps Mermaid diagrams, math and highlighted code.
- Can I open a .md file in Word?
- Word does not render markdown, so it shows the raw text. Open the file here instead, press Copy, and paste into Word or Google Docs. Headings, lists, tables and links keep their formatting.
- Is this markdown editor free, with no sign-up?
- Yes. There is no account, no paid plan and no watermark on anything you export.
- Where are my documents saved?
- In your browser, on this device. They are saved automatically as you type and are still there when you come back. Nothing you write is uploaded. To keep a copy elsewhere, download the .md file, or in Chrome and Edge save straight to a file on your disk.
- Can I preview a GitHub README online?
- Yes. Choose Import from URL and paste a GitHub, GitLab or Bitbucket link. Your browser fetches the raw file and it renders right away.