New: Markdown to PDF built for AI agents, PDF to E-Invoice for Factur-X/ZUGFeRD, and PDF to PDF/A for archive-ready PDF/A-3b.

Export PDF to CSV Online with PDF.co

10 MIN READ

In this tutorial, you’ll learn how to convert a PDF table to CSV with PDF.co and Zapier, then save the file in Google Drive.

CSV stores rows and values rather than the PDF’s visual design. Extraction results depend on the table’s layout and, for scanned documents, OCR quality.

Select a PDF from Google Drive

Create a Zap and select Google Drive’s New File in Folder trigger.

Connect your Google Drive account, choose a source folder, and test the trigger with a PDF containing a table you can compare with the result.

Use the trigger’s File output for the PDF.co input. This route does not require changing the original Drive file to public sharing. A browser preview link is different from Zapier’s file value.

See the file-source guide for the expected inputs from other storage services.

Keep the source folder limited to PDFs and use a separate destination folder for converted files.

Configure PDF to Anything

Add PDF.co and select PDF to Anything Converter. Connect your account by signing in to PDF.co and authorizing access.

Configure these settings:

  • Output Format: Select CSV.
  • Source File URL: Map the Google Drive trigger’s File value.
  • Page Selection: Leave blank for all pages, or specify the pages containing your table.
  • File Name: Enter table.csv.
  • OCR Language for Scanned Documents: Select the document’s language when processing scanned pages.
  • Extraction Region: Leave blank to process the full pages.
  • Custom Profiles: Leave blank for the initial test.

Page selection starts at 0: enter 0 for the first page or 0-2 for the first three pages.

If Inline Output Option is displayed, leave it off to receive a downloadable file URL. Start with the default table settings; adjust line grouping or other extraction options only after identifying a specific issue.

Refer to the PDF to Anything documentation for the available settings.

Inspect the Extracted Rows

Test the PDF.co action and confirm that it completed without an error. Open the CSV using the successful url output.

Compare the result with the PDF, checking:

  • Values appear under the correct column headings.
  • Multiline descriptions remain associated with the correct row.
  • Repeated page headers are not mistaken for data.
  • Decimal separators, negative values, and totals match the source.
  • Scanned characters and numbers were recognized correctly.

A PDF can position text to resemble a table without storing actual rows and columns. Irregular layouts may require extraction adjustments or cleanup. A successful conversion does not guarantee that every cell is correct.

Save the CSV in Google Drive

Add Google Drive’s Upload File action and configure:

  • Drive: Select the destination drive.
  • Folder: Select a folder separate from the trigger folder.
  • File: Map PDF.co’s successful url output.
  • File Name: Enter table.
  • File Extension: Enter csv.
  • Convert to Document?: Select No to retain the CSV file.

Test the upload and open the stored copy. PDF.co’s output URL is temporary, so transfer the file before it expires.

For repeated runs, use a source-based filename, such as the original file’s ID followed by -table.

Review Spreadsheet Import Settings

When importing the CSV into a spreadsheet or another application, check how values are interpreted.

Keep identifiers with leading zeros as text. Confirm that dates, decimal separators, and currency values match the PDF rather than being automatically reformatted incorrectly.

Keep the source PDF available until the imported rows have been checked. Once the saved CSV and import settings meet your requirements, publish the Zap.

Check the Tutorials section of our website for many more guides on document manipulation.

Was this page helpful?

Related Tutorials

See Related Tutorials

Try it with your document.

Create an account, get an API key and test a request.

Get Started Free

© Copyright 2016-2026 Artifex Software, Inc d/b/a PDF.co — All Rights Reserved