SoftwareNovember 26, 2026, 02:32 PM·12 min read

Convert Image to Excel (2026): 12 ChatGPT Prompts That Turn a Photo of a Table Into a Spreadsheet

Four ways to convert an image to Excel with Excel, ChatGPT and Gemini, for a table in a photo or screenshot; 12 ChatGPT and Gemini prompts that produce an .xlsx file; how often the same table was read correctly across eight shots; and how Turkish-format numbers (1.249,90) break on the way into Excel.

Convert Image to Excel (2026): 12 ChatGPT Prompts That Turn a Photo of a Table Into a Spreadsheet
Key Takeaways
  • There are two ways to turn a table in a photo into Excel: Excel's Data from Picture feature (Excel for Microsoft 365, Excel on your phone and the Microsoft 365 app) or uploading the photo to ChatGPT or Gemini and asking for the table as an .xlsx file.
  • OpenAI's own help page says ChatGPT may not always reliably extract exact values from a table in an image. That's why the prompts have unreadable cells marked with ?? and row totals checked.
  • In our test, a flat photo and a screenshot got 61 of 61 number cells read; the same sheet of paper shot at a 50-degree angle got 38.
  • In all 8 of the 8 cells whose digits were read correctly but whose format broke, the decimal comma turned into a dot: 89,50 (Turkish notation for eighty-nine and a half) came out as 89.50. Under the Turkish rule, where the dot separates thousands, that value is 8.950, and you won't spot it without comparing against the grand total.
  • Ask for .xlsx and avoid CSV: in a comma-separated CSV, all 12 of 12 rows were split into 8 fields, and pandas, without any error, put the Amount total at 330 TL (the correct figure is 20.212,30 TL).

We turned a 12-row price list worth 20.212,30 TL (Turkish notation, where the dot separates thousands and the comma marks decimals) into a comma-separated CSV file and opened it with Python's pandas library. The Amount column added up to 330, and not a single error message appeared on screen. That is the hard part of converting an image to Excel. Reading is the easier step; numbers, dates and leading zeros written in Turkish format get damaged on the way into Excel.

Below you'll find four ways to move a table from a photo into Excel, then 12 ready-made prompts for ChatGPT and Gemini. Every prompt asks for the table as an editable .xlsx file, has the number and date columns converted according to the Turkish format, and has unreadable cells flagged instead of filled with a guess. At the end are measurements showing how accurately the same table was read in eight different shots and how Python misreads Turkish formats.

How we measured (November 26, 2026)

We did not send new requests to ChatGPT or Gemini for this article, and we did not run the prompts in a chat and score them. We ran the measurement on our own computer: we drew a 12-row Turkish price list, put it through eight conditions such as a screenshot, a downscaled screenshot and a phone photo of the paper on a desk, and had it read by the built-in text recognition engine of macOS 15 (Vision). ChatGPT, Gemini and Excel use other engines. The rates in the table show the effect of the shooting condition; they do not measure how well these tools perform. We measured the format traps with pandas 2.3 and openpyxl 3.1, which are also used in ChatGPT's code environment.

How to Convert an Image to Excel: 4 Ways

Short answer: if you have a Microsoft 365 subscription, Excel's Data from Picture feature is the quickest route. If you don't, or if the table is messy (several photos, handwriting, a stack of receipts), upload the photo to ChatGPT or Gemini and ask for an .xlsx file with the prompts below.

MethodWhereWhat you getNote
Excel, Data from PictureWindows and Mac: Data > From Picture. On your phone: Insert > Data from PictureA table placed into cells, with a review screen for suspicious cellsExcel for Microsoft 365; on Windows, Windows 10 version 1903 or later or Windows 11, WebView2 required
Microsoft 365 appOn your phone: Actions > Image to TableA copy of the photographed table that opens in ExcelThe app crops the table automatically and asks about spelling errors one by one
ChatGPTUpload the photo to the chat and write a promptA downloadable .xlsx file (built with Python)3 files a day on the free plan; OpenAI says exact values from a table in an image may not be reliable
GeminiUpload the photo and ask for a table, then use Export to Sheets at the bottom right of the tableA new Google Sheets file in Google DriveExport only appears if the reply contains a table; a table with images inside can't be exported

