Read PDF, Word, PowerPoint, Excel, CSV, HTML, email and subtitle files through Seenline, which converts them to Markdown locally and lists text a reader cannot see separately.
A detection aid, not a security boundary: it does not catch every way of hiding text, and a clean result
does not mean a file is safe to give a model. See what it does not catch.
The problem
A PDF can show one thing on screen and hand another to the text extractor: white or 1-point text, text outside a
clipping path, a font whose letters decode to different words. A converter that trusts the text layer hands the
extractor's version to the model as ordinary document text, and nobody reviewing the document sees it. The other
converters we tested flagged none of the paper's 25 cases; 1 to 19 of them reached the text unmarked, depending on the
tool.
The paper above built 25 of these extraction gaps and tested 16 PDF processing stacks and 7 commercial LLM services:
"Every tested PDF processing stack and evaluated LLM platform exposes at least one gap." Its authors conclude that
pipelines should "enforce consistency at the PDF-to-text boundary". Seenline makes that check when it converts the
document, before the text reaches a model.
What Seenline does
Converts documents to Markdown locally, with a page, slide, sheet or row anchor on each line where the format has one
([p. 3], [slide 2], [Sheet: Q3], [row 14]).
Moves text a reader would not see into a [Hidden in the original] block with its location and kind, so the model
gets the visible document and you get the list. The structured result keeps the full hidden text for review.
Tags hidden lines that read like an instruction to an AI. --fail-on-hidden and --fail-on-suspect stop a pipeline.
--verify renders each PDF page, reads it with OCR and compares the words with the text layer.
No network access and no model at runtime. Conversion uses pdfjs-dist and fflate; the MCP server adds the MCP SDK and zod.
Hidden content can be benign (document metadata, a covered placeholder), and detection has
known limits.
How it compares
Set B is the paper's own test set: the 25 Corpus A PDFs from its public artifact
(Zenodo, CC BY 4.0), one per extraction gap, each carrying a canary token. We
score them as the paper does: "Extractor output is scored by whether it returns the canary, the visible text, a
deterministic artifact, or dropout." Leaked means the canary reached the text with no signal; flagged means the tool
itself listed it as hidden.
Set B, 25 PDFs
seenline
seenline --verify
markitdown
docling
unstructured
marker
tika
pymupdf4llm
opendataloader
leaked with no signal
2
0
12
7
12
3
19
1
10
flagged by the tool itself
20
22
0
0
0
0
0
0
0
The paper's own runs, scored by exposed gaps rather than our classes, point the same way: Docling 18 of 25, Unstructured
17 and OpenDataLoader 11 (its Table II). Seenline's two leaks without --verify are EG_001, whose /ToUnicode map
substitutes letters, and EG_024, whose Type 3 glyphs draw different letters from their names; both look consistent from
the text layer alone. The rows leave out text that was stripped, recovered correctly or refused.
The visible text still comes through. Visible facts found by string match across all 205 benchmark files
(101 public documents with their licences, the 25 Split-View PDFs and 79 synthetic edge cases):