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

# File Upload Overview

> You can upload files as temporary files into PDF.co. Temporary files are stored for 1 hour by default and then auto removed.

To store files permanently (pdf templates, images you want to reuse) please use [PDF.co Built-In Files Storage](https://app.pdf.co/files) instead.

You can also use 3rd party cloud services:

* **Dropbox**: you can use `public link` to a file from Dropbox.
* **Google Drive**: you can use link to a file that was shared as `anyone with a link`.
* **Google Docs/Sheets/Slides**: you can use a link to a document in Google Docs that was shared as `anyone with a link`.
* Any publicly accessible URL from any cloud service or web source that provides a direct link to the uploaded file.

<Note>**IMPORTANT NOTE FOR GOOGLE DRIVE/DOCS** users: free Google Drive/Docs limits the number of requests to their files. If you use a link to file or document from Google Drive or Google Drive then make sure you have no more than 5-10 requests per minute. Otherwise Google Drive returns no file or error page.</Note>

## Temporary Files Upload

You can upload temporary files up to 2GB in size. Please note that to process these files you should use `async=true` mode with data extraction and tools endpoints along with [/job/check](/api-reference/job-check) to check status of background jobs you create.

## Steps to Upload File

1. First, call [/file/upload/get-presigned-url](/api-reference/file-upload/generate-presigned-url). It will generate link for uploading (`presignedUrl`) and final link (`url`).

2. Now send your file to the `presignedUrl` link using the `PUT` method within the next 30 minutes.

3. Once finished, use `url` to access the file you have just uploaded.

Note: all uploaded files are considered to be temporary files and are automatically permanently removed after 1 hour.