Microsoft's Data from Picture page lists Turkish among the supported character sets and gives two shooting rules: the image should contain only the data you want to import, and you should avoid images that look at the table from an angle. In our measurement, angle also caused the biggest loss (see below). The ChatGPT for Excel add-in, which runs inside Excel, is a separate thing. According to OpenAI's help page it is available on all plans, the free one included (with limited use on Free and Go), and it helps build tables, clean them up and fix formulas in an open file. It's useful for the cleanup once the table is in Excel.

Moving a Table From a Photo Into Excel: 5 Steps

  1. Put the paper on a flat surface and hold the phone directly above it. In our test, a flat shot got 61 of 61 cells read and a 50-degree shot got 38.
  2. Crop the table: headings, logos and note lines around the edges throw off the column count. If you're taking a screenshot, select only the table.
  3. Upload the photo to ChatGPT or Gemini and paste Prompt 1. Give the column names and the number format in the prompt yourself.
  4. When the file arrives, compare its grand total with the total on the paper. If they don't match, have Prompt 8 find which row the difference is in.
  5. In Excel, check that the number columns are right-aligned. A left-aligned number has stayed as text; fix it with Prompt 10.
Most common mistake

Asking the AI for a CSV or a text table to copy. The comma in Turkish numbers clashes with the CSV separator; in our measurement, all 12 of 12 rows shifted. An .xlsx file stores numbers as numbers and text as text, and Excel shows them in the format of your own locale (a Turkish Excel shows 1.249,90).

12 Ready-Made Prompts to Convert an Image to Excel (ChatGPT and Gemini)

Upload the photo, paste the prompt and change the square brackets to match your own table (the Turkish number format line describes our test table; if your table uses another format, change that line). Prompt 9 is written for Gemini; the others produce an .xlsx file with Python in ChatGPT. The same prompts also give you a table in Gemini, but through the Export to Sheets button instead of a file.

1. Convert a table in a photo into an Excel file

The main template. Stating the column names and the number format up front stops the model from taking the dot in "1.249,90" as a decimal point and reading it as 1,249 (Turkish notation for one point two four nine). The check lines are there so a misread cell gets caught before the file reaches you.

Prompt 1 : Convert a table in a photo into an Excel file
Prompt
Convert the table in the photo I uploaded into an editable Excel file (.xlsx).

Columns from left to right: [Code, Product, Quantity, Unit price, Amount, Date].
The numbers in the table are written in Turkish format: dot as thousands separator, comma as decimal separator (1.249,90 = one thousand two hundred forty-nine point ninety). Dates are day.month.year.

Rules:
- First read the table row by row and write out the cells as a table I can see.
- Do not write a guess in a cell you can't read or aren't sure about; write ?? and tell me which row it is in.
- Then build the .xlsx file with Python (openpyxl): store [Quantity, Unit price, Amount] as numbers, [Date] as a date and [Code] as text. The number format should look like #.##0,00.
- In every row, check whether Quantity x Unit price = Amount and list the rows where it doesn't.
- If there is a grand total under the table, compare it with the sum of the row amounts and write the difference.
- Give me the file as a download link.

2. Short version

Enough for a single screenshot or a simple list. If the table spans several pages or has merged cells, use Prompts 1 and 6.

Prompt 2 : Short version
Prompt
Give me the table in this photo as an .xlsx file. The numbers are in Turkish format (1.249,90), dates are day.month.year. Store numbers as numbers and dates as dates; write ?? in any cell you can't read. Add the sum of the row amounts at the bottom.

3. Import a table from a screenshot

Screenshots are easier to read than photos: in our measurement, even a screenshot shrunk to half size got 61 of 61 cells read. The real work is cleaning up headings and formats.

