PDF to Excel
PDF to Excel turns selectable text from a PDF into a real Microsoft Excel .xlsx workbook. It extracts every text fragment with its coordinates, then groups fragments that share roughly the same vertical position into rows and splits those rows into columns where horizontal gaps appear. The result is a single worksheet containing the extracted values. This approach works best on digitally generated documents with consistent alignment, such as bank statements, GST invoices, or school marksheets that were originally created from spreadsheets. Most tools on this site run in the browser. Optional OCR or AI features such as Summarize PDF send the file to a server only after the user consents. Soft limits are about 120 MB or 150 pages.
How the tool forms rows and columns
The parser reads the PDF text layer with PDF.js and collects every text item along with its baseline y-coordinate and left x-coordinate. Items whose y-values fall within a small fixed tolerance are placed on the same row. Within each row the items are sorted left-to-right and separated into distinct columns whenever the horizontal gap exceeds a threshold. The resulting grid becomes the cells of the first worksheet in the .xlsx file. Multiple pages are stacked vertically into that single sheet; there is no automatic sheet-per-page option.
Because the method relies only on text positions, it succeeds when columns are evenly spaced and text is cleanly aligned. A typical Indian GST tax invoice that lists HSN codes, quantities, and amounts in fixed columns usually converts cleanly. A bank statement that prints transaction rows with consistent left and right margins also works well. The tool does not examine vector lines, rectangles, or any PDF table structure, so a table defined purely by drawn borders with loosely placed text can be split into the wrong number of columns or merged incorrectly.
Numeric-looking values are stored as numbers so they can be summed in Excel; everything else remains text. Empty regions produce empty cells. Headers that repeat on every page are included each time they appear because pages are processed independently.
What the finished workbook contains and what is left out
The output is a standard .xlsx package that opens in Excel, LibreOffice Calc, and Google Sheets. Only the text layer is transferred. Images, vector graphics, annotations, form fields, and any drawn borders are ignored. Font styling, colors, and merged cells from the PDF are not reproduced; every cell receives plain content. Footers and page numbers appear as ordinary cells if they contain selectable text.
The sheet contains no formulas, charts, or pivot tables. It is a static grid of the extracted values. If the original PDF was generated from an Excel file, the conversion recovers the visible data but not the original formulas or formatting. A school marksheet that shows subject codes, marks, and grades in columns will produce a usable sheet, yet you will still need to add any totals or conditional formatting yourself.
Scanned pages or pages whose text is rendered as paths yield little or no content because the tool never runs OCR. Password-protected files must be unlocked first with the Unlock tool.
Quality gotchas, limitations, and when to choose another approach
Column detection is a best-effort layout guess. Tightly kerned text or unusual spacing can create extra columns, while widely spaced columns may be joined. Complex multi-column layouts or overlapping text can produce jumbled results. There is no interactive correction step; any cleanup must be done in Excel after download. Very large documents can strain browser memory while the text items are collected and the workbook is assembled.
If you need perfect reconstruction of an original spreadsheet, including formulas and formatting, the best path is to obtain the source .xlsx rather than convert from PDF. For pure image or scanned tables, run OCR first or use a dedicated table-extraction service that can handle image-based content. Desktop tools such as Excel’s own Power Query or third-party PDF-to-Excel converters sometimes offer border detection, but they require the file to leave your device and often impose their own limits.
Always open the downloaded workbook and spot-check totals or header rows before relying on the sheet for calculations. A railway ticket PDF or an Aadhaar-related form that mixes text and graphics will usually leave the graphics behind and may place labels in unexpected columns.
How to use this tool
- 1Open the PDF to Excel tool and select a PDF that contains selectable text and stays within the size guidance shown on the page.
- 2The browser extracts every positioned text fragment locally.
- 3Fragments are grouped into rows by approximate vertical position and into columns by horizontal gaps.
- 4An .xlsx workbook is built from the resulting single-sheet grid.
- 5Download the Excel file.
- 6Open it in a spreadsheet application, verify column alignment, and remove any repeated headers or fix split columns if needed.
- 7If the source was a scan, run OCR first or choose a different extraction method.
Tips and limitations
- Works best on digitally generated tables with consistent alignment, such as GST invoices or bank statements.
- Drawn borders are ignored; only text positions determine columns.
- Pure image or scanned pages produce empty or nearly empty sheets.
- Expect to tidy the sheet in Excel; the automatic grouping is approximate.
- Unlock password-protected files before conversion.
- Keep the original PDF if you may need to re-extract with different settings later.