PDF to CSV converter

Pick the pages, check the columns and download the table.

Drop a PDF hereor click to choose one from your computerA purchase order, a price list or a packing slip. The PDF is read in this browser and never uploaded.

How to convert a PDF to CSV

  1. Click Open a PDF, or drop the file on the box. The PDF is read in your browser and never uploaded.
  2. Type the pages that hold the table, such as 1-3. The converter finds the table on each page and joins the pages into one table.
  3. Check the copper column lines drawn on the page. Drag a line to move it, double-click the page to add one, or select a line and press Delete.
  4. Choose the header row. Tick Clean numbers if you want amounts that a spreadsheet can add up.
  5. Click Download CSV or Download .xlsx. Copy for Excel copies the table as tab-separated text, ready to paste.

To see it work first, click Try a sample PO or Try a price list. The PDF reader is pdf.js, an open source library supported by Mozilla. It loads from a public CDN the first time you open a file.

How the converter finds a table in a PDF

A PDF records where each piece of text sits on the page. The PDF Association's FAQ notes that unlike HTML, PDF does not define tables in its graphical model. A tagged PDF can add table structure, but not every PDF has tags. This converter rebuilds the table from the positions of the words, in four steps.

When a table runs over several pages, the columns come from the first page, and every page with the same layout joins the table. A repeated header row is dropped. A page whose table has other columns is named in the status line and left out, so two tables never mix.

Read every emailed purchase order into your ERP

Tell Derik how purchase orders reach your order desk and which ERP they are keyed into. He will tell you what a four-week build would cover.

Start a conversation

A worked example: a one-page purchase order

The sample is a purchase order from a conveyor builder to an industrial supplier, printed to PDF from a web page. Its eight lines sit between an address block and a block of totals. The converter keeps the header row and the eight lines and leaves the rest out. Three of the rows it returns:

LinePart numberDescriptionQtyUnitUnit priceAmount
1TB-50-3Square tube 50 x 50 x 3 mm, 6 m length24ea$86.40$2,073.60
3HB-M10-30Hex bolt M10 x 30, grade 8.8, zinc plated, box of 10012box$21.75$261.00
8DISCVolume discount, as quoted1ea($245.00)($245.00)

Line 3's description holds three commas, so the CSV puts it in double quotes to keep it in one cell. With Clean numbers ticked, $2,073.60 becomes 2073.6 and the discount of ($245.00) becomes -245. The eight amounts add up to $10,253.60, the subtotal printed on the PO, which is a quick way to check that no line went missing.

Clean numbers before they reach Excel

Amounts in a PDF carry formatting that a spreadsheet reads as text. With Clean numbers ticked, the converter writes them as plain numbers:

Part numbers that hold letters or dashes stay as they are. A number with a leading zero, such as 00125, stays as text so the zeros survive, and percentages are left alone. The CSV follows RFC 4180: a cell that holds a comma, a quote or a line break is enclosed in double quotes. The CSV file is UTF-8 with a byte order mark. With Clean numbers ticked, the .xlsx file stores amounts as numbers, under a bold, frozen header row.

Scanned PDFs need OCR first

A scanned page is a picture of text. Adobe's Acrobat help notes that a scanned document holds only image data until text recognition adds a searchable text layer. This converter reads the text layer, and it says so when a PDF has none. For a short table, take a screenshot and read it with the image to text converter, which runs OCR in your browser. Check the numbers afterwards, because OCR can misread a decimal point.

Other ways to get a PDF table into Excel

This page suits a PDF you would rather not upload, and a table you want to check row by row before it reaches a spreadsheet. For a supplier price list, it gives you a table to compare with your current costs in Excel.

Reading purchase orders on every order with AI

A converter handles one PDF at a time, and someone still checks every part number and price before keying the order. An order desk system does that work for each purchase order that arrives by email. It reads the PDF and matches each line to your item list and the customer's price. It flags what differs and drafts the ERP order for a person to approve.

See order entry automation for how ThriveAI sets it up. The guide to the sales order shows where a customer's PO lands in the ERP. Text extraction from images compares the ways to read documents into fields.

Questions

Can you turn a PDF into a CSV?
Yes, when the PDF has a text layer. Open it on this page, choose the pages and check the column lines, then download the CSV. A PDF exported from an ERP, an accounting system or a web page has text. A scanned page does not, so it needs OCR before any converter can read it.
How can I convert a PDF file to CSV format online?
Open the PDF on this page. The converter finds the table, draws its column lines on the page and shows a preview, and Download CSV saves the file. It runs in your browser, so the PDF is never uploaded. There is no signup, and it reads up to 300 pages of one PDF at a time.
How do I convert a PDF to Excel without losing formatting?
Fonts, colours and borders do not survive a conversion to CSV, because CSV holds only values. What matters is that each value lands in the right column, so check the column lines before you download. Tick Clean numbers, and Download .xlsx gives you a workbook with amounts stored as numbers and a bold, frozen header row.
Can ChatGPT convert a PDF to Excel?
ChatGPT can read a PDF you upload and give you a table as a CSV file, which opens in Excel. The PDF is uploaded to OpenAI to do that. OpenAI's help notes that it may not extract exact values reliably from scanned files or tables that are images, so check the totals either way.
Why are two columns merged in my table?
The gap between them does not line up on every row, so the converter did not treat it as a column boundary. Double-click the page between the two columns to add a line, then drag it into the gap. Detect again brings back the columns the converter found on its own.
Does it work on scanned PDFs?
No. A scanned PDF holds pictures of the pages and no text, and the converter tells you when it finds no text layer. Run text recognition in Acrobat or another PDF reader first. For a short table, take a screenshot and use the image to text converter on this site.
Is my PDF uploaded?
No. The PDF is read in your browser with pdf.js, which loads from cdn.jsdelivr.net the first time you open a file. Nothing from the PDF is sent anywhere. The page counts how often the tool is used, with the number of pages, rows and columns, and the file size. It never records the file or what is in it.

Contact

Read every emailed purchase order into your ERP

Tell Derik how purchase orders reach your order desk and which ERP they are keyed into. He will tell you what a four-week build would cover.

Prefer to talk? Book a meeting.

Your message goes to Derik Lawlis, the founder.