Prompt 3 : Import a table from a screenshot
Prompt
The screenshot I uploaded contains a table taken from a [web page / PDF report / app]. Convert it into an .xlsx file.

- Do not take the menus, headings, page numbers or footnotes outside the table.
- If there are merged header cells (a top header like [2025 / 2026] with columns under it), turn them into a single header row: [2026 January], [2026 February] and so on.
- Convert values with a percent sign to numbers (Turkish notation: %18,5 = 0,185) and give the cell a percentage format.
- If negative values are written in parentheses ((1.250,00)), store them as negative numbers.
- Use Python (openpyxl), give me the result file as a download link and tell me how many rows and columns you took.

4. Expense table from receipts and invoices

For a stack of receipts. Personal details such as card numbers and customer names stay out of the table, and the model doesn't add them unless the prompt asks for them. In a file headed for your accountant, the "possible duplicate" note catches a receipt entered twice.

Prompt 4 : Expense table from receipts and invoices
Prompt
Make an expense table from the [8] receipt and invoice photos I uploaded. One row per receipt.

Columns: Date, Company name, Document no., VAT rate, VAT amount, Grand total, Payment method (cash / card), File name.
- The amounts are written in Turkish format (1.249,90). Store them as numbers and give them a TL currency format.
- If a receipt doesn't show VAT separately, leave the cell empty; do not calculate it.
- Write ?? in any field you can't read; list blurry photos separately.
- If two receipts have the same date, company and amount, write both but add "possible duplicate" in the Note column.
- Build the .xlsx with Python (openpyxl) and add a totals row at the bottom for VAT amount and grand total.

5. Convert a handwritten table to Excel

Handwriting has a high error rate, and the prompt makes no attempt to remove every error. It shows you where to look: the yellow cells are the list to check side by side with the paper.

Prompt 5 : Convert a handwritten table to Excel
Prompt
The photo I uploaded shows a handwritten [stock count / attendance sheet / order list]. Convert it into an .xlsx file.

- Columns: [Name, Quantity, Note].
- You may fill in any handwritten cell you're unsure of with your best guess, but paint that cell's background yellow and write "check" in the Note column.
- Write ?? in any cell you can't read at all.
- Digits 1 and 7, 4 and 9, 0 and 6 can get mixed up; list every number that contains these digits separately.
- Use Python (openpyxl), and at the end tell me how many cells you painted yellow.

6. Merge several photos into one table

In multi-page lists, the most common mistakes are each page's header row entering the table as data and subtotals being counted twice. The Source column makes it easier to find a wrong row on paper.

Prompt 6 : Merge several photos into one table
Prompt
The [4] photos I uploaded are consecutive pages of the same table. Merge them all into a single Excel sheet.

- Page order follows the file names: [page1, page2, ...].
- Take the header row that repeats at the top of each page only once.
- Do not put the "subtotal" or "carried forward" rows at the bottom of the pages into the table; write them on a separate sheet.
- Numbers are in Turkish format (1.249,90), dates are day.month.year; store numbers as numbers and dates as dates.
- Write which photo each row came from in a Source column.
- In the last row, calculate the grand total and compare it with the total on the last page.
- Use Python (openpyxl) and give me a downloadable .xlsx.

7. Keep code, phone and IBAN columns intact

In our measurement, pandas' default setting deleted the leading zero in 10 of 12 product codes (0041 became 41). Excel's number precision is also 15 digits according to Microsoft's limits page, which is why long codes such as IBANs, card numbers and subscriber numbers should stay as text.

Prompt 7 : Keep code, phone and IBAN columns intact
Prompt
Convert the table I uploaded into an .xlsx file. These columns may look like numbers but must be stored as TEXT, with leading zeros and spaces kept: [Product code, Phone, IBAN, Postal code].

- If a product code is 0041, the cell must show 0041, not 41.
- Put phone numbers in one format: 0532 123 45 67.
- Write the IBAN as 26 characters starting with TR, with a space between the groups of four; if it isn't 26 characters, mark it with ??.
- Store numbers in the other columns as numbers.
- Use Python (openpyxl) and give the text columns the cell format @ (text).

