---
title: Upload PDF files to MindsDB
sidebarTitle: PDF
---

You can upload PDF files of any size to MindsDB that runs locally via [Docker](/setup/self-hosted/docker) or [pip](/contribute/install).

Note that MindsDB supports only searchable PDFs, as opposed to scanned PDFs. These are stored in the form of a table inside MindsDB.

## Upload files

Follow the steps below to upload a file:

1. Click on the `Add` dropdown and choose `Upload file`.

<p align="center">
  <img src="/assets/files/upload_file.png"/>
</p>

2. Upload a file and provide a name used to access it within MindsDB.

<p align="center">
  <img src="/assets/files/upload_file_from_computer.png"/>
</p>

## Query files

Here is how to query data within MindsDB.

Query for the content of the file uploaded under the name `my_file`.

```sql
SELECT *
FROM files.my_file;
```
