> ## Documentation Index
> Fetch the complete documentation index at: https://docs.janus.cards/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF

<Callout icon="cent-sign" color="#FFC107" iconType="regular">**0.1** credits per page</Callout>

## Overview

The PDF converter takes (1) document and (2) number of selected pages. It then converts it using OCR.

### Selecting the Document

To select the the document, you can either drag and drop the file from your file explorer to the input area, or click the input area for the file explorer to pop up.

<img src="https://mintcdn.com/janus-8f513059/GvGKRbq5plC8WNJL/imgs/pdf-document-selector.png?fit=max&auto=format&n=GvGKRbq5plC8WNJL&q=85&s=de6a3c3bb19d463dd32dfc1bc2de2f66" alt="pdf document selector input area" width="1704" height="816" data-path="imgs/pdf-document-selector.png" />

### Selecting the Pages

You can specify the pages to upload by:

* **Clicking the thumbnails**. Clicking one page, holding shift, and then clicking another page will select all pages from those two pages.
* **Entering the page ranges**. A comma separated list of pages (e.g. '3' or '10') and page ranges (e.g. '4-6' or '11-23')
* **Selecting the chapter**. If the PDF has an outline, which is usually the case for books, then you can select particular entries in the table of contents.

<img src="https://mintcdn.com/janus-8f513059/GvGKRbq5plC8WNJL/imgs/attention-is-all-you-need.png?fit=max&auto=format&n=GvGKRbq5plC8WNJL&q=85&s=0d8f1b9498460194ab4247084f36404f" alt="The pdf page selector component" width="2086" height="2130" data-path="imgs/attention-is-all-you-need.png" />

#### Deselecting Pages

You can then **deselect** the pages by either **clicking the thumbnails** or by **clicking the page-range pills** at the bottom.

#### Viewing Zoomed-In Thumbnails

You can also **view an enlarged preview of the page** by **hovering over the thumbnail.**

<img src="https://mintcdn.com/janus-8f513059/GvGKRbq5plC8WNJL/imgs/pdf-thumbnail-enlargement.png?fit=max&auto=format&n=GvGKRbq5plC8WNJL&q=85&s=825b1b9879ba442a5f3c0645ffd9d4fd" alt="Enlarged pdf thumbnail when you hover" width="2554" height="1751" data-path="imgs/pdf-thumbnail-enlargement.png" />
