TroubleshootingMay 6, 2026
Lucas Martín·LazyPDF

Image to PDF Wrong Orientation? How to Fix It on Any Device [2026]

<p>When an image converts to PDF in the wrong orientation — appearing sideways, upside down, or portrait when you expected landscape — the cause is almost always EXIF rotation metadata that the conversion tool ignored. The fastest fix is to rotate the resulting PDF page using LazyPDF's rotate tool at <a href="/en/rotate">/en/rotate</a>, which takes under 30 seconds and produces a corrected PDF at full quality without re-converting the image.</p><p>EXIF metadata is data embedded in every JPEG photograph recording how the camera was physically held when the shot was taken. A photo taken in portrait mode on an iPhone stores rotation value "6" in EXIF to indicate it should be displayed rotated 90 degrees clockwise. Most PDF converters read the raw image pixel data without interpreting this rotation flag, so they embed the image in its raw orientation — which may be sideways or upside down compared to what you see in your photo viewer.</p><p>This guide covers every scenario where image to PDF wrong orientation occurs: phone photos, scanned documents, screenshots, batch conversions, and multi-image PDFs. Each section includes step-by-step troubleshooting specific to Windows, Mac, iPhone, and Android, plus techniques for preventing the problem at source so you don't need to fix it after conversion. Where it's faster to fix the image before converting rather than rotate after, we cover that approach too. For related issues with extracted images, see our guide on <a href="/en/blog/extract-images-from-pdf-high-quality">extracting images from PDF in high quality</a>, which covers how image metadata affects extraction outputs.</p>

Why Images End Up Rotated in PDF: Root Causes

<p>Understanding the root cause determines the fastest fix. There are four distinct reasons an image ends up rotated in a PDF, and each has a different solution.</p><p><strong>Cause 1 — EXIF rotation metadata ignored (most common):</strong> JPEG photos captured on smartphones and digital cameras embed rotation data in EXIF metadata rather than actually rotating the pixel data. When you view the photo in your phone gallery or macOS Photos app, the viewer reads EXIF and displays the photo correctly. When a PDF converter reads only raw pixel data without checking EXIF, the image embeds in its raw (unrotated) orientation. This is why a portrait photo taken on an iPhone often appears landscape-sideways when converted to PDF through Windows or certain online converters.</p><p><strong>Cause 2 — PDF page orientation doesn't match image aspect ratio:</strong> Some converters set a default page size (A4 portrait, Letter portrait) and then scale the image to fit, even if the image is landscape. The result looks rotated because the image is squished or displayed sideways to fit the wrong page template. The solution here is changing the page orientation setting in the converter, not rotating the PDF after creation.</p><p><strong>Cause 3 — Scanned document inserted upside down:</strong> Documents placed in a flatbed scanner upside down, or fed through an automatic document feeder (ADF) in the wrong direction, produce PDFs where pages are rotated 180 degrees. Every page is affected uniformly. The fix is rotating all pages 180 degrees in the resulting PDF.</p><p><strong>Cause 4 — Mixed-orientation images in a multi-page PDF:</strong> When you combine landscape and portrait images into a single PDF, each image embeds at its own aspect ratio. The resulting PDF may have alternating portrait and landscape pages — which some viewers and printers display inconsistently. The fix is standardizing all pages to a single orientation, either by rotating individual pages or converting all images to the same orientation before creating the PDF.</p><p>Identifying which cause applies to your situation takes about 10 seconds: open the original image in a viewer that shows EXIF data (Windows File Explorer Properties > Details tab, or macOS Preview > Tools > Show Inspector). If EXIF rotation shows a value other than 1 (or "Horizontal (normal)"), you have Cause 1. If there's no EXIF rotation, check whether your PDF converter has page orientation settings (Cause 2). If the image was scanned, Cause 3 applies. Multiple images with mixed results point to Cause 4.

  1. 1Check EXIF rotation on WindowsRight-click your image file in File Explorer. Select Properties > Details tab. Scroll to the Camera section. If you see an Orientation field with a value other than 'Normal', EXIF rotation is the cause. The PDF converter ignored this flag when embedding the image.
  2. 2Check EXIF rotation on MacOpen the image in Preview. Go to Tools > Show Inspector (Command+I). Click the EXIF tab. Look for 'Orientation' in the list. Value 1 means upright. Values 6 or 8 mean 90-degree rotation. Values 3 means 180-degree rotation. Any value other than 1 causes PDF rotation issues.
  3. 3Check if it's a page orientation mismatchOpen your converted PDF. Note whether the image appears sideways (90° rotation) or upside down (180° rotation). Sideways usually indicates EXIF metadata (Cause 1). Upside down usually indicates scanner insertion direction (Cause 3). A squished or cropped image suggests page size mismatch (Cause 2).
  4. 4Identify if multiple pages are affectedScroll through the full PDF. If all pages have the same rotation problem, a systematic fix (rotate all pages at once) is faster than fixing pages individually. If only specific pages are rotated, they likely came from source images with individual EXIF rotation values.

