Link Search Menu Expand Document

PDF to CSV - Number of columns don’t match in a 2-page table.

Pages in PDF documents are unrelated and analyzed individually. The table has a different structure on different pages, so the number of detected columns differs too.

The only way in your case to get correct columns is to specify explicit column coordinates.

Here’s a sample request if you are using the API directly:

https://api.pdf.co/v1/pdf/convert/to/csv

{
   "name": "result.csv",
    "async": false,
    "inline": false,
    "profiles": "{ 'CustomExtractionColumns': [ 0.0, 55.0, 400.0, 444.0, 479.0 ] }",
    "url": "YOUR_URL"	
}

If you are using PDF.co through Zapier or integromat, add the following string to “Custom Profiles” field:

{ 'CustomExtractionColumns': [ 0.0, 55.0, 400.0, 444.0, 479.0 ] }