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

# 'Convert a file to text' Tool step

> Use a Tool step to convert files into text

The 'Convert a file to text' Tool step allows you to convert a supported files into text so that

## Add the 'Convert a file to text' Tool step to your Tool

<div style={{ width:"100%",position:"relative","padding-top":"56.75%" }}>
  <iframe src="https://app.supademo.com/embed/cmc2p8jnfkqwisn1rdpsb1xtm" frameBorder="0" title="Add the Convert a file to text Tool step to your Tool" allow="clipboard-write; fullscreen" webkitAllowFullscreen="true" mozAllowFullscreen="true" allowFullscreen style={{ position:"absolute",top:0,left:0,width:"100%",height:"100%",border:"3px solid #5E43CE",borderRadius:"10px" }} />
</div>

You can add the 'Convert a file to text' Tool step to your Tool by:

1. Creating a new Tool, then searching for the 'Convert a file to text' Tool step
2. Click 'Expand' to see the full Tool step
3. Add the file you want to convert to text
4. Click 'Run step' to run the Tool step

## What file types are supported?

## Advanced Settings

Supported formats are:

* PDF (no ocr)
* Word (`.doc`, `.docx`)
* Excel (`.xlsx`, `.xls`)
* CSV
* Audio (`.mp3`, `.mp4`, `.mp2`, `.aac`, `.wav`, `.flac`, `.pcm`, `.m4a`, `.ogg`, `.opu`, `.webm`)
* JSON
* TXT

<Note>Audio transcription is completed using the Deepgram model.</Note>

### LLM Friendly Format

A checkbox that, when selected, will convert your text into a format that is more friendly for LLMs.

## Common errors

<Accordion title="Unsupported file type">
  The error message similar to the one below indicates that a file that is not supported was added to the Tool step.
  `Unsupported file type: pdf`
</Accordion>
