Can a screen reader, search engine or AI read this PDF? Detects scanned and broken text layers in Indian and South/Southeast Asian script PDFs.
pip install indic-pdf-check Copy PIP instructions
Can a screen reader, a search engine or an AI read the text of this PDF?
Many PDFs in Indian and other South/Southeast Asian scripts look perfect on screen but carry a broken text layer: copy-paste, search, screen readers and AI pipelines get garbled words. Microsoft Word's "Save as PDF" is a common cause (see the research report). Others are scans with no text at all. This tool reads a PDF's own text layer and tells you which case you have, in a second, on your own computer.
Next steps after BROKEN: recover the text with Unshape; verify that extracted text matches what people see with SeenRead.
pip install indic-pdf-check indic-pdf-check circular.pdf notice.pdf circular.pdf: BROKEN script=Malayalam letters=1994 broken=29.4% tagged=True creator='Microsoft® Word for Microsoft ' notice.pdf: NO_TEXT script=None letters=0 broken=0.0% tagged=False creator='Canon ' -- 2 PDFs: BROKEN 1, NO_TEXT 1 verdict meaning what to do NO_TEXT almost no text at all: usually a scan or an image run OCR (e.g. OCRmyPDF with Tesseract language packs) before publishing INSUFFICIENT_TEXT some text in a supported script, but under 200 letters: too little to judge check by hand (e.g. a short notice) UNSUPPORTED_SCRIPT plenty of text, but none in a supported script (e.g. English only) this tool cannot judge it BROKEN the main script, or any other supported script with 200+ letters, has more than 5% impossible spellings (e.g. a vowel sign or virama with no consonant before it) re-export with another tool and check again; or recover the text with Unshape (needs the document's original font) OK no problem detected by these checks - (this is not a full accessibility check: reading order, headings, tables and alternative text are not checked) Pages whose own text has a high share of impossible spellings are listed as suspicious_pages (with --json), so damage confined to some pages or to a second script is visible.
Also reported: the script, the share of broken words, whether the PDF is tagged for accessibility, and the program that made it. --json gives machine-readable output; the exit code is 1 if any file is NO_TEXT or BROKEN (useful in CI).
Scripts: Devanagari (Hindi, Marathi, Nepali...), Bengali/Assamese, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Khmer, Myanmar, Thaana (Divehi).
It uses PyMuPDF (installed separately), which is licensed under AGPL-3.0 or a commercial licence from Artifex; using the two together is subject to PyMuPDF's licence.
Both files in this release have provenance metadata.
pdf accessibility screen reader indic unicode malayalam hindi tamil khmer myanmar
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.
Both files in this release have been uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




