Skip to content
EditFlip
ENRO
Back to blog
Excel

Why a PDF does not convert to Excel correctly, and how to fix it

A PDF has no real table inside it, only text placed on a page, so a conversion has to guess where the rows and columns are.

Eric Rada · Founder · · 7 min read

In short

  • A PDF stores letters at positions on a page. It does not store a table, so the conversion guesses, and it guesses wrong on scans, tight columns and wrapped lines.
  • Match the fix to the symptom: run OCR first on a scan, split merged columns in Excel, turn text into numbers, and join split rows by hand.
  • Convert a PDF to Excel free in your browser

You converted a PDF to Excel and the result is a mess. Everything is in column A. Two columns have run together. The numbers will not add up. Half a line of text sits on one row and the rest on the next. Or the sheet is empty, or full of strange characters.

These are five different problems with five different causes, and they have different fixes. This guide takes them one at a time, so you can look at what is wrong with your sheet and go straight to the cause. It also says what a conversion can and cannot do, because some PDFs will always need a few minutes of tidying afterwards.

On EditFlip, step by step

  1. Step 1

    Find out whether the PDF has text

    Open editflip.com, press Choose files and pick the PDF. Look at the tiles in Options. The OCR tile only appears for a scan with no text of its own. If it is there, press it first. If it is not there, the PDF already has real text. OCR reads English and Romanian.

  2. Step 2

    Use Convert, then Excel

    On the Options panel, press the Convert tile and choose Excel. You get an .xlsx file with the rows and columns as they sit on the page. For a scan, run OCR first and convert the searchable PDF it gives you.

  3. Step 3

    Compare with the PDF

    Keep the PDF open next to the sheet. Check the first row, the last row and one total. On a scan, check every number, because an eight can be read as a three. If one column is wrong from top to bottom, that points to a pattern you can fix in one go.

  4. Step 4

    Fix in Excel, then save

    Use the fixes in the sections below for what you found: Text to Columns for merged columns, Convert to Number for text numbers, and a manual join for split rows. Save the sheet. If you still need a PDF of the clean version later, Convert to PDF turns it back.

Why a PDF has no table inside it

A table in Word or Excel is a real object: it has rows, columns and cells. When it is saved as a PDF, all that is thrown away. What remains is instructions such as: put this word here, put that number there, draw a thin line from this point to that point. The eye sees a table. The file does not contain one.

To get a sheet back, a converter has to look at where the words sit and decide which ones belong in the same column. When columns are clearly spaced and every row is one line, it works well. When they are close together, or a cell wraps onto two lines, it has to guess, and every wrong guess is one of the problems below.

So a messy result does not mean the file is broken or the conversion failed. It means the page had no real structure to recover. Some tidying is a normal part of the job.

Cause one: the PDF is a scan

A scanned page is a photograph of paper. There is no text in it at all, only a picture of letters. A converter that looks for text finds nothing, and gives you an empty sheet, a picture in one cell, or rubbish characters.

The test is to try to select a word in the PDF. If a block of the page highlights as one picture, or nothing highlights, it is a scan. The fix is OCR, which reads the picture and adds real text underneath. On EditFlip, the OCR tile appears only for a scan with no text of its own, and it makes a searchable PDF. Convert that one to Excel.

OCR is good, not perfect. On a clean scan the text is right most of the time. On a crooked, faint or photographed page it makes mistakes, mostly with digits, commas and dots. Always check the numbers against the page. If you have the paper, scan it straight with Scan a document on a phone, which straightens the page, and use that PDF.

Cause two: columns that merged or split

Two columns close together can arrive as a single column, with the words from both stuck in one cell. A name and a date, a code and a description. The opposite also happens: one wide cell is cut into two columns because a long line was broken at a space.

For merged columns, use Excel itself. Select the column, open the Data tab and choose Text to Columns. Pick Delimited if there is a clear separator such as a space or a comma, or Fixed width to click where the cut should go. Do it on a copy of the column at first, so you can undo.

