How the converter finds rows and columns
A PDF does not store a table as a table. It stores each word with a position on the page, and the lines of a grid, if there are any, are drawn separately. The converter reads those positions with pdf.js, Mozilla's open-source PDF engine. Words on the same baseline become one row. Then it looks down the whole page for vertical strips that no word crosses: each strip marks the edge between two columns. Because the columns come from where the text sits, the same method works for tables with ruled borders and for borderless layouts where the columns are only lined up, as on most bank statements and invoices. A description that wraps onto a second line is joined back to its row, and column titles printed close together are split where the figures below them say they belong.
Numbers you can add up
Copying from a PDF usually gives text that looks like numbers but will not add up. Here every cell is checked. 1,250.00, 1.250,00 and 1 250 are read with their thousands separators; a minus sign before or after the figure and accounting brackets such as (4,000.00) make a negative; currency labels such as AED, SAR, QAR, KWD, $ and د.إ are removed; percentages become fractions shown with a percent format; and Arabic-Indic digits such as ١٢٥٠٫٧٥ are converted. Cells keep the decimal places they had, including the three decimals used for Kuwaiti, Bahraini and Omani amounts. Values that must not change stay as text: account and phone numbers, anything with leading zeros, dates, and figures longer than 15 digits, which is the precision limit Microsoft documents for Excel.
Arabic and bilingual tables
Arabic tables read from right to left, so their first column is on the right. When most of the text on the pages is Arabic, the converter puts that first column in column A and switches the sheet to right-to-left view, so the spreadsheet looks like the PDF. Words inside a cell stay in reading order, and mirrored brackets around negative amounts are understood. Bilingual statements with English and Arabic side by side work too: each cell keeps its own text, and the sheet direction follows the language that fills most of the page.
One sheet per page or one long table
With one sheet per page, each page of the PDF becomes its own tab named after the page number, which suits reports where every page holds a different table. For a statement or ledger that runs across many pages, choose all pages in one sheet: the columns are worked out from all pages together so that they line up, and the bank name, account details and column titles repeated at the top of every page are kept only once. Use the page range to skip a cover page or the terms and conditions, for example 2-14.
Scanned PDFs: the OCR option
When a page has no text layer, as in a scan or a phone photo saved as PDF, the converter offers "Read scanned pages with OCR". Each scanned page is drawn at about 210 dpi and straightened, and the ruled lines of the table are removed so they are not read as letters. Tesseract, the open-source OCR engine, then reads the words and their positions in your browser, and the rows and columns are rebuilt exactly as for a text PDF. On Arabic pages, numbers and dates are read a second time with the English model, which keeps repeated digits that the Arabic model sometimes drops. The first time, the browser downloads the engine and language data (about 4.4 MB for English, 3.1 MB for Arabic, 6.0 MB for both) and keeps them for next time. In our tests on clean 200 dpi scans of printed tables, about 96 to 98 of every 100 cells of English tables and about 88 of every 100 cells of Arabic tables came out exactly right; the rest had a misread character or digit, for example 1,525.00 instead of 1,275.00. Each page took about 3 to 5 seconds on a 4-core computer once the engine was loaded. Blurred photos, handwriting, stamps over figures and very small print cause more mistakes, so check totals against the PDF.
Limits, honestly
The converter reads the text that is inside a PDF. A scanned or photographed document is a picture of text: the OCR option can read it, but OCR can mistake a character, and a wrong digit still becomes a number in Excel, so compare important figures with the PDF. A PDF that needs a password to open must be unlocked first with Unlock PDF. Charts, images and colours are not copied, merged cells come out as separate cells, and a page with several unrelated tables side by side may get extra empty columns. Dates stay as text, so 03/04 is never silently turned into the wrong day and month. Files up to 100 MB are accepted; the work happens in your device's memory, so a phone with little memory may struggle with very large files. To get the plain text of a scan use image to text, and for plain text without columns use PDF to text.