PDF to Excel
Turn tables into spreadsheet rows.
Finds the tables in a PDF and saves them as an Excel workbook (.xlsx) for Excel, Numbers, LibreOffice and Google Sheets.
How to use it
- Choose a PDF with selectable text. For scanned PDFs, run OCR PDF first.
- Optionally enter the pages to read, such as
3-5. - Choose one sheet per table, or one sheet per page to keep the text around each table (it goes in column A).
- Select Convert to Excel and download the
.xlsxfile.
Options
| Option | Values | Default |
|---|---|---|
| Pages | Page numbers or ranges, for example 1, 3-5 | All pages |
| Sheets | One of one sheet per table, one sheet per page | one sheet per table |
Output
An .xlsx file with numbers stored as numbers, ready to sort and add up: thousands separators are removed, and currency signs, percentages and negatives in brackets become the cell’s number format. Codes with leading zeros, such as 00123, stay as text.
How tables are found
superPDF reads the position of every piece of text on the page and the lines drawn on it. A table drawn with grid lines (dashed ones included) is read cell by cell from its lines: text that wraps inside a cell stays in that cell, a cell whose column line stops short spans the columns it covers, and columns separated only by space inside a ruled column are split. Cells drawn as separate boxes with small gaps between them are one table, and header labels with no lines between them keep a cell each. Tables without grid lines are found from the text: text on the same line is split into cells where there is a clear gap, and lines with two or more cells that sit close together become a table. Columns come from where the cells line up, so right-aligned numbers and centred headings land in the right column, and an empty cell stays empty. Header labels that wrap over several lines are joined into one header row, a column holding only currency signs joins the amounts beside it, and short group labels between rows stay in the table. Identical tables printed side by side are kept apart. Text that only lines up like a table is left as text: lists set in columns, profiles or cards side by side, a row of tabs, the labels of a chart over its axis, and columns of running text. A table that carries on at the top of the next page, with the same columns, is joined to the first part, and a repeated header row is dropped. A first row of labels over rows of numbers is made bold, and on a table’s own sheet it stays in view when you scroll.
Charts
Bar, line, dot, area and pie charts drawn in the PDF are read as data: each becomes a sheet named Chart with a row per category (a year, a country, a slice) and a column per series, named from the chart’s legend. Numbers printed on the chart are copied as printed. Other values are measured from the drawing against the chart’s axis (each band of a stacked area by its own height), or for a pie from the angle of each slice, and rounded to suit it, so they are close to the real figures but not exact; Markdown, Word and HTML say so under the table. Bars and lines with no numbered axis are read when a number is printed at each bar or point. A chart is read only when its axis, labels and legend line up clearly. A bar chart set as a picture is read with superPDF OCR, from its words and the bars in its pixels; other charts that are pictures are left out rather than guessed.
If no tables are found, you get one sheet per page with each line of text in its own row.
Limits
No file size or page limit. Everything runs on your device, so very large files are fastest on a computer.
- In tables without grid lines, columns need visible space between them; columns that almost touch are joined into one, and a cell that wraps onto several lines can become several rows.
- In the spreadsheet, a cell spanning several columns goes in the first of them.
- Dates stay as text, and numbers written with a decimal comma (
1.234,56) stay as text. - Scanned pages have no text to read; run OCR PDF first.
Privacy
Runs in your browser. Your files are processed on your device and never uploaded.