For columns that were split too much, put the pieces back with a formula in a new column, such as the first cell, a space and the second cell joined with an ampersand, then paste the result as values and delete the pieces.

Cause three: numbers stored as text

The sheet looks right, but the total at the bottom shows zero, or the sum is smaller than it should be. The numbers are on the left of their cells, or have a small green triangle in the corner. They are text that looks like numbers, so Excel cannot add them up.

Select the cells, click the small warning sign that appears, and choose Convert to Number. If there is no warning, a quick way is to type 1 in an empty cell, copy it, select the numbers, choose Paste Special and Multiply. Excel has to treat them as numbers to multiply them.

Watch for the separators. A number such as 1.234,56 is written the European way, with a dot for thousands and a comma for decimals. If your Excel expects the other way, it will keep it as text or read it wrongly. Find and Replace can swap the dot and the comma, or you can change the decimal separator in your Excel settings. A minus sign at the end of a number, as in 120-, and spaces inside a number, need the same treatment.

Cause four: rows that were split in two

A description that is too long for its cell wraps onto a second line in the PDF. The converter often reads each line as its own row, so one item of the table becomes two rows, with the second one nearly empty.

You can see it by looking for a row with text in one column and nothing in the others, directly under a full row. The fix is to move that text up and join it to the cell above, then delete the empty row. For a few rows that takes a minute. For hundreds, sort a helper column or use filters to show only the incomplete rows, and then work through them.

A page header and footer repeated on every page can cause a similar problem. They land in the middle of your data as rows that are not data at all. Filter for them and delete them.

Cause five: the layout was not a table to begin with

Some PDFs only look like tables. A form with boxes, a report with text in columns like a newspaper, a page with a table drawn as a picture: none of them has a grid a converter can follow. The result will keep coming out wrong however you convert it.

In that case, ask for the original from whoever made the PDF. An Excel file or a CSV export from the program that made the report is always cleaner than anything that is rebuilt from a PDF.

If you cannot get the original, convert to Excel anyway and treat it as a rough copy. Copying the numbers you need into a fresh sheet is often faster than repairing a whole broken one.

What stays on your device

PDFs that need converting are often invoices, statements and payroll lists, which are not meant for strangers. On EditFlip the conversion, the OCR and the whole chain run in your browser. Nothing is uploaded, and there is no account.

It also means you can try again as often as you like. Convert, look, fix the PDF side if needed, and convert again, without waiting for anything to travel to a server and back.

Choose the PDF, press Convert, then Excel. For a scan, press OCR first. Free, no account, and the file stays on your device.

Convert a PDF to Excel on EditFlip →

Questions

Why is everything in one column after I convert a PDF to Excel?

The PDF has no real columns, only words placed on a page, and the converter did not see gaps wide enough to split them. Use Data, Text to Columns in Excel to split the column.

Why can't I add up the numbers from my converted PDF?

They were read as text. Select them, use the warning sign and choose Convert to Number, or multiply them by 1 with Paste Special.

Why is my converted sheet empty?

The PDF is probably a scan with no text in it. Run OCR first to make a searchable PDF, then convert that to Excel.

Is OCR accurate enough for numbers?

On a clear scan it is mostly right, but digits, commas and dots are where mistakes happen. Check every number against the page.

Why are some rows split in two?

A long cell wrapped onto a second line in the PDF, and the converter read each line as a row. Join the text back into one cell and delete the extra row.

Can any PDF be converted perfectly to Excel?

No. A PDF does not contain a real table, so the conversion rebuilds one by guessing. A clean table comes out well, a messy layout needs tidying.

Is my PDF uploaded when I convert it?

No. The conversion runs in your browser, so the file stays on your phone or computer.

Do it right in your browser.
Free, no account. Your files stay on your device.
Convert PDF to Excel