Fix PDF Rotation with LazyPDF Rotate Tool

<p>Once you've identified that your image is embedded in the PDF at the wrong rotation, the fastest fix is LazyPDF's PDF rotation tool at /en/rotate. This tool rotates individual pages or all pages simultaneously and downloads the corrected PDF in seconds. No signup, no watermarks, no quality loss — the rotation operation modifies the PDF's page transform matrix without re-rendering or re-compressing any image content.</p><p>This distinction matters: rotating a PDF page at the structural level (modifying the page transform matrix) is lossless — the underlying image data is not touched. Rotating by re-exporting the image to a new PDF recompresses the image and introduces JPEG quality degradation with every generation. Always fix rotation at the PDF level, not by re-exporting the source image through a new conversion cycle.</p><p>LazyPDF's rotation tool handles all standard rotation scenarios: 90 degrees clockwise (fixing EXIF value 8), 90 degrees counterclockwise (fixing EXIF value 6), and 180 degrees (fixing EXIF value 3 or scanner insertion errors). You can rotate all pages at once or select specific pages to rotate individually — essential for multi-page PDFs where only certain pages are affected.</p><p>For multi-page PDFs with mixed orientations from combined portrait and landscape photos, the Organize tool at /en/organize lets you view all pages as thumbnails and rotate individual pages separately with single clicks. This visual approach is more efficient than the rotation tool when different pages need different corrections. The thumbnail view immediately shows which pages need fixing and in which direction — far faster than opening each page individually to assess orientation.</p>

  1. 1Open the rotate toolGo to lazy-pdf.com/en/rotate. No account or download required. The tool works in any modern browser on Windows, Mac, iPhone, and Android.
  2. 2Upload the incorrectly oriented PDFDrag your PDF into the upload area or click to browse. Files up to 200 MB are accepted. For a multi-page PDF with mixed orientation issues, upload the full file — you can rotate individual pages separately.
  3. 3Select rotation direction and pagesChoose 90° clockwise, 90° counterclockwise, or 180°. Select 'All pages' if every page has the same rotation problem, or click individual page thumbnails to fix only specific pages. For a scanned document inserted upside down, select 180° for all pages.
  4. 4Download the corrected PDFClick Rotate and download. The corrected file has the same image quality as the original — rotation is applied at the PDF structural level without re-compressing image content. Open in any PDF viewer to confirm orientation before sharing or printing.

Prevent Wrong Orientation Before Converting: Fix the Image First

