Auto-Detect Page Orientation

Find pages whose text runs sideways or upside-down, and optionally fix the /Rotate value.

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

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

  1. Upload the PDF whose pages may be rotated.
  2. Choose Detect only or Detect and fix.
  3. 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?
From the glyphs alone the tool proposes the standard 90° correction; for ambiguous cases check the report and rotate manually.
Does it work on scanned pages?
Only when a text layer exists. Image-only pages are reported as unknown instead of guessed.
What exactly does fix mode change?
Only the page /Rotate value — the content itself is untouched.

Related tools

More OCR & Extraction tools