Free · No sign-up · Files stay in your browser

Markdown Viewer & Editor
Convert MD to PDF, Word & HTML

Open any .md file and read it with a live preview, or write Markdown side by side with the result. Export to PDF, Word or HTML in one click, with Mermaid diagrams, LaTeX math and tables intact.

Open and view .md files online

Got a README or notes file and nothing to open it with? Drag the .md file onto the online Markdown viewer and it renders instantly: headings, tables, task lists, code with syntax highlighting, footnotes, math and diagrams.

  • Works on Windows, Mac and Linux, right in the browser
  • Markdown live preview updates as you type
  • Nothing is uploaded; the file is read on your device
  • Edit, then download the .md file again

How to open an MD file

1. Open the viewer. 2. Drag your .md file onto the page, or use 📄 File → Open .md file. 3. Read it in the preview, or edit it on the left.

Markdown preview

Rendered with a clean reading theme you can switch at any time, so the preview looks like a finished document.

Convert Markdown to PDF, Word and HTML

A free Markdown converter that exports exactly what you see in the preview, with your theme applied.

MD to PDFPrint the preview and choose “Save as PDF”
MD to WordDownload a .docx file that opens in Word, WPS or Pages
MD to HTMLA standalone page with every style inlined
.mdDownload the Markdown source any time

Mermaid diagrams and flowcharts in Markdown

Write a mermaid code block and the diagram renders live beside your text: flowcharts, sequence diagrams, class diagrams and Gantt charts. Keep diagrams and docs in one Markdown file and export them together.

Just need a diagram? Open the Mermaid live editor
```mermaid
flowchart LR
  A[Write Markdown] --> B{Preview OK?}
  B -- yes --> C[Export PDF]
  B -- no --> A
```

Markdown cheat sheet

The Markdown formatting you will use most, all supported in the editor and viewer.

ResultMarkdown syntax
Headings# Heading 1 ## Heading 2
Bold / italic**bold** *italic*
Strikethrough / highlight~~strike~~ ==highlight==
Blockquote> quoted text
Bulleted / numbered list- item 1. first
Task list- [ ] todo - [x] done
Link / image[text](url) ![alt](image-url)
Code blockStart and end with three backticks, e.g. ```js
Math (LaTeX)$inline$ $$block$$
Table of contents[TOC]

How to make a Markdown table

Separate cells with pipes |, put a row of --- under the header, and add one line per row. Use :---: to center a column or ---: to align it right. In the editor, the Table button inserts a starter table for you.

| Format | Export         |
| ------ | :------------: |
| PDF    | Save as PDF    |
| Word   | .docx download |

Three steps from Markdown to a finished document

  1. OpenDrop an .md file onto the page, or type and paste Markdown.
  2. PreviewPick a theme and check the live preview.
  3. ExportSave as PDF, Word or HTML, or copy the formatted text.

LaTeX math

Inline $E=mc^2$ and block $$…$$ formulas render as crisp, self-contained graphics.

Automatic table of contents

Type [TOC] to build a Markdown table of contents from your level-2 and level-3 headings.

Themes and WeChat publishing

Pick a theme or design your own. Publishing to WeChat Official Accounts? Copy the styled result and paste it straight in.

Frequently asked questions

How do I open an MD file?

An .md file is a plain-text Markdown file. Open the MarkdownEdit viewer and drag the file onto the page, or choose Open .md file from the 📄 File menu. It renders right away with a live preview, and the file never leaves your browser.

How do I convert Markdown to PDF?

Open or paste your Markdown, then choose Export PDF from the 📄 File menu. Your browser's print dialog opens; pick Save as PDF as the destination. Diagrams, math and tables are kept as they look in the preview.

Can I convert MD to Word or HTML?

Yes. The 📄 File menu exports a .docx file that opens in Microsoft Word, WPS, Pages or Google Docs, or a standalone HTML page with every style inlined.

Can I draw Mermaid diagrams in Markdown?

Yes. Write a mermaid code block in the editor and the flowchart, sequence diagram or Gantt chart renders live next to your text, then export it with the rest of the document to PDF, Word or HTML. For a standalone diagram you can download as PNG or SVG, use the free Mermaid live editor.

How do I make a table in Markdown?

Write the header row with cells separated by pipes, add a row of --- under it, then add one line per row, for example | Name | Price | then | --- | --- | then | Apple | $1 |. Click Table in the editor toolbar to insert a starter table.

What is Markdown?

Markdown is a plain-text way to format writing with simple symbols, such as # for a heading or **text** for bold. It is quick to write and converts cleanly into web pages, documents and PDFs.

Is MarkdownEdit free? Where is my document saved?

Viewing, editing and exporting are free with no sign-up. Your document is saved automatically in your browser's local storage; download a .md copy before switching computers or clearing browser data. Images you paste or drop into the editor are uploaded to our image host and inserted as public links, so they still show after you paste the article elsewhere. When you click 🔗 Share preview, the document, current theme and layout settings are uploaded to our server to create a read-only link, which is deleted automatically after 30 days.

View, edit and convert your Markdown now

Nothing to install, no account needed.

Open the online Markdown editor