Cookies for analytics and advertising
We use cookies for analytics and advertising, both sent to Google. Refusing changes nothing you can see.Read the privacy page
Converting JPG to TXT reads the words out of a photograph and hands them back as plain text you can search, paste and edit. It is pattern recognition rather than a transcript, so the result is a best guess — and it all runs on your own device, with nothing uploaded.
Up to 100 files at once. Mixed formats are fine.
They convert one after another and download together as a ZIP.
JPG to TXT
Optical character recognition looks at shapes and decides which letters they are. It does not know what the document says, and it has no way to tell you how confident it was — so the output is fluent, complete-looking text that may contain errors nobody flagged.
That is the single most important thing to understand before relying on a result. Read it against the original, especially the numbers: a misread digit in a price, an account number or a date is exactly the error that survives a quick glance and causes a real problem later.
More than any setting, more than any tool. Straight, well-lit, in-focus printed type at a reasonable size comes out close to perfect. Everything that degrades the picture degrades the reading, in roughly the order you would expect: focus first, then shadow across the text, then the angle of the page, then the size of the type in the frame.
Which means the useful lever is the camera, not the converter. Hold the page flat, shoot straight down rather than from a chair, get light from the side rather than behind you, fill the frame with the page, and tap to focus before pressing the button. Ten seconds of that is worth more than any amount of processing afterwards.
This is the setting that matters and the one people skip. The recogniser matches shapes against the letterforms and vocabulary of a particular language, and given the wrong one it does not fail — it produces confident nonsense, because it is finding the best match within a set that does not contain the right answer.
A German page read as English comes back with umlauts mangled and words that nearly exist. A document with a language it was not told about produces the same. If a result looks strange in a way you cannot explain, check this before anything else.
The output is plain text: no headings, no columns, no tables, no positions. A single-column letter comes back readable and in order. A two-column page can come back with the columns interleaved, because the recogniser reads across lines that look like lines.
A form is the hardest case — labels and values end up adjacent in ways that are hard to reconstruct, and a table becomes a run of numbers with no idea which column they came from. For those, the honest advice is to expect to do some work on the result, or to photograph one field at a time.
The recognition here is built for printed type, where a letterform is one of a few thousand possibilities. Handwriting is not: every writer produces different shapes, and the same writer produces different shapes on different days.
Neat, separated block capitals sometimes come out usable. Ordinary joined-up writing generally does not, and the output will look like real words rather than like an error — which is worse than failing, because it invites belief. If a handwritten note has to become text, typing it is faster than correcting a recognition of it.
Receipts, for expense claims. Letters and forms that arrived on paper. Pages from books and journals for a citation. Whiteboards after a meeting. Serial numbers and labels on equipment. Menus, signs and notices while travelling.
Almost all of it is personal or commercial: names, addresses, amounts, account details, medical information. That is the context in which the next section matters, and it is why it is on the page rather than in a footer.
The recognition runs inside the browser tab on your own processor, on your own device. The photograph is never uploaded, so there is no server copy, no retention period to ask about, no account and no daily allowance.
Watching the network tab while it works is the honest way to confirm it: no request carrying the image goes out. For a picture of a prescription, a bank letter or a signed contract, that is the substantive difference from a hosted service rather than a feature line.
| JPG | TXT | |
|---|---|---|
| Full name | JPEG Image | Plain Text |
| File extension | .jpg, .jpeg, .jpe | .txt, .text, .log |
| Media type | image/jpeg | text/plain |
| Compression | Lossy — file size is bought with quality | — |
| First published | 1992 | 1963 |
| Published by | Joint Photographic Experts Group | — |
| Specification | ITU-T T.81 | Unicode |
| Licensing | Open standard | Open standard |
| Standing today | Current | Current |
| Bit depth | 8 | — |
| Colour it can describe | RGB, greyscale, YCbCr | — |
| Largest image | 65,535 px per side | — |
| Opens in a browser | Every browser | Every browser |
| Considered instead | WebP, AVIF, HEIC | MD, RTF |
TXT is a working format and JPG is a finished one. What comes back is editable text and objects rather than a picture of a page, which is usually the reason for the conversion and also where its limits are.
The usual programs do not overlap: JPG opens in Adobe Photoshop, GIMP and Preview, TXT in Notepad, TextEdit and Visual Studio Code — so whoever receives the result needs something from the second list.
The result is larger than the original and no better. JPG has already discarded detail, and TXT stores what is left without discarding more — it prevents further loss rather than undoing the first one.
The two are aimed at different work: JPG at photography, the web, email and handing a finished file over, TXT at moving data between programs and archiving. That is worth weighing before converting, because the reason one exists is usually the reason the other is awkward.
JPG is Joint Photographic Experts Group's format, published in 1992. It records 8 bits per channel.
TXT dates from 1963, specified as Unicode. Notepad, TextEdit and Visual Studio Code all read it.
TXT was published in 1963 and JPG in 1992. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.
No. This conversion runs entirely inside your browser, so the file never leaves your device. You can confirm it yourself: open the network tab of your browser's developer tools and convert something. You will see the page load, plus the analytics and advertising the site is paid for with — and nothing carrying your file. The engine behind this particular pair is Tesseract, the open-source text recognition engine; your browser fetches it once and caches it.
It depends almost entirely on the photograph. Straight, well-lit, in-focus printed text at a decent size comes out close to perfect. A page shot at an angle, in shadow, slightly out of focus or in an unusual typeface produces mistakes, and handwriting produces many. Always read the result against the original.
Usually the language setting. Text read with the wrong language comes back as confident nonsense rather than as an error, because the recogniser is matching shapes against the wrong vocabulary. Set the language before converting rather than after seeing the result.
Poorly. The recognition here is built for printed type, and handwriting varies far more than any typeface. Neat block capitals sometimes work; ordinary cursive generally does not, and the output will be plausible-looking and wrong.
No. You get the words as plain text. Columns, tables, headings and the position of things on the page are not preserved, so a two-column page can come back with the columns interleaved. For a receipt or a letter that is fine; for a form it rarely is.
Re-photograph rather than adjust settings. Hold the page flat and shoot straight down, get even light with no shadow across the text, fill the frame with the page, and tap to focus. Ten seconds of that beats any amount of processing afterwards.
No. The recognition runs inside your own browser, so the image never leaves your device. That matters here more than almost anywhere, since what people photograph is receipts, letters, prescriptions, contracts and pages with their own name on them.
The claims this page makes about JPG and TXT are checkable, and these are the documents that settle them.