Markdown to PDF converter

Paste Markdown and get a clean, readable PDF: headings, tables, code blocks, lists, links and quotes, styled for print. Choose the paper size, margins and orientation.

Your PDF appears here

  1. Paste Markdown: headings, lists, tables, code blocks.
  2. Choose the paper size, margins and orientation.
  3. Press Render to preview it, then download.

Rendering…

Free: 10 a day, no signup · same engine as the API

What the Markdown can hold

  • Headings, paragraphs, bold, italics, links and images from public URLs.
  • Tables, fenced code blocks, footnotes and definition lists (Markdown Extra).
  • Nested lists and block quotes.
  • Raw HTML where Markdown runs out, such as a <div style="break-before: page"> to start a new page.

It suits READMEs, meeting notes, reports and answers from ChatGPT or Claude. Choose Media: Print to keep tables, code blocks and quotes whole across page breaks where they fit.

Generate PDFs from Markdown in code

Send the Markdown as markdown to the PDF API and the response is the file, with the same styling as this tool:

POST/v1/pdf
curl https://shotlane.dev/v1/pdf \
  -H "X-API-Key: $SHOTLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Report\n\n| Item | Total |\n|---|---|\n| A | 12 |", "paper": "A4"}' \
  -o report.pdf

Page numbers, headers and footers are in the PDF docs. For your own layout, start from HTML with the HTML to PDF tool.

100 free renders a month · no credit card · GitHub and Google sign-in

By signing up you agree to the terms. How your data is handled: privacy policy.

FAQ

Can I change the fonts or colours?

Not in this tool: it uses one clean default style. With the API, add your own css, or convert the Markdown to HTML yourself and send html.

What are the limits?

Up to 300 KB of Markdown and 10 PDFs a day without an account. The API takes up to 1 MB and has no daily limit.

Do you keep my document?

No. The PDF is rendered on the fly and sent straight to your browser; nothing is stored.