Method for Converting Image Text to an Excel Spreadsheet
How can the table in an image be organized into Excel rows and columns? This article explains the complete workflow of identifying the image type, recognizing it with OCR, exporting to Excel, and checking item by item. It also compares alternatives such as manual entry, and is suitable for scanned documents and photographed tables.
Key points of this article
- First determine whether the file is a scanned document or an ordinary image; a PDF whose text can be selected does not need OCR and can be exported directly.
- When the table has few rows, manual entry is more reliable; when there are many rows and a large amount of data, use OCR and then export to Excel.
- OCR results cannot be used directly; check them against the original image for numbers, symbols, row counts, and merged cells.
- When taking photos, make sure the lighting is even, the table is straight, and the text is clear, which can reduce the amount of cell-by-cell correction needed later.
Many people have a photographed class timetable, a paper price quote, or a data table in a screenshot, and need to put its contents into Excel to continue organizing and calculating. Copying directly usually doesn't work: there is no selectable text in an image, typing each cell by hand is slow, and it's easy to misalign.
This article explains how to turn a table in an image into neatly organized rows and columns in Excel. The approach has three steps: first, make the image into recognizable text; second, export it as a table format; and finally, check each item one by one. OmniDoc's desktop PDF editor can perform OCR on scanned PDFs and export PDFs to Excel. The following sections walk through this process and also describe general methods for when you don't rely on a tool.
Image-to-text Excel table: how do you keep it from getting messy? One-sentence conclusion
First convert the images to PDF, run OCR on them and export the results to Excel, then check them against the original images. When there is only a small amount of content, manual data entry can actually be more reliable.
| Your situation | Recommended Practices | Cause |
|---|---|---|
| A paper form photographed with a phone, only a few rows and columns | Manually enter into Excel while checking against the source side by side | Fewer lines, so manual checking is faster than editing after recognition. |
| Large tables in the scanned PDF | Export to Excel after OCR with the OmniDoc desktop client | The scanned document can't be selected directly; it needs to be recognized (OCR) first. |
| The screenshot shows a clearly printed table with a large amount of data. | Synthesize the PDF first, then OCR it, and export to Excel | Printed text is usually recognized better than handwritten text. |
| Tables with merged cells or multi-level headers | Manually adjust in Excel after exporting | The recognition results often split merged cells, so they need to be corrected by comparing against the original image. |
| Only the text is needed, without the row and column structure. | OCR-recognized text selected and copied to Excel | No need to keep the table structure; fewer steps. |
Before You Begin: Confirm These Points
- Is the image clear. When taking the photo, the lighting should be even, the table should not be tilted, and the text must not be blurry. OCR is very sensitive to glare, perspective distortion, and blur; a single recognition error can affect an entire row.
- Is it a scanned document. Open the PDF and try selecting a passage of text with the mouse. If you can't select it, it is usually an image-based PDF and needs OCR first; if you can select it, you can export directly without recognition.
- Is the table structure complex. Merged cells, diagonal-line headers, and tables spanning multiple pages are all places where content easily gets misaligned after export. Understanding the structure in advance tells you where to focus during proofreading.
- Is the data sensitive. Tables containing ID numbers, bank card numbers, or contract amounts should be processed on a device you control, and you should confirm where the file is saved.
- What is the intended use. If you plan to sum or compile statistics, pay особенно close attention to number formats; if it is only for archiving, proofreading the text is sufficient.
Steps to OCR Scanned Tables with OmniDoc and Export to Excel
If you only need the tables, OmniDoc's free extraction is simpler: upload a PDF or scanned file and the tables are output directly as Markdown tables, with the row and column structure also saved in document.json. Scanned files get text and table recognition first. You need to log in to an OmniDoc account (registration is free), a single PDF is capped at 501 pages, the monthly quota is unlimited, and free jobs have to queue. Below is the approach using the desktop client, which suits cases where you need Word or Excel files or need to edit the text in the PDF first.
- Combine the images into a PDF. If you have multiple photos, use your phone's photo album or your computer's print function to save them as a PDF, with one image per page and the page order matching the originals.
- Download and open the OmniDoc desktop client. Download it from download.omnidoc.top. The client supports Windows, macOS, and Linux. Open the PDF you just created.
- Run OCR on the scanned pages. Wait for recognition to finish, then check each page against the original image to confirm the text matches the corresponding page.
- Check the header and the first row of data. Look for misaligned columns or missing characters. Once you've confirmed they are correct, continue. This step helps you catch problems with the original photos early.
- Export to Excel format. In the export options, select Excel and save as a .xlsx file. It's recommended to store it separately from the original PDF.
- Open the exported file in Excel. Check that rows and columns are aligned and that numeric columns haven't been recognized as text.
- Correct against the original image. Fix wrong characters cell by cell, paying special attention to symbols that are easily mistaken, such as ¥, %, commas, and decimal points.
- Save the corrected version. Keep both the original PDF and the exported file so you can trace back and re-check later.
Verify item by item after completion
| Inspection item | How should I look at it? | What should I do if I have a problem? |
|---|---|---|
| Number of Rows and Columns | Compare whether the number of rows and columns is consistent with the original image. | Missing lines are mostly because the page edges weren't recognized. Go back to the original image, retake the photo or crop away the excess edges, and then run recognition again. |
| Numbers and Symbols | Spot-check the amounts, dates, and phone numbers, comparing each one against the original image. | Common errors are 0 and O, 1 and l, and periods and commas; modify them directly in Excel. |
| Number format | Select the number column and check whether it can be included in the sum. | If it appears as text, you can use the Text to Columns feature or set the cell format to convert it. |
| Merge Cells | Check whether the table headers span across columns | Manually merge or split, and add a note explaining it alongside. |
| Extra spaces and line breaks | Check whether the cell contains extra line breaks | Use Find & Replace to clean up, or use the TRIM function to remove leading and trailing spaces. |
OCR and machine translation results should only be used as a starting point. Both may contain errors, so when it comes to key data such as amounts and dates, be sure to check each item against the original document.
📊 Core Comparison
| Method | Suitable situations | Main risks |
|---|---|---|
| Manual Excel entry | The table is small and requires high accuracy. | Time-consuming; long tables tend to be processed serially |
| OCR export to Excel | Scanned or image-based PDF, large data volume | Recognition errors need to be checked item by item. |
| Online conversion website | Temporary handling, I don't mind uploading files. | File size limits, watermarks, and formatting retention, as well as where the files will go, need to be confirmed on your own. |
❓ Frequently Asked Questions (FAQ)
1. If the phone-taken table isn't skewed, do I still need to convert it to PDF first?
If you only have one photo, you can process it directly. When merging multiple photos, it's easier to convert them to PDF first, as the page order will also be easier to manage.
2. The rows and columns are all jumbled after converting an image to Excel. What should I do?
Most likely the original image is tilted, the table lines are unclear, or there is too much blank space around the edges. Go back to the original and take the photo again, crop away the unnecessary edges before recognition; this is usually more effective than trying to force adjustments in Excel.
3. The table contains both text and images—how can I put only the text into Excel?
You can run OCR on the page, then select and copy the text from the recognized content and paste it into Excel cells. Save the image parts separately, and then insert them next to the table as pictures.
4. Can I use an online conversion website to convert it to Excel?
It can be used for temporary processing, but pay attention to file size limits, watermarks, whether the layout is preserved, and where the files go after upload. For spreadsheets containing personal information or contract content, it is recommended to process them locally whenever possible.
5. Can the digits after recognition be used directly for financial calculations?
It is not recommended to use it directly. OCR may misrecognize numbers, so before calculating, key figures should be spot-checked against the original image, and the totals should be verified against the original table.
📝 Summary
Converting an image to text in an Excel table comes down to three steps: make the image recognizable as text, export it to Excel with its row and column structure intact, and then check each item against the original image. The clearer the photo and the table structure, the less correction work you will have afterward.
Open OmniDoc free extraction to convert documents into Markdown and JSON