<p>For recurring issues — particularly when converting phone photos or scanned documents regularly — fixing the source image before conversion eliminates the rotation problem entirely. This prevention approach takes longer per image than fixing the PDF after the fact, but is more robust for batch workflows where you're converting dozens of images regularly.</p><p><strong>Strip EXIF rotation and bake in rotation on Windows:</strong> The simplest Windows approach is to open the image in Photos, rotate it once (even back to original), and save. This operation bakes the EXIF rotation into actual pixel data and resets the EXIF orientation flag to 1 (Normal). Any PDF converter subsequently treating this image as "correct" orientation will embed it correctly. Alternatively, use the free tool IrfanView with the "Auto-rotate" option, which processes entire folders of images to apply and bake EXIF rotation in a single batch operation.</p><p><strong>Fix EXIF rotation on Mac:</strong> In macOS, open the image in Preview and select Tools > Rotate Left or Rotate Right until the image displays at the correct orientation. Use File > Export (not Save) to write a new file with baked rotation — this saves pixel data at the rotated orientation with reset EXIF. For batch processing on Mac, the free command-line tool exiftool can strip and apply EXIF rotation across entire folders: <code>exiftool -n -Orientation=1 *.jpg</code> combined with a lossless rotation command normalizes all photos in a directory.</p><p><strong>Fix on iPhone before converting:</strong> Open the photo in the Photos app. Tap Edit > Crop/Rotate. Rotate the photo to correct orientation. Tap Done. The Photos app writes back corrected pixel orientation and resets EXIF. When you subsequently share the photo or convert it to PDF via the Share menu, the orientation is correct. This is essential for photos taken in non-standard orientations — horizontally held iPhone photos sometimes embed as portrait-sideways in PDFs created through certain workflows.</p><p><strong>Fix on Android before converting:</strong> Open the image in Google Photos or the stock Gallery app. Tap Edit > Crop > Rotate until the orientation is correct. Save. Like iOS, Android's photo editing apps write the rotated pixel data back to the file. After saving, the EXIF orientation flag is reset, and any PDF converter will embed the image in the correct orientation.</p><p><strong>Using LazyPDF's image-to-PDF conversion to avoid orientation issues:</strong> LazyPDF's Image to PDF tool at /en/image-to-pdf is built to handle EXIF rotation automatically. When you upload a JPEG with an EXIF rotation flag, LazyPDF reads the flag and applies the correct rotation before embedding the image in the PDF. This means you can convert directly from phone camera output to correctly-oriented PDF without any pre-processing step. For photos taken on iPhones or Android devices — the most common source of orientation problems — this automatic handling eliminates the issue at the source.

  1. 1Use LazyPDF for EXIF-aware conversionUpload your photos directly to lazy-pdf.com/en/image-to-pdf. LazyPDF reads EXIF orientation metadata before embedding images, so phone photos convert at their displayed orientation rather than their raw pixel orientation. No pre-processing required.
  2. 2Bake rotation on Windows before converting elsewhereOpen the image in Windows Photos. Rotate once (or use Ctrl+R for 90° right) until it's at the correct orientation. Save. This bakes EXIF rotation into pixel data, ensuring all PDF converters handle it correctly regardless of their EXIF support.
  3. 3Batch-fix EXIF rotation with IrfanView (Windows)Open IrfanView and go to File > Batch Conversion. Select all images, enable 'Auto-rotate image according to EXIF info', and run the batch. This processes entire folders of photos to correct orientation in minutes — ideal before a large batch conversion.
  4. 4Use exiftool on Mac for bulk EXIF normalizationInstall exiftool via Homebrew (brew install exiftool). Run 'exiftool -n -Orientation=1 -overwrite_original *.jpg' in Terminal from your images folder. Combine with a lossless rotation to apply the orientation to pixel data. After this, all images in the folder convert correctly to PDF in any tool.

Fix Batch Rotation: Multiple Pages in the Wrong Orientation

