Home Articles
Categories
AI AI & tech business Cybersecurity Files & PDF guides Gadgets Gaming tech File tools About Contact

How to Copy a Table From a PDF Into Excel (Without Retyping It)

How to Copy a Table From a PDF Into Excel (Without Retyping It)

How to Copy a Table From a PDF Into Excel (Without Retyping It)

0 comments 8 views

Short answer: To copy a table from a PDF into Excel, don't use copy and paste. Use a converter that rebuilds the table structure, such as Excel's own Get Data > From PDF on Windows or a PDF to Excel tool. Then tidy merged cells in Excel. If you can't select the text in the PDF, it's a scan and needs OCR first.

Why you can't simply copy a table from a PDF into Excel

A PDF has no real "table". It places pieces of text at coordinates and draws lines between them. When you copy, you get the text in drawing order, often one value per line, and Excel puts it all in column A. A proper converter looks at where each piece of text sits and works out which values share a row and a column.

Step 1: Check that the PDF contains real text

Try selecting a single number in the table. If it highlights on its own, the PDF has a text layer and any method below will work. If the whole page highlights as an image, it's a scan. Skip to the scanned-PDF section.

Method 1: Excel's PDF import (Windows, Microsoft 365)

  1. In Excel, go to Data > Get Data > From File > From PDF.
  2. Choose the file. The Navigator lists every table and page Excel detected.
  3. Select a table to preview it, then click Load, or Transform Data to clean it in Power Query first.

Microsoft introduced this PDF data connector as part of Get & Transform. The underlying function is documented as Pdf.Tables. It suits recurring reports, because you can refresh the query when a new month's PDF arrives. Older editions such as Office 2019 Home & Student, and Excel for Mac, may not have it.

Method 2: A browser converter

The CyberBrox PDF to Excel converter extracts tables from PDFs with selectable text into an .xlsx file. It handles files up to 25 MB. You can convert all pages or a range such as 1-3,5, and it runs in your browser without uploading. This is the quickest route on a Mac, a Chromebook, or an Excel version without the PDF connector.

Only the data comes across. Colours, borders and fonts don't.

Method 3: For one small table, paste and split

For a five-row table, copying may be fastest. Paste into Excel. If everything lands in one column, use Data > Text to Columns and split on spaces or tabs. This works badly when values contain spaces, such as "New York", so treat it as a last resort.

Tidying the result

  • Merged header cells often split across two rows. Combine them into one header row.
  • Multi-line cells (a description that wraps in the PDF) can become two rows. Join them back together.
  • Numbers stored as text show a green triangle. Select the column and use Convert to Number.
  • Thousand separators and currency symbols may need Find & Replace before you can calculate with the values.
  • Page headers and footers repeated on every page can turn up as extra rows. Filter and delete them.

The PDF is a scan

A scanned bank statement or invoice is a picture, and table extractors can't read pictures. First run it through Image to Text (OCR) to get the text. For a short table, that's usually enough to rebuild it in Excel. For a long one, a dedicated table OCR tool is worth it.

Frequently asked questions

Why is a column shifted on some rows?

Blank cells in the PDF give the converter nothing to align on, so values slide left. Check rows with empty cells first.

Can I convert only one page?

Yes. Choose a page range in the CyberBrox converter, or pick a single table in Excel's Navigator.

Is my PDF uploaded?

No. The CyberBrox PDF to Excel tool runs in your browser.

Going the other way? See how to fit an Excel sheet on one page as a PDF.

Sources

Get the best articles by email

Free, no account needed. Unsubscribe any time.

What would you like to get?

We will email you a link to confirm. Privacy policy

0 Comments

Sign in to join the discussion (you can keep reading without an account)