# Convert File

Convert file helps you to convert one document from one format to another and currently we support only PDF to Text conversion

The PDF to Text conversation helps extract text from any PDF file and then pass the content to ChatGPT or a similar platform to get it analyzed, or you can extract the text in PDF and send the contents via WhatsApp or Email&#x20;

{% hint style="success" %}
For the mini-app, you can create a form field type as Upload and users can drag and drop files in the mini-app, and you will get a public URL of the PDF file&#x20;
{% endhint %}

{% hint style="danger" %}
Kindly note that this feature works only if the PDF contains Text, it will not work with Images or if the PDF is an image.
{% endhint %}

<figure><img src="https://3382165395-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LlJChpzcxtwOYGcBd1q%2Fuploads%2F4rTmfihHGRuTJJKoQoc2%2Fpdf-text-formatter.jpeg?alt=media&#x26;token=14e77b24-26b5-4fdd-9102-83bdeaf653ce" alt=""><figcaption></figcaption></figure>

**PDF URL :** You need to pass a publicly accessible URL Of the PDF, kindly note that URL redirection will not work like dropbox, google drive links, or any links which redirect to another page to load the PDF file or load the PDF file inside another iframe&#x20;

**Limit :** You can limit the number of characters to be extracted from a PDF \
\
**Pages :** If you wish to limit the pages to be extracted from a long PDF like 1,3,5 then you can pass this separated by a comma and the system will extract Text only from these pages&#x20;

**Store Converted Result To :** Here you can give any variable name to which the system should store the converted text and you can use this variable to pass the converted text to another system.

&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.pickyassist.com/setting-up-guide/setting-up-connector/formatter/convert-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