8. Have the read table checked

Write this in the same chat after the file arrives. In our test, every cell whose digits were read correctly but whose format broke was a comma turned into a dot, and this prompt looks for exactly that error.

Prompt 8 : Have the read table checked
Prompt
Open the Excel file you just created again and compare it with the photo.

1. Does [Quantity x Unit price = Amount] hold in every row? List the rows where it doesn't, with the expected value and the value read.
2. Is the sum of the row amounts the same as the grand total in the photo? If not, how many TL is the difference?
3. Find the cells that could explain the difference: a decimal comma turned into a dot (89.50 instead of 89,50), a missing or extra digit, 1/7, 3/8, 0/6 mix-ups.
4. Write every cell you corrected with its old and new value, then give me the file again.
Do not guess to fix a cell you couldn't read in the photo; leave it as ??.

9. Table in Gemini and Export to Sheets

In Gemini, when the reply comes back as a table, an Export to Sheets button appears at the bottom right of the table, and the table opens as a new file in Google Drive. In Google Sheets, go to File > Settings and set the Locale to Turkey so that 1.249,90 is recognized as a number.

Prompt 9 : Table in Gemini and Export to Sheets
Prompt
Write the table in the photo I uploaded as an exact table.

- Columns: [Date, Description, Quantity, Amount].
- Write the numbers exactly as they appear in the photo (1.249,90); do not round or calculate.
- Write ?? in any cell you can't read.
- Do not add rows, columns or totals that aren't in the photo.
- Below the table, write only the list of cells you couldn't read.

10. Fix numbers stored as text in a table imported to Excel

In a file from Excel's Data from Picture feature or from a converter site, numbers can stay as text. Microsoft's help page says this can lead to unexpected results. This prompt tells text numbers apart from misread dots.

Prompt 10 : Fix numbers stored as text in a table imported to Excel
Prompt
In the Excel file I uploaded, some numbers are stored as text (left-aligned in the cell, with a green triangle next to them). Fix it with Python (openpyxl):

- Convert the values in columns [D, E] to numbers using the Turkish rule: first remove the thousands dots, then make the comma the decimal separator.
- But if a value has two dots and no comma (like 1.074.00), do not convert it; mark it with ?? and list it, because the last dot is most likely a misread comma.
- Convert the day.month.year text in column [F] to dates; list any value whose month comes out greater than 12.
- Write the column totals before and after. Give me the corrected file.

11. Convert a photo into a Word table

Most searches for converting a photo to Word are about a table or a form. If you won't be doing calculations, Word is enough; if you need to work with the numbers, go to Excel with Prompt 1.

Prompt 11 : Convert a photo into a Word table
Prompt
Transfer the table in the photo I uploaded into a Word document (.docx) as an editable table.

- Also add the heading above the table and the notes below it to the document as plain text.
- Set column widths to fit the content, make the header row bold and have it repeat on every page.
- Leave numbers and dates as they are written in the photo (1.249,90); do not convert them.
- Keep accented letters (for example ö, ü) exactly as in the photo; put any word you are unsure of in [square brackets].
- Use Python (python-docx) and give me a downloadable .docx.

12. Add formulas and a summary to the imported table

A table that has been read is made of fixed values: when a price changes on paper, the totals don't update. This prompt turns the table into a live Excel file. The .xlsx file stores formulas under their English names, and a localized Excel shows them in its own language (TOPLA in Turkish, SUMME in German), so having the prompt write TOPLA breaks the file.

Prompt 12 : Add formulas and a summary to the imported table
Prompt
Add the following to the Excel file you just created:

- Keep the Amount column as a formula, not a value: [Quantity] x [Unit price].
- A totals row at the bottom: the sums of the Quantity and Amount columns.
- On a new sheet, a summary by [product group / month]: each group's total amount and its share of the grand total.
- Write the formulas into the file with English function names (SUM, SUMIF); a localized Excel shows them in its own language when opened (for example TOPLA and ETOPLA in Turkish).
- If you need VAT-inclusive prices, add a separate column with a rate of [20%] and have it read the rate from a single cell.
If ChatGPT gives you a text table instead of a file

In the same chat, write "Create an .xlsx file in Python with openpyxl and give me a download link." Don't copy the table from the chat and paste it into Excel: when you paste, numbers can stay as text and the comma can be taken for a column separator.

Measurement: How Accurately Is Each Kind of Photo Read?

On November 26, 2026 we had the same 12-row table read under eight conditions and counted how many of its 61 number cells (code, quantity, unit price, amount, date and grand total) came out character for character. In the screenshot, letter height is about 21 pixels; shrunk to half it's 11, and to a third, 7 pixels.

Convert image to Excel measurement: share of number cells read for the same table under 8 shooting conditions; flat photo and screenshot 61/61, 30 degrees 58/61, 50 degrees 38/61
Light and slight blur cost little; angle cost the most.
ConditionNumber cells readFormat brokenNote
Screenshot, full size61/610Letter height ~21 pixels
Screenshot, half size61/610~11 pixels
Screenshot, one third57/611 (42,25 → 42.25)~7 pixels
Phone photo, flat61/610Paper on a desk, slightly tilted
Phone photo, 30 degrees58/611 (89,50 → 89.50)Top edge narrowed
Phone photo, 50 degrees38/6146 of the codes and 4 dates lost
Phone photo, blurry59/612 (1.074,00 → 1.074.00)5 of the product names readable
Phone photo, dim and shadowed61/610Light down by almost half

Two things stood out. First, the effect of angle: up to 30 degrees the loss is small, while at 50 degrees 23 of the 61 cells couldn't be read. That is why Microsoft warns against images that look at the table from an angle. Second, the type of error: in all 8 of the 8 cells whose digits were read correctly but whose format broke, the decimal comma turned into a dot. To an English reader 89.50 looks right, but read under the Turkish rule (dot as thousands separator) it becomes 8.950, eight thousand nine hundred fifty instead of eighty-nine and a half. A 100-fold error in a single cell goes unnoticed unless you compare against the grand total.

Product names were a different story. The engine we used often flattened Turkish letters with diacritics into plain ones (the dotless i became a regular i, for example), and even in the best condition it gave only 7 of the 12 product names character for character. Excel's Data from Picture page says it supports the Turkish character set; still, take a look at the text columns it reads.

ChatGPT may not be able to reliably extract exact values from image-based tables, scanned files or files with a complex visual layout. If exact values matter, upload a spreadsheet or a text-based file instead.

· OpenAI Help Center, Data analysis with ChatGPT (translated)

Turkish Number and Date Traps: Same Table, 5 Readings

Even if the photo is read correctly, the table can break on its way into Excel. ChatGPT uses Python when it turns the table into a file; the results below come from reading the same 12 rows with pandas and openpyxl under different settings. The correct grand total is 20.212,30 TL.

Read settingWhat happenedTotal
Comma-separated CSV, default settingAll 12 of 12 rows split into 8 fields; 89,50 was split across two cells and the kurus (cents) part landed in the Amount column. No error message330
Semicolon-separated CSV, default settingPrices and amounts stayed as text, and taking the total glued the numbers together; the leading zero was deleted in 10 of 12 codes (0041 → 41)Could not be calculated
Dot as thousands separator, for the whole filePrices correct, but the dots in the dates were deleted too: 03.11.2026 → 311202620.212,30
Dates, default settingIn the 5 dates with a day of 12 or less, day and month swapped: 03.11.2026 (November 3) → March 11, 2026-
Correct setting, column by columnNumbers with a decimal comma, dates as day.month.year, codes as text20.212,30
Format traps when converting a photo to Excel: the same invoice row shifts in a comma CSV, with default settings the code becomes 41 and the date March 11, with the thousands setting the date becomes 3112026, with the correct setting the table stays intact
Four readings of the same row. Only the last one matches the table in the photo.

