How to Convert a PDF Table to Excel

How to turn a table you only have as a PDF or a photo - an invoice, a transcript, a price list - into a real Excel spreadsheet.

6 min read · Updated 2026-10-05

A lot of the tables we need to work with never started life as a spreadsheet. A supplier emails an invoice as a PDF. A school sends a transcript as a scanned image. A shop's price list only exists printed on paper, so you take a photo of it. Retyping every row and column by hand into Excel is slow, and it is easy to mistype a number, especially in a long table. This guide walks through turning a table inside a PDF or a photo into a real, usable Excel (.xlsx) file, without uploading the document anywhere.

When you need to convert a PDF table to Excel

Advertisement (guide-mid)

Step by step with Dagochim

  1. Open the PDF/Photo Table to Excel tool.
  2. Drop in your PDF file, or a photo that contains a table.
  3. If the PDF has selectable text, its exact position is read directly. If it is a scan or a photo, on-device text recognition (OCR) reads it first.
  4. Check the table that appears in the editable preview. Click any cell to retype it, and use the row/column delete, merge, and split buttons to fix anything that looks off.
  5. Download the result as a real .xlsx workbook, download just the current table as .csv, or copy the table and paste it straight into a spreadsheet you already have open.

Text PDFs vs. scanned PDFs: why the results differ

A PDF that still has selectable text - for example, one exported directly from Excel, Word, or an accounting system - already stores the exact position of every letter and number on the page. That makes it possible to read the position of each piece of text, line text up into rows by vertical position, and line it up into columns by horizontal position, with high accuracy. If the original document also drew visible ruling lines for the table (the thin lines separating cells), those lines can be used to make the column boundaries even more precise.

A scanned PDF or a photo has no text information at all - it is just a picture of a document. To extract anything from it, the page (or the photo) first goes through on-device optical character recognition (OCR), which tries to recognize each word and remembers roughly where on the page it sits. The recognized words are then grouped into rows and columns the same way as with a text PDF. Because OCR is pattern recognition rather than an exact readout, it is not 100% accurate - a blurry photo or an unusual font can cause it to confuse similar-looking characters, such as the digit 0 with the letter O, or the digit 1 with a lowercase l. Always re-check numbers and names after converting a scan.

Fixing a table that comes out misaligned

Complex tables - especially ones where a single cell spans multiple rows or columns (a "merged cell") - will not always convert perfectly on the first try, because a PDF or an image has no real concept of "this is one combined cell." The editable preview in Dagochim's tool gives you a few simple ways to fix this without starting over:

If a PDF has several pages with tables, each page's table appears as its own tab in the preview, so you can clean each one up separately before exporting everything together.

How the Excel file is actually built

This tool writes the .xlsx file itself - it does not rely on a third-party spreadsheet library. Internally, an .xlsx file is a zip archive containing a set of XML files that describe the workbook, the sheets, and the styles; this tool assembles that XML directly and packages it into a zip using a small open-source compression library. Each detected table becomes its own worksheet inside a single workbook. Values that look numeric - such as 1,234, -12.5, 30%, or an amount written with a currency symbol like ₩12,000 - are automatically detected and stored as real numbers (with the thousands separator, percent sign, or currency symbol stripped), so you can sum or average a column in Excel immediately without having to reformat it first. Column widths are set automatically based on how much text ends up in each column.

If you only need one of the tables, "Download as .csv" saves that single table as a CSV file encoded in UTF-8 with the byte-order mark that Excel expects, so text in Korean or any other non-Latin script displays correctly when it is opened. "Copy this table" copies the table as tab-separated text to your clipboard, which is the fastest option when you already have a spreadsheet open and just want to paste a table into it.

Alternatives: other ways to do this

Recent versions of Excel can sometimes open a PDF directly through Data > Get Data > From File > From PDF, and Hancom Office has a similar "import" feature for some file types. These built-in importers can work well for very simple, clean tables, but they tend to struggle in the same way with complex layouts, merged cells, or scanned documents, because the underlying problem - a PDF has no real table structure - is the same regardless of which tool reads it. There are also many upload-based online converters, but for documents that contain financial figures, personal information, or business data (like an invoice or a transcript), it is safer to use a method that processes the file locally instead of sending it to someone else's server.

Common problems and how to fix them

Is my data safe?

Yes. Dagochim's PDF/photo-to-Excel tool never uploads your file to a server - everything, including finding the table and building the .xlsx file, happens inside this browser tab. The only thing fetched from outside is the language data that text recognition (OCR) needs the first time you use it; the contents of your document are never sent anywhere.

Tips for better accuracy

Frequently asked questions

Does it work on PDFs without a visible table?

If the text is laid out in rows and columns it will be detected as a table. Plain paragraph text falls back to one line per spreadsheet row.

Can it read scanned PDFs or photos?

Yes, those are read with on-device text recognition (OCR). Low-quality scans can produce mistakes, so always check the result.

My numbers show up as text in Excel

Most number-looking cells are stored as real numbers automatically. If a unit is glued to the number (like 1234won), it may stay as text; retype that cell or reformat it as a number in Excel.

Related tools

Advertisement (guide-end)
🗂️ See the full document submission file prep order →