Convert Markdown to HTML or PDF

Write or paste Markdown and watch it turn into a formatted page. Copy the HTML, download it as a web page or save it as a PDF.

How to convert Markdown to HTML or PDF

  1. Type or paste Markdown in the left box, or click Open File to load a .md file.
  2. Check the live preview on the right, or switch to HTML to see the code.
  3. Click Copy HTML, Download HTML or Save as PDF.

What is Markdown?

Markdown is a simple way to format text using plain characters. You write # Heading for a heading or **bold** for bold, and a converter turns it into a properly formatted page. It is used for README files, documentation, notes apps, blogs and chat tools.

Markdown cheat sheet

You typeYou get
# Title, ## SectionHeadings
**bold**, *italic*bold, italic
- item or 1. itemBulleted or numbered lists
[text](https://example.com)A link
![alt](image.png)An image
> quoteA block quote
`code`Inline code
| A | B |A table

Tables, task lists, strikethrough and fenced code blocks from GitHub Flavored Markdown are supported.

How to convert Markdown to PDF

Click Save as PDF. Your browser's print window opens with just your document in it. Choose Save as PDF (or "Microsoft Print to PDF") as the printer and save. Headings, lists, tables and code blocks keep their formatting, and you can set the paper size and margins in the print window.

Using the HTML

Copy HTML gives you just the content, ready to paste into a website, a CMS or an email template. Tick Copy as a complete web page, or use Download HTML, to get a full page with clean built-in styling that opens in any browser.

Your data stays on your device

The conversion runs entirely in your web browser. Nothing you paste or open is sent to a server, so it is safe to use with customer lists, exports and other private data. There is no sign-up and no size limit beyond what your device can handle.

Frequently asked questions

How do I convert Markdown to HTML?

Paste the Markdown in the left box. The preview updates as you type, and Copy HTML puts the code on your clipboard.

How do I turn a Markdown file into a PDF?

Open the .md file, click Save as PDF and choose “Save as PDF” as the printer in the print window.

Is GitHub Markdown supported?

Yes. Tables, fenced code blocks, task lists and strikethrough all work.

Is my text uploaded?

No. The conversion runs in your browser and nothing is sent to a server.