TinyFileLab

Home›PDF›PDF to Excel

Nothing is uploaded — it all runs on your device

PDF to Excel converter

Turn the tables in a PDF, from bank statements to price lists, into an .xlsx workbook with real numbers and dates. The PDF is read on your device and never uploaded.

Drop a PDF here or tap to choose — statements, invoices, reports with a text layer

Choose a PDF. Its tables are read on your device and written to an .xlsx workbook.

Statements stay on your deviceBank and card statements are read by this page; nothing is uploaded or kept.
Numbers you can add up$1,234.56, (50.00) and 12% become real values with matching formats, not text.
Dates Excel understands03/04/2024 is only converted when the column proves which way round it is.

How a PDF table becomes rows and columns

There is no table inside a PDF. A bank statement that looks like a grid is, in the file, a few hundred instructions of the form “draw 4,706.52 at 545 points from the left, 702 from the bottom”. Some generators draw a row left to right, some draw a whole column top to bottom, some draw every character separately. Getting a spreadsheet back means rebuilding the grid from positions alone, which this page does in four steps, all of them in your browser.

  • Rows. Every piece of text is placed on the page by running the PDF’s drawing instructions, then grouped by baseline: things sitting on the same line, within about half a line height, are one row, regardless of the order the file drew them in.
  • Cells. Inside a row, a horizontal gap wider than about one letter-width starts a new cell. Typewriter-style reports that pad columns with runs of spaces are split on those spaces.
  • Columns. Across all the rows, the page has vertical strips that nothing is ever written in. Those strips are the column gutters. A few rows are allowed to cross a gutter (a long description, a “Total” line) without destroying it. With Same columns on every page, the gutters are worked out once for the whole document, so a page with no deposits on it does not shift the balance column one to the left.
  • Columns that touch. Many statements print the date and the description only a few points apart, too close for the gap rule. If, in most rows, a word starts at exactly the same distance from the left edge, that edge is a column boundary too, and the cell is split there. A comma just before it (as in “Jan 02, 2024”) stops the split, so dates stay whole.

Numbers, dates and the things Excel gets wrong

Pasting statement text into Excel leaves you with a column of text that happens to look like money: it will not sum, sort or chart. Here each cell is checked and, if it is a value, written as one. $1,234.56 becomes 1234.56 shown with a dollar format; (50.00) and 50.00-, the two ways accounts print a debit, become −50 with the bracket style kept; 12.5% becomes 0.125 shown as a percentage. If any amount in a column has a thousands separator, the whole column is given one, so 50.00 and 1,200.00 line up.

Dates are the hard part. 03/04/2024 is the 4th of March in New York and the 3rd of April in London, and nothing in the cell says which. So the decision is made per column: if any date in it has a first number above 12 (14/03/2024), the column is day-first; if any has a second number above 12, it is month-first. If every date in the column could be read either way, the column is left as text and the report under the preview says so, so you can choose the order yourself. Dates written with month names (14 Mar 2024, Mar 14, 2024) and ISO dates (2024-03-14) are unambiguous and always converted. Dates without a year, as many statements print them (03/14), stay as text; guessing the year would be wrong every January.

Some things look like numbers and must not become them. A ZIP code or account number with a leading zero (02134) stays text, because Excel would drop the zero. So does any run of digits longer than Excel can hold exactly (card numbers, 16-digit references): Excel keeps 15 significant digits and silently turns the rest into zeros.

Headers, footers and wrapped descriptions

Multi-page statements repeat the bank’s name, the page number and the column headings on every page. Left in, they would scatter “Date | Description | Amount” through the middle of your data. Lines that recur at the same height on at least half the pages are dropped, as are page-number lines; the first copy of the column headings is kept so your sheet still has them. Rows that only differ in their digits are only treated as running headers at the top or bottom edge, and only when they carry a page number, because in the body of a statement two transactions can easily differ only in their digits.

A long merchant name often wraps onto a second line with nothing else on it. With Join wrapped lines on, a line that sits close under a row, has text only in columns that row already uses, has nothing in its first column and contains no amounts is joined onto the row above, so each transaction is one row.

What it cannot do

Scanned statements have no text, only a picture of text, and produce no rows; the report lists those pages. There is no OCR here. Tables drawn only with ruled lines and cells touching each other with no gap can merge columns; try Narrow gaps. Two tables side by side share one set of columns and come out interleaved on the same rows. Merged header cells centred over several columns are filed under one of them. Everything that is not a table, such as address blocks and terms and conditions, still comes through, one line per row, so nothing on the page is silently thrown away; delete what you do not need.

Common questions

Is my statement uploaded?

No. The PDF is opened and converted by JavaScript running in this page, and the .xlsx is written in your browser. There is no server that could receive it: load the page, switch off your connection, and the conversion still works.

Why do my amounts come out as numbers but some dates stay as text?

Because a date like 03/04/2024 can mean two different days. A column is only converted when one of its own dates proves the order (a day above 12) or when you choose Month first or Day first. Dates with no year are left as text too.

Will the columns line up across pages?

With Same columns on every page selected, the column positions are worked out once for the whole file, so a page where one column happens to be empty still lines up with the others. Choose Work out each page on its own for documents whose pages have different layouts.

The date and description ended up in one cell. What can I do?

Choose Narrow gaps under Split cells at. Most statements are also caught automatically: when a word starts at the same position in most rows, that position is treated as a column edge even if the gap before it is small.

Does it work on scanned PDFs?

No. A scan is a photograph of the page with no text in it, and this tool does no optical character recognition. The report says which pages have no text layer. If the scanner ran OCR when it made the PDF, that hidden text is read normally.

Can it open password-protected PDFs?

Statements that only restrict copying or printing open without a password. If the PDF asks for a password to open at all, type it into the box that appears; it is used on your device and never sent anywhere.

Why is a long account number shown as text?

Excel stores numbers with 15 significant digits. A 16-digit card number would have its last digit replaced with a zero, and an ID with leading zeros would lose them. Both are kept as text so they stay exactly as printed.

Which programs open the file?

Excel 2007 and later on Windows and Mac, Excel for the web, Google Sheets, Apple Numbers and LibreOffice Calc. It is a standard .xlsx workbook with one sheet, or one sheet per page if you choose that.