# Turn a File into Text

> The Turn a file into text step reads documents, spreadsheets, and scanned or photographed pages into plain text inside an automation.

- Source: https://www.taskade.com/learn/automation/file-convert
- Section: Automation
- Updated: 2026-11-09
- Index of all pages: https://www.taskade.com/learn/llms.txt

## Overview

With the **Turn a file into text** step, you can convert many file formats into plain text inside an automation. Use it to read, analyze, or process the contents of a document without opening it by hand. The extracted text can then be passed to subsequent actions such as [Categorize with AI](https://www.taskade.com/learn/automation/ai-categorize) or the [Agent](https://www.taskade.com/learn/automation/agent-action) action for further processing.

> **TL;DR:** The **Turn a file into text** step converts a document into plain text inside an automation. Point it at a file someone uploaded through your form or published app, or at one already in your workspace. It reads scanned and photographed pages too. Feed the text to [Ask an agent](https://www.taskade.com/learn/automation/agent-action) or [Categorize with AI](https://www.taskade.com/learn/automation/ai-categorize).

```mermaid
flowchart LR
  A[File in your workspace<br/>uploaded or picked] --> B[Automation runs]
  B --> C[Turn a file into text]
  C --> D[Text passed to next step]
  style A fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px
  style B fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px
  style C fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:2px
  style D fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px
```

The **Turn a file into text** step reads **PDF**, **Word** (DOCX), **PowerPoint** (PPTX, PPT), **Excel** (XLSX, XLS), **EPUB**, **CSV**, **TXT**, and **Markdown**. If a PDF is a scan, or the page is a photo someone took on a phone, Taskade reads the words off the image for you. There is nothing to switch on and no extra step to add. Reading the words off a scan or a photo works on files up to 20 MB. Typed documents and spreadsheets have no separate ceiling in this step, so the limit is whatever your plan allows on an upload.

| 🏷️ File kind | 🔤 What comes back |
| --- | --- |
| PDF with selectable text | The document text, in reading order. |
| Scanned or photographed PDF | The words read off the page. No setting to turn on. |
| Photo of a page (PNG, JPG, WebP, HEIC) | The words read off the image. HEIC is the format an iPhone camera makes. |
| Word (DOCX) | The document text. |
| PowerPoint (PPTX, PPT) | The text from every slide. |
| Excel (XLSX, XLS) | The cell values as text. |
| CSV | The rows as text. |
| TXT and Markdown | The file contents. |
| EPUB | The book text. |

GIF and BMP images are not read this way. Reading off the page happens in the **Turn a file into text** step, so put that step in your automation and point it at the file. For the longer walkthrough, see [Read scanned documents](https://www.taskade.com/learn/genesis/scanned-documents).

Reading the words off an image uses AI credits, the same as any other AI step. A file that already has selectable text is read straight through and does not use them. See [AI Credits and Models](https://www.taskade.com/learn/genesis/model-credits).

The **Turn a file into text** step is the **bridge between unstructured files and AI**. Chain it with [Ask an agent](https://www.taskade.com/learn/automation/agent-action) for summarization, [Categorize with AI](https://www.taskade.com/learn/automation/ai-categorize) for classification, or [Add knowledge to an agent](https://www.taskade.com/learn/automation/agent-knowledge) to permanently teach an agent.

![](https://www.taskade.com/static_images/learn/automation/file-convert-7d2409f6.jpg)

---

## How to Use It

1. Click **➕ Add step** and choose the **Turn a file into text** step.
2. Point the step at the file. Two paths:
   - **A file someone uploaded.** Type **@** and pick the File field from your [form](https://www.taskade.com/learn/automation/forms-trigger) trigger, or the upload from an app you published. See [File uploads in your app](https://www.taskade.com/learn/genesis/app-uploads).
   - **A file already in your workspace.** Paste its link from [Media Files](https://www.taskade.com/learn/agents/media-tab), or type **@** and pick it.

   The file has to live in the workspace the automation runs in. A link to a file somewhere else on the internet is not read, so save it to your workspace first and point the step at that.
3. Finish the automation or add more steps for further processing.

Worked example. Someone photographs a supplier invoice and submits it through your form. The **Turn a file into text** step reads the page. An [Ask an agent](https://www.taskade.com/learn/automation/agent-action) step pulls out the vendor, the date, and the total, and writes a row into your project.

> 💡 You can reference the URL from previous actions/triggers by typing the **@** symbol in the **file URL** field.

---

### Turn a file into text (Settings)

Connector options give you full control over the **Turn a file into text** step:

| 🏷️ Field | 🔤 Description |
| --- | --- |
| URL | The file to read. Type **@** to pick a file someone uploaded through your form or your published app, or paste the link to a file in your workspace. The file must belong to the workspace the automation runs in. |

---

### Turn a file into text (Use Cases)

Not sure how to use the **Turn a file into text** step? Here are a few ideas:

| 🪄 Use Case | 🔤 Description |
| --- | --- |
| Document analysis | Read scanned contracts, photographed receipts, and faxed forms into text for review or data entry. |
| Content aggregation | Convert multiple file types into text for compiling reports or summaries. |
| Email parsing | Extract text from email attachments to process or store information. |
| Legal document review | Convert legal documents into text for easier review, search, and indexing. |
| Data entry automation | Automatically convert files into text for input into databases or spreadsheets. |

---

### Tips

- **Chain with AI.** After converting a file to text, pass the output to the [Agent](https://www.taskade.com/learn/automation/agent-action) action to summarize, translate, or extract key data points.
- **Batch processing.** Use an [Interval trigger](https://www.taskade.com/learn/automation/triggers) to periodically convert and process files from a shared folder or URL.
- **Dynamic URLs.** Insert the file URL from a previous step using the **@** reference so your automation can handle different files each time it runs.

### Related guides

- [Read scanned documents](https://www.taskade.com/learn/genesis/scanned-documents). Scans and phone photos, start to finish.
- [File uploads in your app](https://www.taskade.com/learn/genesis/app-uploads). Take documents from the people using your app.
- [AI Forms](https://www.taskade.com/learn/automation/forms-trigger). Collect the file with a File field.
- [Transcribe a YouTube video](https://www.taskade.com/learn/automation/transcribe-youtube). Video counterpart.
- [Read a web page](https://www.taskade.com/learn/automation/scrape-webpage). Web page counterpart.
- [Agent Knowledge Action](https://www.taskade.com/learn/automation/agent-knowledge). Feed converted text into agents.
- [Media Files](https://www.taskade.com/learn/agents/media-tab). Where files live in Taskade.

---
