Convert TIFF to TXT

Converting TIFF to TXT reads the text out of a scanned document and returns it as plain text you can search, quote and index. A scan is far better input than a photograph, and the recognition runs on your own machine — nothing is uploaded.

  • Where it runs In your browser. The file is never uploaded.
  • Rebuilt TXT works differently from a TIFF, so this is not the gradual degradation a lossy codec applies. What TXT can express is reproduced faithfully; what it has no equivalent for does not survive at all.
  • File size limit Up to 100 MB per file, free, without an account.
  • Worth knowing The text is read by pattern recognition, so it is a best guess and not a transcript. Clean, straight, well-lit type at a decent resolution comes out close to perfect; a photograph taken at an angle, a faint fax, an unusual typeface or handwriting will produce mistakes. Always read the result against the original before relying on it. The language setting matters — text read with the wrong one comes back as confident nonsense rather than as an error.

Up to 100 files at once. Mixed formats are fine.

This is records work, not a phone photograph

Almost nothing arrives as TIFF by accident. It comes from a scanner, a document-management system, a records department, an archive or a fax gateway — and it is usually paperwork: contracts, correspondence, claims, case files, medical records, minutes.

That changes what the job is. Nobody is trying to copy a paragraph off a picture; somebody is trying to make a body of documents searchable, or to pull quotable text out of an archive, or to get figures out of a stack of forms. The volume is higher and the accuracy matters more.

A scan is much better input than a photograph

Everything that makes a phone photograph hard is absent. The page is flat against glass, so there is no perspective. The lighting is even, so there is no shadow across the text. The resolution is known and consistent. And a scanner is focused at exactly the right distance by construction.

The practical result is that clean printed type scanned at 300 dpi comes back close to perfect. That is a genuinely higher expectation than the photograph pages on this site can offer, and it is why bulk recognition work is done from scans rather than from pictures.

Where scans still fail

Resolution first. Below about 200 dpi there are not enough pixels per character and accuracy falls away sharply; 300 dpi is the working standard and 600 is worth it for small type or poor originals.

Then the original itself. Faxes are the worst common case — low resolution by design, often several generations of copying deep. Carbon copies, thermal paper that has faded, documents with stamps or handwriting over the print, and typewriter faces with broken characters all produce errors. So does a scan that came out skewed, which is worth correcting before recognition rather than after.

Only the first page of a multi-page TIFF is recognised

A scanner will frequently produce a single TIFF containing every page of a document. Only the first image in the file is read, and there is no page control to move past it, so a ten-page scan returns the text of page one and nothing else. Nothing announces the other nine — the output simply stops.

On documents scanned a page to a file that costs nothing. On a bundle it is the point at which the honest answer is that the pages have to be separated before they get here, by the scanner or the records system that wrote the TIFF. This page is for the documents you actually need to read now, not for digitising a filing room.

The output is a guess with no error signal

Recognition matches shapes against letterforms. It does not understand the document and it cannot tell you where it was unsure, so what comes back is fluent, complete-looking text that may contain mistakes nobody flagged.

In records work that matters more than usual. A misread digit in a policy number, a date, an amount or a case reference is exactly the error that survives a quick read and causes a real problem later. Anything going into a system, a bundle or a citation should be checked against the page it came from.

A searchable PDF is often the better goal

For an archive, plain text throws away the thing that makes a scan worth keeping: the image of the page, which is the record. A searchable PDF keeps that image and puts a text layer behind it, so the document still looks like itself, still prints like itself, and can be searched and copied from.

Plain text is the right output when you want the words as words — to quote, to index, to feed into something, to count. It is worth deciding which of the two you actually need before converting a hundred files, because the two workflows diverge immediately.

The scans never leave your machine

Recognition happens inside the browser tab on your own processor. Nothing is uploaded, so there is no server copy, no retention period to ask about, no account and no daily allowance.

Given what is typically in these files — signed contracts, patient records, court filings, insurance claims — that is the substantive difference from a hosted service rather than a feature line. It also removes the awkward question of whether sending a client’s documents to a third party needed anybody’s permission.

How to extract the text from a scanned TIFF

  1. Scan at 300 dpi or better, straight rather than skewed.
  2. Drop the TIFF here and set the language before converting.
  3. Check the result against the page, especially references and figures.

TIFF and TXT: a scanned page read back as words

TIFF compared with TXT
TIFFTXT
Full nameTagged Image File FormatPlain Text
File extension.tif, .tiff.txt, .text, .log
Media typeimage/tifftext/plain
CompressionLossless — nothing is discarded
First published19861963
Published byAdobe
SpecificationTIFF 6.0Unicode
LicensingPublished, not standardisedOpen standard
Standing todayCurrentCurrent
Bit depth32
Colour it can describeRGB, CMYK, greyscale, Lab
Opens in a browserSome browsersEvery browser
Considered insteadPNG, PDF, DNGMD, RTF

Opening the result

TXT opens in every current browser. TIFF has narrower browser support than that. If the file is going onto a web page or into a form, that is usually the whole reason for the conversion.

The usual programs do not overlap: TIFF opens in Adobe Photoshop, Affinity Photo and ImageMagick, TXT in Notepad, TextEdit and Visual Studio Code — so whoever receives the result needs something from the second list.

What each format is for

TIFF is Adobe's format, published in 1986. It records 32 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 TIFF in 1986. The older one is generally the safer file to hand to somebody; the newer one usually does the job in fewer bytes.

TIFF to TXT: pages, accuracy and searchable PDFs

Are my TIFF files uploaded anywhere?

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.

Does it read every page of a multi-page TIFF?

No — only the first one. Scanners often produce a single TIFF holding a whole document, and the recogniser is handed the file and reads the first image in it. There is no page setting here, so the pages after it cannot be reached from this conversion at all.

How accurate is it on a scan?

Better than on a photograph, because a scan is flat, evenly lit and straight. Clean printed type at 300 dpi comes out close to perfect. Faxes, carbon copies, faded originals and anything below about 200 dpi degrade quickly.

Why is the output nonsense?

Usually the language setting. Text read against the wrong language does not fail — it returns the best match within a vocabulary that does not contain the right answer, which reads as confident nonsense rather than as an error.

Will it read a table or a form?

It will read the characters and lose the structure. The output is plain text in reading order, so a table becomes a run of values with no columns and a form puts labels next to values in ways that are hard to untangle. Expect to do work on the result.

Should I make a searchable PDF instead?

For an archive, usually yes. A searchable PDF keeps the page image — which is the evidential record — with a text layer behind it, so the document still looks like itself and can be searched. Plain text is right when you want the words themselves to quote, index or process.

Are the documents uploaded?

No. The recognition runs inside your own browser, so the scans never leave your machine — which matters more here than almost anywhere, since what gets scanned to TIFF is contracts, medical records, court papers and claims.

More about these formats

Where these figures come from

The claims this page makes about TIFF and TXT are checkable, and these are the documents that settle them.

  • TIFF, Revision 6.0

    Library of Congress, Sustainability of Digital Formats — TIFF’s tag structure and its many compression options