GitBook to PDF

Type the address of a public GitBook site (docs.example.com or example.com/docs/) and get every page in one PDF, with a contents page that lists each page and where it starts. You don't need to own the space or pay for a GitBook plan: the tool reads the site's sitemap, prints each page in real Chromium and merges them in your browser. Text stays selectable and links stay clickable. 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).

GitBook: what the native export costs, and where the pages come from

Native export. GitBook's PDF export is "not included in the Free plan; included in the Essential, Ultimate, and Enterprise plans". Essential is $65 per site a month billed yearly ($79 monthly), Ultimate $249 ($299 monthly). Readers can only export if the site's owner turned "Export as PDF" on (gitbook.com/pricing and the GitBook PDF export docs, checked 20 November 2026). Here it works from the outside on any public GitBook site, whoever owns it.

Where the pages come from. A GitBook site publishes sitemap.xml at its root (docs.example.com/sitemap.xml, or example.com/docs/sitemap.xml when the docs live under a path). It is an index pointing to one sitemap-pages.xml per site section or language. Type the docs address and press Load pages: the tool follows the index. gitbook.com/docs/ lists 1,280 pages this way, in English, French and Chinese. To keep one language or one section, type its address, for example gitbook.com/docs/documentation/fr/.

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: Docusaurus to PDF, MkDocs to PDF.

FAQ

Can I export a private GitBook space? No. The tool opens each page logged out, so it only sees what the public sees. For a private space, GitBook's own export (paid plans) is the way.

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

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