File archaeology, for AI readers
Detect Hidden Text & Prompt Injection in PDF Files
Built on the same byte-level PDF reading as PDF Time Machine — this tool looks for text an AI can extract but you can’t see.
A PDF's text layer and its rendered appearance are two different things. Text can be present and fully readable by an AI or text-extraction pipeline while being invisible, illegible, or off-page to a human looking at the file. Drop a PDF in below to scan for it — nothing leaves your browser.
This file never leaves your browser — no upload, no server, nothing sent anywhere.
Could not read this file
This doesn’t look like a complete, valid PDF file.
This PDF is password-protected
Password-protected PDFs aren’t supported here yet — decryption isn’t attempted, so scanning stops here rather than guessing.
No hidden text detected
Good news — we checked every page for invisible text, tiny or camouflaged fonts, off-canvas placement, zero-width characters, and hidden layers, and this file came back clean.
Scan results
Want these gone? Hidden Text Cleaner lets you choose exactly what to remove.
Findings
For job seekers
Some resume advice suggests hiding extra keywords or instructions in white text, sized down or made invisible, aimed at an AI screener rather than a human reader — sometimes called resume prompt injection or white-fonting. Whether or not it works as intended, it carries real risk: many applicant-tracking pipelines flag manipulated resumes, and a human reviewer who copies the text into another document can suddenly see exactly what was hidden.
Wondering "does my resume have hidden text"? Use this as a resume prompt injection checker: drop your file into the scanner above to check your resume for white text, near-invisible sizing, or anything else planted where an AI reads it but a hiring manager never will.
Run it before you send the file. If the scan flags something you didn’t intentionally add, it’s worth checking where the file came from — a template, a formatting tool, or a previous edit can leave hidden text in a resume PDF that you never meant to include.
For educators and reviewers
A similar pattern shows up in submitted documents: instructions aimed at an AI grading or reviewing assistant, hidden in white or near-invisible text inside an otherwise normal-looking assignment, paper, or reviewer packet — sometimes called a Trojan horse prompt PDF, or hidden instructions in an assignment PDF.
This scanner is a general way to detect hidden text in a PDF submission, not narrowly an AI cheating detector for hidden prompts aimed at a grading model — it checks for the same six structural signals no matter what the hidden text says or who it’s aimed at.
It reports the exact hidden text it finds and how it was hidden — it does not try to judge intent or interpret what the hidden text says. That judgment call is left to you.
How the scan works
The scanner reads each page’s content stream directly — the same low-level instructions a PDF reader uses to draw text — rather than just rendering the page and looking at pixels. It checks every piece of text against six independent signals: invisible render mode (text explicitly marked as neither filled nor stroked), near-zero effective font size (resolved through any active scaling, not just the raw font-size operand), a fill color that matches the page background, a position that resolves outside the page’s visible area, zero-width Unicode characters embedded in otherwise-normal text, and text placed inside a hidden Optional Content Group (an editor-level "layer" toggled off by default).
A finding can trigger more than one signal at once — text that’s simultaneously invisible, tiny, and off-page is reported as such, with a confidence tier reflecting how many signals agree. This is structural detection only: the tool reports that text is hidden and how, not what it means.
Prompt injection and hidden text in a PDF, explained
What is prompt injection in a PDF?
Prompt injection in a PDF is text embedded in the file’s content stream that’s aimed at an AI system reading the document rather than at the human looking at it — an instruction, a keyword list, or a claim, planted somewhere an AI-based screener, grader, or summarizer will read it, but a person skimming the rendered page won’t notice. It works because most AI tools that "read" a PDF pull the same underlying text layer this scanner checks, regardless of how that text is styled or positioned on the page. The technique shows up most often in two places: resumes aimed at AI-based applicant screeners, and academic or reviewer documents aimed at AI graders or reviewing assistants.
What counts as hidden text in a PDF
Hidden text in a PDF isn’t one specific trick — it’s any text that’s present in the file and extractable by software, but effectively invisible to a human reader. That covers text explicitly marked as invisible at the render level, text sized down to a fraction of a point, text colored to match the page background, text positioned off the visible page entirely, real but invisible Unicode characters mixed into otherwise normal text, and text tucked inside a layer an editor has switched off by default. Some of this is what people mean by hidden AI text — content that only an AI-based reader will ever actually process.
How to find hidden text in a PDF, free and online
Drop a file into the scanner above and it checks all six of those techniques in one pass, reporting exactly which page each finding is on, the extracted text itself, and which signal or signals triggered. There’s no sign-up, no file waiting behind a paywall, and no limit on how many times you can run it — it’s a free way to find hidden text in a PDF online, and unlike most "online" tools, the file is never actually sent anywhere to be scanned.
Extract hidden text from a PDF without uploading it
Most tools that offer to extract hidden text from a PDF online do it by uploading your file to a server, which is exactly the trust problem for a resume or academic document you don’t want circulating. This scanner runs the entire extraction in your browser, in a background Web Worker, using the same PDF-parsing approach as the rest of this site’s tools — the file’s bytes never leave your device, and the extracted hidden text is shown directly in the report, not emailed, logged, or stored anywhere.
Hidden text in a resume PDF, specifically
Hidden text in a resume PDF usually takes one of two forms: keyword stuffing aimed at an applicant-tracking system, or a more direct prompt injection aimed at an AI screener, both typically hidden via invisible render mode or white-on-white text sized down to be unnoticeable. Whether you’re checking a resume you’re about to send, or one you’ve received, the same six-signal scan applies — see the "For job seekers" section above for what to do if it flags something.
Not the same as a hidden version history
It’s easy to confuse "hidden text in a PDF" with "hidden history in a PDF," but they’re unrelated problems living at different layers of the same file. A PDF saved incrementally can carry entire earlier drafts of the document inside its own raw bytes — that’s what this suite’s PDF Time Machine recovers, and what PDF History Cleaner strips out before you send a file. This scanner is different: it doesn’t care how many times the file was saved, only whether any of the text currently on the page is readable by an AI but invisible to you. A file can have zero hidden revision history and still contain prompt injection, or the reverse — they’re independent checks, which is why this suite treats them as three separate tools rather than one.
Frequently asked questions
Does the file get uploaded anywhere?
No. The scan happens entirely locally in your browser, in a background worker. The file is never uploaded to a server.
What is prompt injection in a PDF?
Text embedded in a PDF’s content stream that’s aimed at an AI system reading the document — an instruction, a keyword, or a claim — rather than at the human looking at the rendered page. It works because most AI tools that "read" a PDF pull the same text layer this scanner checks, regardless of how that text is styled or positioned. It shows up most often in two places: resumes aimed at AI-based applicant screeners, and academic or reviewer documents aimed at AI graders or reviewing assistants.
How can I find hidden text in a PDF online for free?
Drop the file into the scanner above. It’s free, runs entirely in your browser, and checks all six known hiding techniques in one pass — there’s no sign-up, no page limit, and no cap on how many files you can scan.
How do I extract hidden text from a PDF?
Upload the file above and the report shows the extracted text for every finding directly, un-redacted, alongside the page number and which signal caught it. Most tools that offer to extract hidden text from a PDF online do it by uploading your file to a server first — this one never does; the extraction happens locally, in a background Web Worker.
What is hidden AI text?
A general term for text in a document that’s meant to be read by an AI system rather than a human — hidden via any of the same techniques covered here (invisible render mode, near-zero size, background-matched color, off-canvas position, zero-width Unicode, or a hidden layer). Prompt injection is the most common form of it in PDFs.
Is white font on a resume actually risky?
Yes, in two ways. Applicant-tracking systems and AI screeners increasingly watch for resume prompt injection and flag or reject a manipulated resume outright — the opposite of the intended effect. And any human reviewer who copies your resume text into another document, or runs it through their own tool, sees exactly what was hidden. If you want to check your resume for white text before sending it, use the scanner above.
How do I add hidden text to catch AI-generated work?
Some educators intentionally plant a hidden instruction — a Trojan horse prompt — that’s invisible to a student but readable by an AI assistant, as a way to catch work generated by AI rather than written by the student, since the AI tends to follow the hidden instruction verbatim. This tool doesn’t build that trap for you; it’s built to detect hidden text in a PDF, which is exactly the technique you’d use to check whether a hidden prompt already exists in a document you’re reviewing, or to confirm one you planted took effect as expected.
Will this catch every hidden-text trick?
It catches the structural techniques described above — invisible render mode, near-zero size, background-matched color, off-canvas position, zero-width Unicode, and hidden Optional Content Group layers. It doesn’t attempt to judge intent or interpret what any hidden text says, and a sufficiently unusual hiding technique outside these six signals could go undetected. Treat a clean result as "no known technique found," not an absolute guarantee.
It found hidden text — is that definitely a problem?
Not necessarily. The tool reports structure, not intent. Some legitimate documents include intentionally hidden text — an invisible OCR text layer over a scanned image, for instance, or a legitimately tiny footer disclaimer. Look at what the extracted text actually says and where it came from before assuming the worst.
What exactly does "hidden text" mean here?
Text that is present in the PDF’s content stream — and readable by any tool that extracts text, including AI systems — while being invisible or illegible to a human looking at the rendered page. That’s different from a scanned page with no text layer at all, which this tool reports separately, since there’s nothing hidden there, just nothing extractable.
Does this work on scanned PDFs?
It checks the text layer, not rendered pixels. A scanned PDF with no embedded text at all has nothing to hide and nothing to scan — this tool reports that explicitly as "no extractable text," rather than a false "clean" result.