Auto-Detect Page Orientation
Find pages whose text runs sideways or upside-down, and optionally fix the /Rotate value.
About Auto-Detect Page Orientation
Auto-Detect Page Orientation reads the real glyph direction of every page from pdf.js: normal horizontal text, vertical text and upside-down text each produce a distinct matrix signature. The report names every page’s orientation and the characters it examined. In fix mode the tool writes the /Rotate value that turns vertical or upside-down pages right side up, re-checks and refuses when nothing needs changing. Pages without a text layer are reported as unknown — the tool does not pretend to read pictures.
How to use Auto-Detect Page Orientation
- Upload the PDF whose pages may be rotated.
- Choose Detect only or Detect and fix.
- Read the per-page report; fixed pages list the /Rotate value applied.
Supported formats, limits and processing
- Input: PDF (with a text layer)
- Output: PDF + JSON report (fix mode) or 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
- Pages reported as “no-text”
- The page is an image (scan) without a text layer — orientation cannot be judged without OCR.
- The fix turned a page the wrong way
- Glyph direction alone cannot prove which 90° turn is right; undo by rotating the page back with Rotate PDF.
- “nothing to fix”
- Every page already reads horizontally.
Auto-Detect Page Orientation FAQ
Can it detect which way a vertical page should turn?
Does it work on scanned pages?
What exactly does fix mode change?
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.