<p>Batch rotation issues — where multiple pages or all pages of a PDF are incorrectly oriented — are common in three scenarios: scanned multi-page documents, multi-image PDFs converted from phone photos, and PDFs assembled from mixed-orientation images. Each scenario has a slightly different optimal fix.</p><p><strong>All pages rotated the same way (scanner insertion error):</strong> If you scan a stack of documents and all pages are upside down or sideways, a single batch rotation fixes the entire file. In LazyPDF's rotate tool, select "All pages" and the correct rotation direction. A 50-page document with all pages rotated 180 degrees corrects in a single operation and downloads in about 10 seconds. This is dramatically faster than re-scanning the documents or rotating pages one by one.</p><p><strong>Alternating portrait/landscape pages (mixed image orientations):</strong> PDFs built from a combination of portrait and landscape photos — a common result of converting a mixed folder of phone photos — can have alternating page orientations that look chaotic when printed or presented. Use the Organize tool at /en/organize to view all pages as thumbnails. Click each incorrectly-oriented page to select it, then rotate just the selected pages. This surgical approach avoids accidentally rotating correctly-oriented pages while fixing the problem ones.</p><p><strong>Consistent orientation within multi-page phone photo PDFs:</strong> When scanning receipts, whiteboard photos, or document photos taken with a phone, the EXIF orientation issue often affects all images consistently if they were all taken in the same physical device orientation. Use LazyPDF's Image to PDF tool which handles EXIF automatically, or apply a single batch rotation to the resulting PDF using the rotate tool. For regular workflows involving phone camera photos converted to PDF — scanning receipts for expense reports, photographing contracts, archiving handwritten notes — see our guide on <a href="/en/blog/scan-multiple-pages-to-pdf-mobile">scanning multiple pages to PDF on mobile</a> for the complete workflow from camera capture to correctly-oriented multi-page PDF.</p><p><strong>Programmatic batch rotation for IT workflows:</strong> For teams processing large volumes of PDFs — legal firms receiving scanned documents, insurance companies processing claim forms, HR departments handling scanned applications — automated rotation via Python (PyMuPDF or pikepdf) integrates into document management pipelines. A script can detect page orientation by analyzing page dimensions (portrait: height > width; landscape: width > height) and apply corrective rotations automatically, flagging ambiguous cases for manual review. This approach processes thousands of pages per hour unattended, catching and correcting orientation errors before documents reach reviewers or archives.</p>

  1. 1Identify the pattern of rotation errorsCheck whether all pages are rotated the same way (indicates systematic cause like scanner direction or uniform EXIF), or whether only some pages are rotated (indicates mixed-source images with different EXIF values). The pattern determines the fastest fix strategy.
  2. 2For uniform rotation across all pagesUse LazyPDF rotate tool. Select All Pages and the appropriate rotation direction (90° clockwise, 90° counterclockwise, or 180°). Download the corrected PDF. Entire documents process in under 15 seconds regardless of page count.
  3. 3For mixed rotation across specific pagesUse LazyPDF Organize at /en/organize. View all pages as thumbnails. Select only the incorrectly-oriented pages using checkboxes. Apply rotation to the selection. This targeted approach avoids disturbing correctly-oriented pages.
  4. 4For recurring batch workflowsConvert the fix into a prevention: route all phone photos through LazyPDF's EXIF-aware Image to PDF tool, or use IrfanView batch auto-rotate (Windows) / exiftool (Mac) on source images before any conversion. Prevention takes 2-3 minutes of setup and eliminates the post-conversion fix step permanently.

Platform-Specific Troubleshooting: Windows, Mac, iPhone, Android

<p>Orientation issues manifest differently depending on which tool generated the PDF. Here's a platform-by-platform breakdown of the most common scenarios and exact steps to resolve them.</p><p><strong>Windows — Microsoft Print to PDF:</strong> The built-in Windows Print to PDF driver is one of the most common sources of orientation errors for phone photos. When you right-click a JPEG and select Print, then Print to PDF, Windows does not read EXIF rotation. A portrait photo taken on an Android phone often prints — and therefore "PDFs" — sideways. Fix: open the image in Photos first, which applies EXIF rotation to display, then print using Print to PDF. Alternatively, use LazyPDF's Image to PDF tool for reliable EXIF-aware conversion. Windows also has an orientation trap in its Print dialog: if the page orientation is set to "Landscape" but your image is portrait, the image may appear rotated to fill the landscape page. Always verify "Portrait" is selected for portrait images before printing to PDF.</p><p><strong>Windows — Word/Office PDF export:</strong> Images inserted into Word documents sometimes appear rotated when the file is exported to PDF, particularly when images were inserted from phone camera rolls. Word reads EXIF rotation and displays images correctly in the document, but some PDF export engines do not preserve the rotation metadata correctly. Fix: in Word, select the rotated image, and use the Rotate handle to rotate it to correct orientation within the Word document, then re-export. Alternatively, fix the PDF orientation post-export using LazyPDF's rotate tool.</p><p><strong>Mac — Preview (Save as PDF):</strong> macOS Preview reads EXIF correctly and generally handles orientation well. Orientation errors on Mac most commonly occur when using Automator workflows or third-party PDF creation scripts that do not pass EXIF data through correctly. Test: open the original image in Preview and confirm it shows correctly before converting. If Preview shows correct orientation but the exported PDF is rotated, the conversion pipeline (not the source image) is the problem — fix the pipeline or fix the PDF post-conversion.</p><p><strong>iPhone — Files app / Print to PDF:</strong> iOS 16+ supports "Print to PDF" via the Share > Print workflow. This method generally reads EXIF correctly. However, some third-party iOS apps that create PDFs from photos (scanner apps, document apps) occasionally mishandle EXIF. If you receive a PDF with rotation errors on iOS, open it in Files and check whether it's an app-specific issue by converting the same image with a different app. LazyPDF's mobile-friendly web interface at lazy-pdf.com/en/image-to-pdf provides consistent EXIF-aware conversion from any iOS browser.</p><p><strong>Android — Google Drive's PDF creation:</strong> Google Drive lets you create PDFs from photos saved in Drive. As of 2025, Drive generally reads EXIF correctly, but orientation errors do occur with photos from older Android devices or certain camera apps that write non-standard EXIF values. Fix rotated Drive-created PDFs using LazyPDF's rotate tool: open the tool in Chrome on Android, upload the PDF from Drive, rotate, and save back to Drive. The total workflow takes about 45 seconds.</p>

