Detect Document Language
Identify the language of a PDF from its real text — offline, with confidence and per-page results.
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
- Upload a PDF that contains selectable text.
- Run the detection — no options are needed.
- 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?
Can it detect a scanned page?
How accurate is it?
Related tools
More OCR & Extraction tools
OCR PDF
Recognise text in scanned PDF pages with Tesseract OCR and download a searchable PDF, plain text or hOCR output.
OCR to Word
OCR scanned pages with Tesseract and write a genuine DOCX built by the server converter.
OCR to Excel
OCR scanned pages with Tesseract TSV and export recognised lines to an Excel workbook.
OCR to PDF/A
Recognise text in a scanned PDF with Tesseract and deliver a searchable PDF/A-2b.