⚡
usefultools.dev
M↓

Markdown to PDF Converter

NEW

Write or paste Markdown, preview it and save it as a PDF through your browser's print dialog.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

114 words

Attach images, then reference them by file name: ![alt](photo.png). Web images are never downloaded; you can also paste data:image/…;base64,… addresses.

Preview

Project Notes

A short Markdown sample with emphasis, strikethrough, inline code and a link.

Checklist

  • ☑Write the draft
  • ☐Review the text
  • Nested list
    • Child item
      • Grandchild
  1. First step
  2. Second step

Quote: Markdown is rendered in your browser and printed as a PDF.

Table

ItemQtyPrice
Tea23.50
Cà phê sữa12.80

Code

function greet(name) {
  return `Xin chào, ${name}!`;
}

Tiếng Việt, Español, Ελληνικά and 日本語 print correctly because your browser draws the text.

The preview is one continuous page; page breaks, margins and size apply when you save as PDF.

How to get the PDF: click Save as PDF to open your browser's print dialog, then choose Save as PDF as the destination (Chrome, Edge: Destination → Save as PDF; Safari, macOS: PDF → Save as PDF; Firefox: Destination → Save to PDF; Windows: Microsoft Print to PDF). Keep the scale at 100%, turn on Background graphics to keep code and table colours, and turn off Headers and footers. The page size and margins above are applied automatically. Download HTML gives you a standalone file you can print later.

Supported: headings, bold, italic, strikethrough, lists, task lists, tables, fenced code, quotes, links (http, https, mailto), images and horizontal rules. Raw HTML is shown as plain text, never executed.

⚡

Quick Examples

Typical inputs and the results this tool produces.

Heading
# Hello
<h1>Hello</h1>
Emphasis
**bold**
<strong>bold</strong>
Task list
- [x] Done
☑ Done
Safe links
[Docs](javascript:x)
Docs, without a link
Safe HTML
<script>alert(1)</script>
Shown as plain text
📖

Overview

Markdown to PDF Converter turns Markdown notes, README files, reports and documentation into a clean PDF. Type or paste your text, or open a .md file, and watch the live preview update. Pick A4 or Letter, the margins, the font size, serif or sans-serif type and a Clean, GitHub-like or Minimal theme.

The PDF is made by your browser: click Save as PDF, choose Save as PDF as the destination in the print dialog, and the page layout is applied for you. Because the browser draws the text, Vietnamese, Greek, Cyrillic, CJK and emoji print correctly. Nothing is uploaded, and raw HTML in your Markdown is shown as text instead of being run. A standalone HTML download is available as a fallback.

Why use this tool?

  • Live preview while you type
  • A4 or Letter, margins, font and theme
  • Any language prints correctly
  • Safe: no scripts, no remote images
  • Free, private, no watermark
⭐

Features

📝

Full Markdown support

Headings, emphasis, lists, task lists, tables, code blocks, quotes, links and images.

👀

Live preview

See the formatted document as you write or paste.

📄

Page options

A4 or Letter, three margin sizes, five font sizes, serif or sans-serif.

🎨

Three themes

Clean, GitHub-like and Minimal black and white.

🖼️

Local images

Attach image files and reference them by name; web images are never fetched.

🛡️

Safe rendering

Text is escaped and links are limited to http, https and mailto.

🛠️

How to Use

1

Add your Markdown

Type or paste into the Markdown box, click Open .md file, or use Load sample.

2

Choose the layout

Set Page size, Margins, Font size, Font and Theme, and check the Preview.

3

Save as PDF

Click Save as PDF and, in the print dialog, choose Save as PDF as the destination, then Save.

4

Or download HTML

Click Download HTML to keep a standalone page you can print or share later.

🤔

Frequently Asked Questions