# PDF export

### Allow readers to export a PDF version of your published content

{% hint style="info" %}
This feature is available on [Premium and Ultimate site plans](https://www.gitbook.com/pricing).
{% endhint %}

To enable or disable PDF export for visitors to your [published docs site](https://github.com/GitbookIO/public-docs/blob/main/collaboration/broken-reference/README.md), open the docs site’s dashboard, open the **Customization** tab, and navigate to **Configure → Page actions**. From there, you can toggle **Export as PDF** on or off.

This setting determines whether or not **readers of your published content can download it in PDF format**. This feature is only available for **Premium and Ultimate sites**.

### Export your own internal content as PDF

However you decide to configure your published docs sites, all logged-in members of an organization on a Pro or Enterprise can export a page — or an entire space — from your internal knowledge base as a PDF file.

{% hint style="warning" %}
Note that links across spaces are not currently supported when exporting internal content to PDF.
{% endhint %}

#### Export an individual page

1. Open the page you want to export, then open the page’s [Actions menu](/docs/resources/gitbook-ui.md#the-actions-menu)&#x20;

   <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/Zw9q37vPYF03vQIqywTy" alt="The Actions menu icon in GitBook"></picture>

   &#x20;next to the page title.
2. Select **Export to PDF > Current page**.
3. Wait for the page to load, then click the **Print or save as PDF** button in the upper right to open your browsers Print menu.
4. From here, you can save the page as a PDF or open it in your PDF viewer using the typical process for your browser.

#### Export an entire space

1. Open the[ Actions menu](/docs/creating-content/content-structure.md)&#x20;

   <picture><source srcset="/files/YjlF3Z9KMYv9aQiFzZKD" media="(prefers-color-scheme: dark)"><img src="/files/Zw9q37vPYF03vQIqywTy" alt="The Actions menu icon in GitBook"></picture>

   &#x20;next to the page title and choose **Export as PDF > All pages**. Alternatively, open the space’s **Actions menu**&#x20;

   <picture><source srcset="/files/HXFvPsjDqbaBEhpH0WKJ" media="(prefers-color-scheme: dark)"><img src="/files/NHMhGPTU1i5O6tIApq9t" alt="The Actions menu icon in GitBook"></picture>

   &#x20;in the [space header](/docs/resources/gitbook-ui.md#space-header) and choose **Export as PDF** in the drop-down menu.\
   \
   \&#xNAN;*Note: This action is not available within a change request.*
2. Wait for the page to load, then click the **Print or save as PDF** button in the upper right to open your browsers Print menu.
3. From here, you can save the page as a PDF or open it in your PDF viewer using the typical process for your browser.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gitbook.com/docs/docs-site/pdf-export.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
