Conversion

How to Convert a PDF Table to Excel (Without Retyping It)

Copying a table out of a PDF usually ends badly: paste it into Excel and every row lands in a single cell, numbers turn into text, and columns slide out of place. Converting the file instead keeps rows and columns where they belong. Here's how to do it, and what to do about the cases that don't convert cleanly.

First, check what kind of PDF you have

Open the PDF and try to select a word in the table with your mouse.

Converting a PDF table to Excel

  1. If the PDF asks for a password when you open it, remove it first with Unlock PDF.
  2. Open PDF to Excel and upload the file.
  3. Download the .xlsx file and open it in Excel, Google Sheets or LibreOffice Calc.

Every table goes to its own sheet, named after the page it came from ("Page 1", "Page 2 table 2" and so on), so two tables on the same page never get mixed together. Amounts such as 12,450.00 arrive as real numbers you can sum, including negative amounts written with the minus sign after the number, as many bank statements do. Long numbers like account or ID numbers, and numbers that start with a zero, are kept as text so Excel doesn't round them or drop the zero.

Which tables convert best

Tables drawn with lines between the cells, like most statements, invoices and reports, convert cell by cell. A "table" that is really just text lined up with spaces has no cell borders to detect, so it comes out as one line of text per row in column A. That's still faster than retyping: select column A, then use Data → Text to Columns and split by spaces or by fixed width.

Tidying up in Excel

Scanned tables

A scan is a picture of a table, so there are no cells to extract. Run it through OCR first and choose Searchable PDF, then convert that file to Excel. The result is one line of text per row, which you split into columns with Text to Columns as described above. Check the numbers against the original: OCR can misread a digit, especially on a blurry photo.

Is it safe to upload?

Statements and invoices are sensitive. Files are processed on our server and deleted automatically after one hour. If you only need part of a long document, take out the relevant pages first with Split PDF. For bank and credit card statements specifically, see the guide to turning a bank statement into a spreadsheet.

Convert PDF to Excel