Frequently Asked Questions

Why does my image appear sideways when I convert it to PDF?

The most common cause is EXIF rotation metadata: your camera recorded how the device was held when the photo was taken, but the PDF converter read raw pixel data without checking this rotation flag. The image embeds in its raw orientation — sideways or upside down. Fix it by rotating the resulting PDF page with LazyPDF's rotate tool at /en/rotate, or prevent it by using LazyPDF's EXIF-aware Image to PDF tool.

How do I fix a PDF page that is rotated sideways?

Upload the PDF to LazyPDF's rotate tool at /en/rotate. Select the pages that need correction (or choose All Pages if every page is affected). Choose the rotation direction: 90° clockwise or counterclockwise for sideways pages, 180° for upside-down pages. Download the corrected PDF. The rotation is applied at the PDF structural level — no image recompression, no quality loss, takes under 30 seconds.

Does rotating a PDF degrade image quality?

No — rotating a PDF at the structural level modifies the page transform matrix without touching the embedded image data. The underlying JPEG or PNG pixels are unchanged. This is completely different from re-exporting the image to a new PDF, which would apply JPEG recompression and degrade quality with each generation. Always fix orientation at the PDF level rather than by reconverting the source image.

How do I fix orientation for a scanned multi-page document?

If all pages are rotated the same way (common when a document stack is inserted upside down into a scanner), use LazyPDF's rotate tool, select All Pages, and choose 180° rotation. For mixed orientations across pages, use the Organize tool at /en/organize to view thumbnails and rotate individual pages selectively. Both operations process the full document in under 15 seconds.

Which converter handles EXIF rotation automatically without fixing after?

LazyPDF's Image to PDF tool at /en/image-to-pdf reads EXIF orientation metadata before embedding images and applies the correct rotation automatically. Phone photos — the most common source of orientation errors — convert at their displayed orientation without any pre-processing. Windows Print to PDF and many online converters do not read EXIF, making LazyPDF the most reliable choice for phone-originated images.

Can I fix rotation on multiple PDFs at once?

LazyPDF's rotate tool processes one PDF at a time but handles all pages in that PDF simultaneously. For bulk processing of many PDF files, use PyMuPDF in Python: a script can detect page orientation by comparing page width and height dimensions, apply corrective rotations, and save corrected files automatically. This approach processes thousands of pages per hour and integrates into document management pipelines.

Why do some pages in my PDF have correct orientation while others are sideways?

Mixed orientation in a multi-page PDF usually comes from combining images with different EXIF rotation values — for example, some photos taken in portrait mode and some in landscape mode, converted using a tool that ignores EXIF. Use the LazyPDF Organize tool at /en/organize to view all pages as thumbnails, identify which pages need correction, and rotate only those pages selectively without disturbing the correctly-oriented pages.

Fix your PDF orientation in seconds — no signup, no watermarks, no quality loss. Rotate individual pages or the entire document at once.

Rotate PDF Free

Related Articles