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

# PDF Reader

> Parameters and methods of PDFReader, which reads PDF files into documents.

PDFReader reads data from PDF files.

## Parameters

<Snippet file="pdf-reader-reference.mdx" />

## Methods

### `read()`

Reads a PDF and returns a list of documents.

| Parameter  | Type                                  | Default | Description                                                                       |
| ---------- | ------------------------------------- | ------- | --------------------------------------------------------------------------------- |
| `pdf`      | `Optional[Union[str, Path, IO[Any]]]` | `None`  | Path to the PDF file or a file-like object                                        |
| `name`     | `Optional[str]`                       | `None`  | Name override for the resulting documents                                         |
| `password` | `Optional[str]`                       | `None`  | Password to unlock the PDF. Falls back to the constructor `password` when not set |

### `async_read()`

The async variant of `read()`. It accepts the same parameters.
