Markdown to PDF
Format Markdown for printing, then save as PDF if your browser offers it.
- 1Add input
- 2Adjust settings
- 3Get your result
Tool input and files are processed in this browser without being uploaded.
Before you start
Turn Markdown notes or a README into a printable page. Choose a paper size, text size and margins, prepare the preview, then open the browser’s print dialog to print or save as PDF where available.
How to use this tool
- Paste Markdown into “Markdown input”, or clear that input and choose a UTF-8 .md, .markdown or .txt file.
- Review the document title and language, choose a paper size, then set whole-number values for font size and page margin. Click “Prepare print preview”.
- Check the print preview, click “Print or save as PDF”, and choose a PDF destination in the browser dialog when available. Check the saved PDF before sharing it.
Supported inputs and limits
Pasted Markdown can contain up to 1 MiB of UTF-8 text. This is a byte limit; non-ASCII characters may use more than one byte.
Choose one UTF-8 .md, .markdown or .txt file up to 10 MiB. Keep its full filename within 512 UTF-16 code units; characters such as emoji may count as two.
Pasted text takes priority, even if it contains only spaces. Selected files are still checked and read. Prepare the preview again after changing the source or settings, then check the browser’s final print layout.
Worked example
Example input
# Test document Editable **bold** text. 1. First 2. Second | Item | Count | | --- | --- | | Apple | 2 |
Example options
{}Example output
Print preview: Test document as a heading, bold text, a numbered list and a two-column table. Use the browser dialog to save a PDF.
When something does not work
If preparation fails, keep your Markdown, fix the reported input or setting, then prepare again. Save a separate copy before reloading. If the print dialog has no PDF destination, try a browser that offers Save as PDF.
Frequently asked questions
Are my files uploaded?
No. Your Markdown and files are processed in your browser. Inputs may be kept temporarily while you switch tools in the same tab, but refreshing or closing it clears that workspace. Keep a separate copy of your Markdown and save any PDF you need through the print dialog.
Which Markdown formatting is included in the preview?
The preview supports headings, bold and italic text, strikethrough, lists, links, quotes, code blocks and pipe tables. Images appear as their alt text, and raw HTML appears as text. External resources are not loaded. Check complex formatting in the prepared page and review page breaks in the browser’s print preview.
Why isn’t there a PDF download?
This tool prepares a printable page. Click “Print or save as PDF” to open your browser’s print dialog, then choose a PDF destination if available. Use the browser’s print preview to check the final paper size, scale and page breaks before saving.
Documentation & further reading
Related tools
Markdown to Word
Make an editable Word document from Markdown.
Markdown to HTML
Create a styled HTML file from Markdown and preview it in your browser.
Preview Markdown
Preview supported Markdown formatting from your text.
HTML to Markdown
Turn HTML source into Markdown text for editing or reuse.