Other PDF Issues

How to Fix Slight PDF Rotation in Microsoft Lens for iOS

Phi Hung VoPhi Hung Vo Nov 3, 2026 868 views

Question details

The user needs to resolve an issue where scanned documents exported as PDFs are slightly rotated, despite appearing straight during capture.

Fixing Slight PDF Rotation in Microsoft Lens for iOS
Product
Microsoft Lens
Device & OS
iOS
Scenario
Scanning physical documents using the 'Document' capture mode and uploading the resulting PDF to OneDrive.
Observed behavior
When viewed on a computer, the exported PDF file is noticeably rotated, whereas exporting the exact same scan as a JPEG works correctly without rotation.
Before you start

Ensure your iPhone camera lens is clean and try placing the document on a highly contrasting, flat background to improve the app's automatic edge detection accuracy.

Solution 1Recommended

Update App and Report the Export Bug

Verify if the issue is a software bug by updating your system and comparing different export formats.

Since the issue isolatedly affects PDF outputs and not JPEGs, it is likely a software processing bug within Microsoft Lens's PDF conversion engine on specific iOS devices.

1
Update Microsoft Lens

Open the iOS App Store, search for Microsoft Lens, and tap 'Update' to ensure you are running the latest version with recent bug fixes.

2
Update iOS

Go to Settings > General > Software Update on your iPhone to verify that your operating system is up to date.

3
Retake the Scan Manually

Open Microsoft Lens, switch to 'Document' mode, and carefully align the physical document with the on-screen framing guide before tapping the shutter button.

4
Compare PDF and JPEG Exports

Save the captured scan simultaneously as a PDF and a JPEG to your OneDrive account. Open both files on your computer to verify if the rotation persists strictly on the PDF file.

5
Report to Microsoft Support

If the issue exclusively affects PDFs, use the feedback or support option within the Microsoft Lens settings to report the bug. Include your device model, Lens version, capture mode, and sample files to help developers issue a patch.

Update App and Report the Export Bug
Current Limitation: If this is an acknowledged software bug, it may require an official update from Microsoft to permanently resolve the PDF generation alignment.
Seamless PDF Scanning

Scan Documents to Perfect PDFs Using WPS Office

If Microsoft Lens continues to produce rotated PDFs, you can bypass the issue entirely by using the built-in Document Scanner in the WPS Office mobile app to capture, adjust, and export perfectly straight PDFs directly to your phone or cloud storage.

  1. 1. Launch WPS Office: Open the WPS Office app on your iOS or Android device.
  2. 2. Access the Scanner Tool: Tap the '+' (Add) button at the bottom of the home screen and select 'Scanner' or 'Scan to PDF'.
  3. 3. Capture the Document: Point your camera at the document. Allow the app to auto-detect the edges, then tap the shutter button to capture the scan.
  4. 4. Adjust Boundaries: Use the crop handles to ensure the document boundaries are perfectly aligned and straight, then tap 'Done'.
  5. 5. Export as PDF: Tap 'Export to PDF' to save your perfectly straight document to your device or cloud storage.
Built-in smart edge detection for perfectly straight document scansDirect, high-quality export to PDF without rotation glitchesFully compatible with standard Microsoft Office and PDF formatsFree, lightweight, and includes comprehensive PDF editing and conversion tools
microsoft office alternative - wps office

Frequently Asked Questions

Why does Microsoft Lens rotate my PDF scans but not JPEGs?

This is typically caused by a processing glitch in the app's PDF generation engine. The perspective correction or auto-cropping metadata applied during capture fails to translate perfectly into the PDF wrapper, whereas standard image formats like JPEG bake the pixel adjustments directly into the file.

Can I manually fix the rotation of a PDF after it has been exported?

Yes. If your exported PDF is slightly rotated, you can open it in a PDF editor like WPS Office or Adobe Acrobat, navigate to the page management tools, and apply a custom or slight rotation adjustment to straighten the page before saving it.

Is there a way to turn off auto-crop in Microsoft Lens?

While you cannot completely disable the edge detection engine in Document mode, you can manually adjust the crop handles after taking the photo. Ensuring the crop boundaries perfectly match the physical document can sometimes prevent the app from auto-rotating the final output.

What are the best alternatives to Microsoft Lens for iOS?

If you consistently face export bugs, you can try alternative mobile scanning solutions such as the built-in iOS Notes scanner, WPS Office's integrated document scanner, or Adobe Scan. These apps offer reliable edge detection and seamless PDF generation without arbitrary rotation issues.