Obsidian to PDF

Paste a note from Obsidian and download a PDF you can share with someone who doesn't use it. Callouts keep their boxes, wikilinks read as plain words and properties stay out of the way. Pick a style made for paper, with page numbers. Free, and nothing is uploaded.

Markdown
Preview

Getting your note in

md2pdf.me needs the note's Markdown, the text you see while editing it. There are two ways to get it here:

  1. Copy the note. In Obsidian, switch the note to Source mode, which shows its Markdown exactly as written: click the editing-mode icon in the status bar at the bottom of the window and choose Source mode. Click in the note, press Ctrl+A (⌘+A on a Mac) to select everything, and copy it.
  2. Paste it into the editor above, replacing the example, and choose a style.
  3. Click Download PDF and choose Save as PDF in the print dialog.

Or open the file itself. Every note is a .md file in your vault's folder. Right-click the note in Obsidian's file list and choose Reveal in Finder (Show in system explorer on Windows) to find it. Then drop the file on this page, or use Open file above the editor.

How Obsidian's syntax comes out

Most of a note is standard Markdown and comes out as it does in Obsidian: headings, lists, tables, task lists, footnotes, code, math in $…$ and Mermaid diagrams. The syntax that only Obsidian has is handled like this:

Three more pieces of Obsidian syntax print exactly as written, so look for them before you download:

Images in your vault

![[photo.png]] and ![](photo.png) point to a file in your vault. Obsidian finds it there. md2pdf.me runs in your browser and can't read files on your computer, even when you open the note itself, so the image is missing from the preview and the PDF. There are three ways around it:

md2pdf.me or Obsidian's own export?

Obsidian can make a PDF itself: open the note, then choose Export to PDF… from the note's More options menu or the command palette. Which one is better depends on the note.

Obsidian's export is the better choice when the note relies on your vault. It has your images, which md2pdf.me can't read, and it works offline without copying anything.

md2pdf.me is the better choice when you want the PDF to look like a document rather than a screen:

Frequently asked questions

Is my note uploaded anywhere?

No. md2pdf.me makes the PDF in your browser, so the text never leaves your computer. Images with an https:// address are loaded from wherever they point, as on any web page.

Can I put several notes in one PDF?

Paste them one after another. To start each on a new page, put <div class="page-break"></div> on its own line between them. The page breaks guide has more.

Why does my PDF show “Embedded note:” or “Embedded file:”?

The note embeds another note or a file, such as a PDF, with ![[…]]. md2pdf.me only has the text you gave it, so it marks the spot instead. Paste the other note's text there to include it.

Do community plugins' blocks work, such as Dataview?

No. A block like dataview needs its plugin to draw it, and md2pdf.me doesn't have Obsidian's plugins, so it shows the block as code.

Related pages

Read the Markdown guide