PNG to XML

Turn a PNG table into XML โ€” recognised in your browser, never uploaded.

Drag & drop your PNG here, or click to choose. The text is read in your browser — nothing is uploaded.

XML output

This free PNG to XML converter reads the text inside your image and rebuilds it as a table. It uses optical character recognition running entirely in your browser, then works out the rows and columns from where the words sit on the page โ€” so a screenshot of a spreadsheet, a scanned invoice or a photo of a printed table comes back as data you can actually use.

Frequently Asked Questions

How do I convert a PNG image to XML?

Drop the image in and choose the language of the text. The recogniser loads once, reads the image, and rebuilds the table โ€” you will see progress as it works. Then copy the result or download it as XML.

Is my image uploaded for the text recognition?

No. The recognition engine is WebAssembly that runs inside your browser, so the image never leaves your device. The engine itself is downloaded once on first use and then cached โ€” which is why the first run takes a few seconds longer than the rest.

How accurate is it?

Very good on clean, straight, high-contrast images such as screenshots and digital scans, and noticeably worse on photos taken at an angle, blurry captures or low-contrast printing. Always check the result before you rely on it โ€” OCR is a best effort, not a guarantee, and this tool tells you so rather than pretending otherwise.

How does it decide where the columns are?

Every recognised word comes with its position on the page. Words whose vertical centres line up become a row, and the gaps between words that repeat consistently down the page become the column boundaries. Clear separation between columns gives the best result; tightly packed tables may need a manual tidy-up.

What if the table has no header row?

The first recognised row is treated as the header, which is what makes the field names in the output. If your image starts with data rather than headings, just add a heading row afterwards in your spreadsheet.

Does this work on Windows, Mac, iPhone and Android?

Yes. It runs in any modern browser on Windows, Mac, Linux, iPhone and Android with nothing to install and no account needed. Chrome, Edge, Firefox and Safari are all supported.