The difference is also measurable when the file is built as .xlsx. In the file that wrote everything as text, all 72 of 72 cells were stored as text (t="inlineStr" inside the file); in the file converted column by column, the 48 cells in the quantity, price, amount and date columns were numbers. According to Microsoft's help page, which we read in November 2026, numbers stored as text can lead to unexpected results; Excel often flags them with a green triangle.

If you already have an Excel file full of text numbers, you can also fix it with a formula: =NUMBERVALUE(D2,",",".") turns the text into a number using the comma-decimal, dot-thousands rule. Watch out: a value with two dots such as 1.074.00 does not return an error. Under the rule on Microsoft's function page, the dots before the decimal separator are ignored and the result is 107400. That cell was most likely misread, so after the fix compare the total with the grand total on the photo.

Converting an Image to Excel on Your Phone

Open the Excel app on your phone, tap Insert > Data from Picture, frame the table inside the red border and take the shot. Excel shows the cells it's unsure about one by one; you can skip them with Ignore or correct them with Edit. In the Microsoft 365 app, the same thing is under Actions > Image to Table. In the ChatGPT and Gemini phone apps, you can add the photo straight from the camera and use the prompts above.

Shooting angle when moving a table from a photo into Excel: the same sheet shot flat had 61 of 61 cells read, shot at a 50-degree angle 38
In the shot on the left, every number cell was read; in the one on the right, 23 were lost.

When you take the photo, hold the phone parallel to the paper, keep your shadow off the table and let the table fill the screen. In our measurement, low light didn't spoil the reading. Angle and small text did.

Invoices and Personal Data: What Should You Upload?

Receipts, invoices and staff lists can contain names, phone numbers, addresses, Turkish national ID numbers or IBANs. The Generative AI guide from KVKK (Turkey's data protection authority) calls for care when entering personal data into these tools; if your workplace has a policy, check it first. The practical route: crop out or cover the part of the photo that carries personal details before you upload it.

Frequently Asked Questions

On the free plans of ChatGPT and Gemini you can upload a photo and ask for a table; according to OpenAI's help page, ChatGPT's free plan allows 3 file uploads a day. Microsoft's page describes Excel's Data from Picture feature under Excel for Microsoft 365.

On Windows the feature needs Windows 10 version 1903 or later or Windows 11, plus the Microsoft Edge WebView2 Runtime. Microsoft's page describes it under Excel for Microsoft 365; on the Data tab it's called From Picture.

The numbers most likely stayed as text: they're left-aligned in the cell with a green triangle next to them. Convert them to numbers with Prompt 10 or with the formula =NUMBERVALUE(D2,",","."). Values with two dots (1.074.00) were misread; compare them with the photo.

Write Prompt 8 in the same chat: it compares the row amounts and the grand total with the total in the photo and lists the cells that differ. Ask it to mark an unreadable cell with ?? instead of filling it with a guess.

Yes, but the error rate is higher than with a printed table. Prompt 5 has the cells it's unsure about painted yellow and listed; check those cells against the paper one by one.

Prompt 11 turns the table in the photo into an editable table in a .docx file, and the heading and notes into plain text. If there's no table and only text, use the image to text prompts.

If the PDF has selectable text, upload the file straight to ChatGPT and write Prompt 1; the table is taken from the text, with no image reading involved. A scanned PDF is an image: it's read like a photo and needs the same check steps.

The next step is to stop retyping the table every month: collect receipt or list photos that arrive in the same format in one folder, merge them with Prompt 6 and build the summary sheet with Prompt 12. If the grand total on paper matches the total in the file, the file is ready.

We Offer This Service

AI Solutions

We build a workflow that reads the receipts, invoices and stock lists you type up by hand every month, moves them into a table and into your accounting system in the correct format, and asks a person about any suspicious cell. Let's look at your documents together in a free initial call.

Software
Write to us