Detect Document Language

Identify the language of a PDF from its real text — offline, with confidence and per-page results.

PremiumIn-browser processing25 MB / file200 pages
Detect Document Language is a premium tool. Upgrade to unlock it, higher file limits and an ad-free experience.

About Detect Document Language

Detect Document Language extracts the actual text layer and scores it against stop-word profiles of ten Latin-script languages (English, Spanish, French, German, Italian, Portuguese, Dutch, Polish, Turkish, Indonesian); Devanagari, Cyrillic, Arabic, Greek, Kana and Hangul are recognised by their Unicode blocks. The report gives the dominant language, a confidence value, the word count and the strongest alternative, plus a per-page breakdown. The heuristic runs entirely in the browser on the text layer — a scanned page without text cannot be detected and is refused honestly instead of guessed.

How to use Detect Document Language

  1. Upload a PDF that contains selectable text.
  2. Run the detection — no options are needed.
  3. Read the report: dominant language, confidence, runner-up and per-page results.

Supported formats, limits and processing

  • Input: PDF (with a text layer)
  • Output: JSON report
  • Processing: entirely in your browser. Files are never uploaded.
  • Limits: up to 25 MB per file, 10 files per job, 200 pages. Plan limits may be higher.

Privacy and file handling

This tool uses JavaScript and WebAssembly inside your browser. Your document is read locally, the output is created locally, and no file content is transmitted to our servers. Only an anonymous usage event (tool name and status, never the filename or content) may be recorded to measure reliability.

Troubleshooting

“text sample is too short”
The PDF has fewer than 20 words in its text layer. Run OCR first for scanned pages.
The confidence is low
Mixed-language or highly technical text reduces confidence — check the runner-up language in the report.
Wrong language detected
The heuristic scores stop words; heavily abbreviated or list-like documents can mislead it. The shares table shows the evidence.

Detect Document Language FAQ

Does my file leave the browser?
No. The detection reads the text layer locally and scores it against built-in word lists.
Can it detect a scanned page?
Only if the page has a text layer (for example from OCR). A pure image page is refused instead of guessed.
How accurate is it?
On normal documents (news, letters, reports) the stop-word method is very reliable; confidence and the runner-up language are always reported so you can judge.

Related tools

More OCR & Extraction tools