READABILITY METER LAB · 21 OCTOBER 2026
Why can a readability checker read one PDF but not another?
A PDF can show readable words without containing extractable text. In our original paired test, PDF.js extracted 60 words from a text-layer PDF and zero from an image-only PDF displaying the same wording. Readability Meter does not perform OCR: obtain and proofread text first, then analyse it.
Open the readability checker → · Raw extraction results
Start with this check
Try selecting and copying a sentence from your PDF into a plain-text editor. Inspect the pasted result. If it is empty or garbled, do not treat a readability score as a faithful assessment of the visible document. A document can also contain a hidden text layer that needs correction. Keep the original nearby when reviewing extracted text.
The two files we built
We wrote six short sentences for the fixture and used exactly the same wording in both documents. Each file has one page. The text-layer version stores its lines as PDF text objects. The image-only version stores a raster picture of those words, with no separate text objects added by our generator. The typefaces and rasterization are not pixel-identical, so this is a same-wording comparison, not an image-quality comparison.
Both files are available here: text-layer fixture and image-only fixture. The expected text is also downloadable. The evidence JSON includes their byte lengths and SHA256 hashes so later tests can establish which exact files were used. Neither file contains private user information.
What our parser returned
We used PDF.js version 6.4.299, the same installed package version used to build our site. This run used its legacy Node entry point with Node version 24.20.0. For each page we called getTextContent, joined the returned strings using the expression in our website importer, and passed the result to the existing English analysis engine. We did not modify that engine, add OCR or upload the documents to a third-party service.
| Fixture | Pages | Text items | Words | Analysis |
|---|---|---|---|---|
| Text layer | 1 | 6 | 60 | Available |
| Image only | 1 | 0 | 0 | No text to analyse |
The text-layer extraction matched every expected word token in order. Our script asserted equality between the extracted token array and the expected token array, not merely equality of the total count. That fixture produced six sentences, a raw Flesch Reading Ease of 106.445 and a raw Flesch–Kincaid grade of 0.8966666666666683. These are measured results from our engine, not a judgement about a real document's audience.
The image-only extraction returned no nonempty text items and zero words. The analysis engine rejected the empty result with “Add English text with at least one word.” The website's import handler has an earlier user-facing check that explains that scanned PDFs need OCR before import. We verified that message in the source; we did not exercise the browser file chooser in this experiment. A missing score is the honest outcome when there is no extracted prose.
Repeat the experiment without guessing
Download both files and the expected text. Use the same parser version and keep its raw text output before running any readability formulas. Compare word tokens with the expected text. A word count alone can miss missing lines compensated by repeated lines. If another parser gives a different result, save that output rather than changing it to match ours. Our script records runtime, version, exact input hashes and full extracted strings.
This two-case test shows the difference between retrieving existing text and recognizing words from pixels. It does not estimate the success rate for arbitrary PDFs. It does not test tables, columns, unusual encodings, rotated pages, damaged files or documents with an existing OCR layer. Those cases need their own fixtures and checks. The same PDF.js version does not make this Node run an end-to-end browser integration test; the execution environments differ.
What to do with an image-only document
Obtain text using an appropriate OCR workflow outside this tool, then proofread it against the visible original. Check headings, line endings, punctuation and the order of paragraphs before calculating scores. This page does not recommend a particular OCR service or claim that any service will preserve privacy. Choose a workflow consistent with the sensitivity of your document. Do not upload confidential material merely to make a score appear.
For our fixture, copying the original expected text into the checker is a transparent way to test scoring independently of extraction. It does not demonstrate OCR. Likewise, a screenshot of a score cannot show that an entire PDF was read correctly. Retaining raw extracted text makes an extraction failure easier to identify before a formula turns it into a misleading number.
Questions answered
Does a PDF upload option imply OCR?
No. File acceptance and text recognition are different capabilities. This page establishes only the behavior of our fixture with the parser configuration disclosed above.
Should I report zero readability when extraction fails?
No. Zero words is an extraction observation, not a readability score. Record that no score was produced and resolve the text input first.
Where are this tool's actual limits?
The homepage methodology states the supported text-based formats and file limits. This experiment does not expand them. PDF.js provides the public API reference for its extraction interfaces.