Recover PDF tables and prepare the values for Excel

Review layout worksheets, leading zeros and inferred columns before converting text into usable calculations.

A PDF table contains a visual arrangement of labels and values. It usually does not contain the original spreadsheet formulas, cell types or workbook relationships. Recovering it into Excel is therefore a two-stage task: first preserve and inspect the visible information, then deliberately prepare the values for calculation.

Decide whether you need layout or analysis

A layout copy helps someone compare the worksheet with the PDF. An analysis table needs a consistent header row, one record per row and dependable data types. Those goals are related, but they are not identical. A title merged across several columns may be useful in a reading copy and awkward in a sortable data table. Keep the recovered layout sheet as evidence while preparing a separate analysis sheet.

If the original XLSX is available and trustworthy, use it instead. That is the best route to formulas, validation rules, source relationships and meaningful sheet names. Confirm the revision before assuming the workbook matches a published PDF. An export made last month may not contain this week’s corrected figures.

Understand AllDoc’s page-based output

PDF to Excel creates a worksheet for each PDF page, named “Page 1,” “Page 2” and so on. Text and detected tables share a coordinate-based layout on that page’s worksheet. The converter approximates common fonts, colours, fills, borders, merged spans and spacing. It does not simply turn every visual row into a clean database record.

Bordered tables are easier to identify than text aligned by spaces alone. Some consistent borderless arrangements can be inferred, with a warning in the result notes. Surrounding prose is retained where a safe layout can be built. Images and non-table graphics are not recreated, and the notes identify relevant omissions. Fonts are not embedded, so a viewer may substitute them and change wrapping or printed size.

Treat recovered values as literal text first

The output stores extracted values as literal strings. That preserves an identifier such as “00120” and prevents a visible string beginning with an equals sign from silently becoming an Excel formula. It also means that an apparent number may initially behave as text. This is intentional: automatic interpretation could change identifiers, dates and punctuation before you have checked them.

A PDF showing “125.00” does not reveal whether the original workbook calculated that value, typed it manually or displayed a rounded result. Formulas cannot be recovered from those printed characters. Rebuild calculations only when you understand their business meaning, and compare the new result with a separately verified source. A matching total alone does not prove that every row is correct.

Worked example: a fictional purchasing table

Imagine a two-page purchasing summary with columns for item code, description, quantity and amount. One code is “00120,” an amount is “1,250.00,” and a note below the table says “Prices exclude delivery.” The second page repeats the column headings and contains the final total. After conversion, first verify those values and the note on the two Page worksheets.

Create an “Analysis” sheet in your own workbook. Copy only the actual records, keep item codes as text, and remove the repeated second-page heading from the data range. Record the source page for each row in a new column. Convert quantity and amount deliberately using the decimal and grouping conventions of this document. “1,250” can mean different things in different regional formats, so do not remove punctuation indiscriminately.

Count the records, compare the first and last item on each page, and calculate a new subtotal. If it differs, inspect signs, decimal points, missing rows and wrapped descriptions. Preserve the delivery note beside the analysis because it qualifies the amounts. This example describes a review method, not a claim that any automated conversion has verified purchasing data.

Separate wrapped text from separate records

A long description may occupy two printed lines within one table cell. In the recovered layout, that wrapping must not be mistaken for an extra item. Conversely, two short records close together must not be combined merely because their borders are faint. Compare the vertical positions, row boundaries and neighbouring columns with the PDF before joining or splitting content.

Merged cells need special attention. A category label spanning three rows can apply to all three records even though it appears once. In an analysis sheet, you may need to repeat that category value for every record. Make this a documented cleanup step rather than an invisible edit to the preserved recovery sheet.

Review both pages and result notes

Open the output in the spreadsheet program you intend to use. Inspect zoomed cell content and the print preview separately. Layout sheets can contain narrow spacing columns or small gap rows that reproduce page positions but are inconvenient for ordinary editing. Do not delete them wholesale until you have made a separate analysis copy. A tidy-looking worksheet can still contain misplaced data.

AllDoc retains genuinely blank PDF pages as worksheets, although some spreadsheet applications skip blank sheets when printing. Unsupported graphical content, inferred tables and character cleanup can be reported in result notes. Compare the notes with the source page rather than ignoring them because the download succeeded. The existing Excel formatting case study provides public synthetic examples and distinguishes earlier outputs from the newer page-layout approach.

Current limits and unsuitable sources

The conversion accepts PDFs up to 15 MiB and 100 pages. Additional limits bound text, table count, cell or grid positions, individual cell text and output size. The current implementation supports up to 350,000 extracted characters, 100 detected tables and 30,000 relevant cell or grid positions. These limits protect the service; a small PDF can still have an excessively complex layout.

Scanned pages need OCR elsewhere; this tool does not read text from a photograph. Pages with unsupported overlap or no safe editable text are rejected rather than treated as empty. If a file mixes a readable table with a photographed appendix, account for that appendix separately before selecting a narrower, authorized range. Do not remove pages solely to conceal a conversion warning from the eventual reader.

Checklist before calculating or sharing

If your goal is a readable PDF from a real workbook, start with Excel to PDF and the print preparation guide. If your goal is translating labels while keeping an existing workbook, use Translate document on the XLSX and review its specific preservation limits. Avoid a PDF round trip when the structured source already exists.

Open dedicated page ↗