Detect hidden manipulation in documents before AI reads them.

PurifyDocs scans PDF, DOCX, HTML, and TXT files for invisible text, prompt injections, encoded payloads, and zero-width Unicode tricks — then produces a sanitized, safe text output.

Scan a Document

Upload a PDF, DOCX, HTML, or TXT file. Files are scanned server-side and never stored.

Click to browse or drag & drop

PDF, DOCX, HTML, TXT — max 50 MB

What PurifyDocs Does

Documents fed to AI systems can contain hidden instructions invisible to humans — white text on a white background, zero-width Unicode characters, base64-encoded payloads, prompt injections in metadata or comments. PurifyDocs detects and removes these manipulations.

Multi-Format

PDF, DOCX, HTML, and plain text — detected by content, not extension.

Deep Detection

25+ detectors covering hidden text, tiny fonts, off-page content, metadata, annotations, and more.

Sanitized Output

Clean, AI-safe text with detected payloads removed and verified by re-scan.

Privacy First

Files are scanned and immediately deleted. Nothing is stored or tracked.

Supported Detectors

CodeDetects
ST-PDF-HIDDEN-TEXT-WHITEWhite / near-white text invisible on the page
ST-PDF-TINY-TEXTFont size too small to be human-visible
ST-PDF-OFFPAGE-TEXTText drawn outside the page media box
ST-PDF-METADATA-PROMPTPrompt-like / base64 payload in PDF metadata
ST-PDF-ANNOTATION-PROMPTPrompt-like / base64 payload in PDF annotations
ST-PDF-OCR-MISMATCHOCR text differs substantially from extracted text
CodeDetects
ST-DOCX-WHITE-TEXTWhite / near-white run text
ST-DOCX-TINY-TEXTTiny run text (font size below threshold)
ST-DOCX-HIDDEN-RUNRun marked with <w:vanish/>
ST-DOCX-COMMENT-PROMPTPrompt-like / encoded payload in document comments
ST-DOCX-HEADER-FOOTER-PROMPTHidden or prompt-like payload in headers/footers
ST-DOCX-METADATA-PROMPTPrompt-like / encoded payload in core metadata
ST-DOCX-ALT-TEXT-PROMPTPayload in drawing alt text
CodeDetects
ST-HTML-HIDDEN-DISPLAYElement hidden with display:none
ST-HTML-HIDDEN-VISIBILITYElement hidden with visibility:hidden
ST-HTML-HIDDEN-OPACITYElement hidden with opacity:0
ST-HTML-WHITE-TEXTWhite / near-white text on light background
ST-HTML-TINY-TEXTTiny font-size text
ST-HTML-OFFSCREEN-TEXTText positioned off-screen via large negative offsets
ST-HTML-COMMENT-PROMPTPrompt-like / encoded payload in HTML comments
ST-HTML-METADATA-PROMPTPayload in <meta> tags or <title>
ST-HTML-ALT-TEXT-PROMPTPayload in alt / title attributes
CodeDetects
ST-GEN-ZERO-WIDTHZero-width Unicode characters hiding text
ST-GEN-BASE64-INSTRUCTIONBase64-encoded instruction payload
ST-GEN-PROMPT-LIKE-INSTRUCTIONPrompt-injection phrasing in document text