Convert PDF to CSV

Turn PDF documents into CSV files. Each table drawn with ruling lines becomes one CSV file, named by its page and number.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop PDF files on the dialor turn it to pick what to do

The tables from a PDF, one CSV each.Every table drawn with ruling lines becomes its own CSV file.

  1. What you get

    Each table in the PDF that is drawn with ruling lines becomes one CSV file. The file is named by the page the table is on and its number on that page.

    A PDF with several tables gives you several files. CSV is the plainest way to move a table between programs.

  2. What it leaves out

    Text outside tables is left out. Paragraphs, headings and anything else that is not a table do not appear in the CSV files.

    A PDF without tables drawn with ruling lines has nothing to extract, so the conversion stops with unsupported_elements.

  3. Pages and locked files

    Set Pages to read only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when Pages is left out.

    A PDF that asks for a password stops with input_encrypted. Set Password to open it. The password is used for this one job and deleted when it ends. A file that cannot be parsed stops with input_corrupted.

PDF and CSV.What each format is, and the options this conversion takes.

  1. 01 · pages

    Pages

    Converts only some pages. Write single pages and ranges separated by commas, such as 1-3,7. Every page is read when it is left out.

  2. 02 · password

    Password

    Opens a file that asks for a password. The password is used for this one job and deleted when it ends. Without it, a locked file fails with input_encrypted.

The formats

From · PDF

PDF

Fixed-layout pages that look the same everywhere. The exchange format for anything that will be printed or signed.

Extensions
.pdf
MIME type
application/pdf
Kind
Documents
To · CSV

CSV

Rows of comma-separated values. The plainest way to move a table between programs.

Extensions
.csv
MIME type
text/csv
Kind
Text and data

In your code.The same PDF to CSV conversion through the API, for your app or your agent.

terminal
$ cv convert report.pdf report/ --to csv
$ cv convert report.pdf report/ --to csv

Questions.What people ask about PDF to CSV.

01OF 04

No. Text outside tables is left out, and only the tables are written to CSV.

The PDF has no tables drawn with ruling lines. Only those tables become CSV files.

Yes. Set Pages to a range such as 1-3,7, and only those pages are read.

Without Password, the conversion stops with input_encrypted. Set Password and the file opens for that one job.

More conversions.Other ways in and out of PDF and CSV.