Allin PDF Allin PDF
Format Conversion · 7 min

How to Extract Tables from PDF to Excel Without Breaking the Layout (2026)

Pasting a PDF table into Excel often dumps everything into one column. Compare 4 ways to extract tables from PDF to Excel (XLSX): copy-paste, Excel Get Data From PDF, Word, and a PDF to Excel converter, plus tips for scanned PDFs.

Key Takeaways

  • ✓ Why copy-paste breaks: A PDF has no real table inside, only text placed at coordinates on the page. That is why pasted tables land in one column or shift out of place.
  • ✓ Excel can sometimes do it alone: On Windows, Excel (for example Microsoft 365) can import tables directly with Get Data > From PDF.
  • ✓ A converter is the easiest route: Allin PDF's PDF to Excel converter turns a PDF into an .xlsx file with the tables in rows and columns. Free accounts get 1 conversion per day (sign-in required).
  • ✓ The PDF type matters most: PDFs with selectable text convert cleanly. Scanned or photographed PDFs depend on image quality and need checking.

Why Tables Fall Apart When You Paste Them into Excel

A table in a PDF looks like a grid, but the file does not store rows or columns. It only stores instructions like "draw this text at this position on the page". So when you select a table in a PDF viewer and paste it into Excel, a whole row often ends up in a single cell, or the columns shift.

To move a table into Excel cleanly, something has to work out where the row and column boundaries are from the text positions and sort the text into cells. This is called table extraction. The methods below differ in who does that work and where.

4 Ways to Extract Tables from a PDF

Method Best for Watch out for
1. Copy and paste Small tables with a few rows Columns shift easily; you will need Text to Columns to fix them
2. Excel Get Data > From PDF You have Excel for Windows (for example Microsoft 365) Not available in Excel for Mac or on phones. Cannot read scanned PDFs
3. Open the PDF in Word and copy the table You have Word and the table is simple Complex layouts can break the table
4. PDF to Excel converter Many pages, several tables, or no Excel for Windows With a cloud converter, the file is sent to a conversion service

Method 2: Import a Table with Excel's From PDF (Windows)

  1. Open Excel and go to the Data tab > Get Data > From File > From PDF.
  2. Pick the PDF. The Navigator lists the tables it found (Table001 and so on) and each page.
  3. Select the table you want and click Load. It is added to the sheet as a table.

Method 4: Convert a PDF Table to Excel with Allin PDF

  1. Open the tool — Open the PDF to Excel converter and sign in with your Google account.
  2. Choose your PDF — Select the PDF you want to convert (up to 5MB on the free plan).
  3. Convert — The file is converted in the cloud by Adobe PDF Services, which creates an .xlsx file with the table rows and columns laid out on worksheets.
  4. Download and check — Open it in Excel or Google Sheets and check totals and number formats.
About privacy: PDF to Excel is a cloud conversion, so your PDF is sent over an encrypted connection to Adobe PDF Services. Allin PDF does not store your file contents. Tools like merge, split and compress run in your browser, and those files are not uploaded.

Text PDFs vs Scanned PDFs

If you can drag to select individual words in the PDF, it is a text PDF (exported from Word, Excel or accounting software). If the whole page selects as one image, it is a scanned PDF.

Factor Text PDF Scanned or photographed PDF
Character accuracy Uses the original text data, so typos are rare Needs text recognition (OCR). 0 and O, 1 and l, or 5 and S can get mixed up
Table structure Easy to detect from borders and column positions Skew and shadows make rows and columns harder to detect
Recommended method Method 2 or 4 Method 4, and always check the numbers against the original

Tips for Cleaner Table Extraction

  1. Keep only the pages with tables — Use Split PDF first to pull out just the table pages. Conversion is faster and you get fewer unneeded sheets.
  2. Scan at around 300 dpi, and keep it straight — Low resolution or a tilt of just a few degrees can throw off row and column detection.
  3. Check merged cells and tables that span pages — Headers may repeat, or cells may be split differently from the original.
  4. Fix numbers stored as text — If cells show a small green triangle in the corner, select them and use Convert to Number. Also check thousands separators and decimal points.
  5. Check the totals — For invoices and statements, make sure the totals in Excel match the original document.

FAQ

Is it free?

Allin PDF's PDF to Excel converter can be used once a day with a free account. Pro allows up to 200 conversions a day and files up to 30MB.

Can I convert a password-protected PDF?

If the PDF needs a password to open, remove it first with Unlock PDF and then convert it. You need to know the current password.

Can I get a CSV file?

The converter outputs Excel format (.xlsx). If you need CSV, open the file in Excel, choose Save As and pick CSV.

What if I only need the text, not the tables?

Use PDF to Word for regular text, or OCR to pull text out of images and scans.

Related Tools

PDF to Excel Converter

Turn PDF tables into Excel (XLSX) rows and columns.

Split PDF

Pull out just the pages with tables first.

OCR Text Recognition

Turn text in scans and images into plain text.