# Markdown to PDF — Convert Markdown to PDF on Mac

Turn Markdown into a styled PDF with tables, code blocks, task lists and pictures. Several at once. Part of OneMacTools, 148 private tools in one native Mac app (macOS 26 or later); category: PDF. Runs on your Mac; nothing is uploaded.

Drop .md files (READMEs, notes, documentation) and get clean PDFs styled like GitHub, a serif book page or a compact layout. Tables, code blocks, quotes, nested and task lists and pictures next to the file all come through, text stays selectable, and pages break between lines, not through them. Also a Finder Quick Action.

Page: https://www.onemactools.com/tools/markdown-to-pdf · Download: https://www.onemactools.com/download · Pricing: https://www.onemactools.com/pricing

## How to use it
1. **Drop Markdown files.** One or many .md or .markdown files: READMEs, notes from Obsidian or Bear, documentation.
2. **Pick a style.** GitHub looks like a README on GitHub, Clean serif like a printed page, Compact fits more on each page.
3. **Pick the page size.** A4 or US Letter.
4. **Click Make PDF.** Each file becomes a PDF with the same name, with pages broken between lines.

## Options
- **Style:** GitHub (sans serif, grey code blocks and table headers), Clean serif (a book-like serif for reading) or Compact (smaller text for long documents).
- **Page size:** A4 for most of the world, US Letter for the US and Canada.

## Tips
- Keep pictures next to the Markdown file (or in a folder beside it) and link them with a relative path: they're put inside the PDF.
- Use a level-one heading (# Title) at the top: it becomes the PDF's title.
- Wide tables fit better in Compact.
- Front matter at the top of the file (between --- lines) is left out of the PDF.
- Select several files to convert a whole folder of notes at once, or use the Markdown to PDF Quick Action in Finder.

## Questions
**How do I convert Markdown to PDF on a Mac?**
Drop the .md file into Markdown to PDF, pick a style and click Make PDF. Or right-click the file in Finder and choose Quick Actions › OMT: Markdown to PDF.

**Will tables and code blocks look right?**
Yes. Tables keep their borders and alignment, code blocks keep their spacing in a monospaced font, and long lines wrap instead of being cut off.

**Do pictures in my Markdown show up?**
Yes. Pictures next to the file are put inside the PDF, and pictures with web addresses are downloaded when the PDF is made.

**Can I convert many Markdown files at once?**
Yes. Select them all; each becomes its own PDF.

**Does it work with Obsidian or Bear notes?**
Yes, for standard Markdown. Wiki-style [[links]] stay as plain text.

**Is the text in the PDF selectable?**
Yes. It's real text, so you can search and copy it.
