Link Search Menu Expand Document

PDF to Text how to extract multiple columns into a single column

If you have a PDF which contains text with multiple columns such as a newspaper and want to extract the text into a single column, all you need to do is set the ExtractColumnByColumn property to true.

The /pdf/convert/to/text has a property that can extract column by column which extracts multiple columns into a single column. Please add the the profiles param below in your code:

POST /v1/pdf/convert/to/text HTTP/1.1
Host: api.pdf.co
Content-Type: application/json
x-api-key: YOUR_API_KEY
Content-Length: 83

{
    "url": "https://fileurl",
    "profiles": "{'ExtractColumnByColumn': true}"
}

Zapier

In Zapier, kindly open your PDF.co action and copy-paste the following in the Custom Profiles field.

{'ExtractColumnByColumn': true}

Integromat/Make

In Integromat/Make, kindly open your PDF.co module and copy-paste the following in the Custom Profiles field.

{'ExtractColumnByColumn': true}