Convert a PDF table to Excel or CSV
Drop a PDF below and download the table as Excel (.xlsx) or CSV. Fileshape reads the text in the PDF, finds the table's header row, lines every value up under its column, joins tables that run across pages and keeps wrapped descriptions in a single row. It works on PDFs with selectable text and runs in your browser.
Drop a file to convert
CSV, Excel, JSON, XML and more. It stays on your device; nothing is uploaded.
What kind of PDF works
PDFs exported from software (bank statements, invoices, reports and price lists) contain real text with positions, which is what the converter reads. If you can select and copy text in the PDF, it will work. Scanned documents and photos are only images of text, so no table can be found in them; they would need OCR first. Password-protected PDFs work too: you're asked for the password and it isn't stored.
How the table is rebuilt
Fileshape groups the text into lines, then finds the header: the line with the most column-like words, such as Date, Description, Debit, Credit, Amount or Balance. A second header line directly underneath ("Withdrawal" over "Amount") is merged in. Each value is placed in the column it sits under, so columns stay aligned even when some cells are empty.
Long tables usually continue over several pages and repeat the header on each one; the repeats are skipped and the pages join into one table. When the table has a date column, a line without a date is treated as the continuation of the row above, which keeps wrapped narrations and descriptions together. Totals and footer lines under the table end it, so they don't appear as rows.
Excel, CSV or straight into an app
Choose Excel (.xlsx) to open the table in a spreadsheet, where plain amounts are written as real numbers, or CSV to import it elsewhere. For bank statements, the bank statement to Excel guide covers debit and credit columns, and there are ready-made layouts for QuickBooks and Xero.
Ask AI about this file
Ask ChatGPT, Claude or Cursor about your file. Fileshape cleans it, masks personal columns and gives your AI one link, so totals come from every row.
FAQ
Questions
How do I convert a PDF to Excel?
Drop the PDF into the converter on this page. The table is detected automatically; check the columns and download .xlsx (or CSV).
Does it work with scanned PDFs?
No. A scanned PDF is an image without text. It works with PDFs exported from software, where you can select the text.
Is my PDF uploaded?
No. The PDF is read and converted in your browser.
Can it handle a password-protected PDF?
Yes. You're asked for the password, which is used to open the file in your browser and isn't stored.
Related
Other conversions
- Convert Excel to CSV without breaking your dataConvert an Excel workbook to clean CSV in your browser: pick the sheet, skip title rows, keep leading zeros and choose comma or semicolon delimiters.
- Convert JSON to CSV, including nested JSONConvert JSON or JSON Lines to CSV in the browser. Nested objects become dot-named columns, arrays are joined, and the record list is found automatically.
- Convert CSV to JSONTurn CSV into a JSON array of objects, nested JSON via dot-named columns, or JSON Lines. Delimiters and quoted fields detected automatically.
- Convert CSV to Excel (XLSX) without losing leading zerosConvert a CSV to an Excel .xlsx file in your browser. Leading zeros and long IDs stay intact, numbers stay numbers, and the delimiter is detected for you.
Updated 2026-11-27