Document to Spreadsheet Converter

Extract tables from PDF, Word, and HTML documents into Excel (.xlsx) or CSV — rows and columns kept as close to the original layout as possible. Everything runs in your browser.

1 Upload a Document
📊

Drag & drop your document here

Supports .pdf, .docx, .html, .csv, .tsv, .txt — tables detected automatically

File:
Size:
Type:
Tables:

2 Extraction Options
8 pt
Lower = split into more columns • Higher = fewer, wider columns

3 Preview

What is the Document to Spreadsheet Converter?

This free, browser-based tool extracts tabular data out of documents and rebuilds it as a real spreadsheet — an Excel .xlsx workbook or a .csv file — while keeping the rows and columns as close to the original layout as possible. Unlike a plain "PDF to text" extractor that flattens everything into one unstructured stream, this tool detects where columns and rows actually are and places each value into its own cell. It works entirely in your browser: your document is read locally and never uploaded to any server.

How to Convert a Document to a Spreadsheet

  1. Upload your document — drag and drop a PDF, Word (.docx), HTML, CSV, TSV, or TXT file onto the upload zone, or click "Browse File."
  2. Let it detect the tables — the tool analyzes the layout and reconstructs the rows and columns automatically. For PDFs it reads the position of every piece of text on the page to infer the grid.
  3. Adjust options if needed — for PDFs, use the column gap sensitivity slider to control how aggressively columns are split. Choose whether each page/table becomes its own sheet or everything merges into one.
  4. Preview the result — review the reconstructed grid in the preview, switching between sheets with the tabs.
  5. Download or copy — export a multi-sheet Excel .xlsx workbook, download the current sheet as CSV, or copy the CSV to your clipboard.

How Table Detection Works

PDF documents

PDFs do not store tables as tables — they store text at x/y coordinates on a page. This tool reads the position and width of every text fragment, groups fragments that share a vertical position into rows, and then finds the empty vertical "gutters" that run down the page between columns. Each fragment is assigned to the column its position falls into, reconstructing the grid. This whitespace-projection approach is robust for genuine tabular layouts because real column gutters stay empty across most rows. The column gap sensitivity slider controls the minimum gutter width that counts as a column break.

Word (.docx) and HTML documents

Word and HTML documents store tables explicitly as table elements. The tool reads those tables directly — including cells that span multiple columns — so the output matches the source structure exactly. Each table in the document becomes its own sheet by default.

CSV, TSV, and TXT files

Delimited text files are parsed with automatic delimiter detection (comma, tab, semicolon, or pipe) following RFC 4180 quoting rules, then handed straight to the spreadsheet export so you can turn any delimited file into a proper Excel workbook.

Common Use Cases

Tips for the Best Results

Frequently Asked Questions

Is my document uploaded to a server?

No. All processing happens entirely in your browser using JavaScript. Your document is read locally and never leaves your device, so it is safe for confidential or proprietary files.

What file formats can I convert?

PDF (.pdf), Word (.docx), HTML (.html/.htm), and delimited text (.csv, .tsv, .txt). Older .doc files are not supported — save them as .docx first.

Will the spreadsheet look exactly like the original?

It reconstructs rows and columns as closely as the source allows. Word and HTML tables map almost exactly because the structure is explicit. PDFs are reconstructed from text positions, so clean tabular layouts convert very well, while complex or irregular layouts may need minor cleanup.

Can it handle scanned PDFs?

Not directly. Scanned PDFs are images with no selectable text. This tool works from the text layer of a PDF, so a scanned document would first need to be run through OCR to add a text layer.

Does it export real Excel files?

Yes. The Excel download is a genuine .xlsx workbook (not a renamed CSV), and multi-page or multi-table documents export as a multi-sheet workbook.