MkDocs to PDF

Type the address of an MkDocs site (Material for MkDocs included, on GitHub Pages, Read the Docs or your own domain) and get every page in one PDF, with a contents page that lists each page and where it starts. No Python plugin, no WeasyPrint, no rebuild: the tool reads the site's sitemap, prints each page in real Chromium and merges them in your browser. It runs on a free API key: 25 pages a month, no signup, no card; a whole-site job is €3.

Reading the sitemap is free. No sitemap? We follow the site's links. A section like example.com/docs/ keeps only the pages under it.

   

1 credit per PDF. A free key has 25 a month; packs from €5 for 2,000 (credits never expire).

MkDocs: where the pages come from

The sitemap. MkDocs sites usually publish sitemap.xml next to their home page: mkdocs.org/sitemap.xml and squidfunk.github.io/mkdocs-material/sitemap.xml both do (checked 20 November 2026). On GitHub Pages the docs live under the project path, so type the full address, for example squidfunk.github.io/mkdocs-material/: the tool reads the sitemap in that folder (97 pages for Material for MkDocs) instead of the GitHub Pages root.

Versions (mike). Sites versioned with mike put each version under its own path (/latest/, /1.2/). Type the version's address and only its pages are kept.

Why not a plugin? PDF plugins for MkDocs (print-site, with-pdf) work if you own the repository and can add Python packages and rebuild. This page works on any public MkDocs site, yours or not, with nothing to install. Material for MkDocs ships a print stylesheet, so "Print styles" gives clean pages without the navigation.

How it works

1. Type the docs address and press Load pages: the tool reads the site's sitemap (following sitemap indexes) and fills in the first 50 pages. Docs sites without a sitemap, or built as a JavaScript app, are read by following their own links. 2. Press Make the PDF: each page is printed by the Shotmint API (/v1/pdf), two at a time, from your browser with your key. 3. Press Download as one PDF: the pages are merged in the order of the list, behind a contents page with the site, the date in UTC and the first page number of every section. "Download ZIP" gives one PDF per page plus a results.csv.

Order of the pages. The list follows the sitemap, or the order in which links were found when there is no sitemap. That is usually close to the sidebar but not always: the list is a plain text box, so move lines up or down (or delete the changelog and blog posts) before you press Make the PDF.

Print or screen styles? Most docs themes have a print stylesheet that hides the sidebar, the search box and the navigation, which is what you want in a book-like PDF. If a theme prints blank or broken pages, pick "Screen styles".

If a page answers with an error or a bot check (some sites block data centers, ours included, and we don't try to get around that), its row shows the HTTP status, and that render is refunded. Nothing is stored on our side: the PDFs go straight to your browser.

Same thing in a script

For sites with thousands of pages, or a monthly archive, pull the URLs out of the sitemap and loop with curl. Each page is one credit:

curl -s https://example.com/sitemap.xml | grep -o '<loc>[^<]*' | cut -c6- > urls.txt
i=0; while read -r url; do i=$((i+1))
  curl -s "https://shotmint.creasework.com/v1/pdf?url=$url&format=A4&block_ads=true" \
    -H "X-API-Key: YOUR_KEY" -o "page-$i.pdf"
done < urls.txt

To merge up to 20 pages on the server instead, POST /v1/pdf with {"urls": [...]}; see the docs. Have your own list of links rather than a sitemap? Use bulk URL to PDF. Images instead of PDFs: bulk website screenshot. Site built with Google Sites: Google Sites to PDF. WordPress site: WordPress site to PDF. Wix site: Wix site to PDF. Squarespace site: Squarespace site to PDF. Webflow site: Webflow site to PDF. Blogger blog: Blogger to PDF.

Any other docs platform: docs site to PDF. Also: GitBook to PDF, Docusaurus to PDF.

FAQ

What about Sphinx or Read the Docs? Same tool: type the address. Read the Docs projects offer their own PDF only when the owner enabled it.

Doesn't GitBook export PDFs itself? GitBook's own PDF export is a feature of its paid plans and is set up by the space's owner (checked November 2026). This tool works from the outside on any public docs site, whoever hosts it, with no account on the docs platform.

What about Docusaurus? Docusaurus has no built-in PDF export. The usual routes are community command-line tools (such as docs-to-pdf) that need Node.js and a terminal. Here you type the address and press two buttons; the API and the curl loop below are there if you want to script it.

Read the Docs, MkDocs, Sphinx? Read the Docs offers PDF downloads only for projects whose owners enabled them. When they didn't, or for MkDocs and Sphinx sites hosted elsewhere, type the address here: their sitemaps are read directly.

Platform pages. Where each platform keeps its sitemap and how to keep one version or language: GitBook to PDF, Docusaurus to PDF, MkDocs to PDF.

How big a docs site can I convert? 50 pages per merged PDF here; press Next 50 for the following batch, which gives a second PDF. The free key covers 25 pages a month and refills on the 1st (UTC); €5 buys 2,000 more pages, with no subscription, and they never expire. If credits run out midway, the tool keeps what it rendered and, after a top-up, Resume finishes only the missing pages.

How many pages can I convert? 50 per run here, as many runs as you like (Next 50 loads the following batch; the sitemap list holds up to 1,000 URLs). The free key covers 25 PDFs a month and refills on the 1st (UTC). €5 buys 2,000 more, with no subscription, and they never expire. If credits run out mid-site, the tool keeps what it rendered and, after a top-up, Resume finishes only the missing pages.

The site has no sitemap. What now? The tool follows the site's own links instead: it starts at the address you typed, reads up to 60 pages for 20 seconds and lists up to 300 pages of the same site (a JavaScript app's first page is opened in Chrome to see its links). A one-page site lists just that page; paste any other URLs into the box yourself.

Can I convert pages behind a login? Not with this tool: it opens each page logged out. The API accepts cookies and headers per request (see the docs).

How long does it take? Usually 2 to 6 seconds per page, two pages at a time, so a 50-page batch takes about 2 to 3 minutes.

Related tools

Docusaurus to PDF · Merge URLs to PDF · GitBook to PDF · HTML to PDF · Docs site to PDF · Markdown to PDF · WordPress site to PDF · Word to PDF · Blogger to PDF · Excel to PDF · Webflow site to PDF · Squarespace site to PDF · Wix site to PDF · Google Sites to PDF · TXT to PDF · Image to PDF · Entire website to PDF · Bulk URL to PDF · all free tools