Rotate HEIF

Rotate HEIF images online for free. Fix sideways iPhone and Samsung photos with compression and resize control.

or drop photos here · up to 50 at once
JPG, PNG, WebP, GIF, BMP, TIFF, HEIC, AVIF, ICO, PSD, PPM. Everything happens in your browser; nothing is uploaded.

How to Rotate HEIF Images Online

  1. Upload Your HEIF File: Drag and drop or click "+ Add Files" to select a HEIF photo from iPhone, iPad, Samsung Galaxy, or any folder. Only the first file you pick is loaded — this editor works on one image at a time, not a batch queue.
  2. Pick a Rotation Angle: Choose 90° clockwise, 90° counterclockwise, 180°, or type any custom angle (e.g., 7° to straighten a tilted horizon). The rotation is baked into the pixel data, not just an EXIF flag.
  3. Optionally Adjust Compression and Resolution: Under "Image Compression," pick a Quality Preset (Highest → Lowest), set a Target file size (% of original), an exact size in KB/MB, or Image Quality (%). Under "Image Resolution," keep original or scale by percentage.
  4. Rotate and Download: Click Rotate. Processing happens locally in your browser. No sign-up, no watermark, no account required.

Why Rotate HEIF Images?

HEIF (High Efficiency Image File Format, ISO/IEC 23008-12) is the modern image container Apple adopted as the default iPhone format in iOS 11 / 2017 and Samsung uses on Galaxy phones. HEIF stores orientation as both an internal irot transformation property and an EXIF Orientation tag — and when those two disagree, different apps render the image differently. The cleanest fix is to bake rotation into the pixel data and clear the orientation tag so every viewer agrees. Common reasons to rotate:

  • iPhone photo displays sideways after upload — Many web platforms strip or ignore EXIF orientation. A portrait shot taken with the phone held vertically lands sideways on Reddit, LinkedIn, eBay listings, or a CMS upload form. Baking the rotation in fixes it once and for all.
  • Conflicting orientation tags after editing — HEIF supports both irot (HEIF spec) and EXIF Orientation. Some editors update one and not the other, producing files that look correct in Apple Preview but flipped in Chrome, Firefox, or Pillow-based pipelines. See libheif issue #227 for the canonical write-up.
  • Selfies and front-camera shots flipped left-to-right — Use the flip tool for mirroring; rotate is for 90/180/270 reorientations.
  • macOS Sonoma changed HEIF orientation behavior — macOS 14 stopped rotating HEIF based on the EXIF tag, so files that looked right in Big Sur or Monterey may now display wrong on a newer Mac. Rebaking the rotation makes the file render-independent.
  • Print and document layout — A 4×6 print or a Word doc embed needs the photo physically upright; software that ignores orientation metadata produces sideways prints.
  • Feeding HEIF into ML / OCR pipelines — Most image-processing libraries decode HEIF without applying orientation. Rotating in pixel space avoids passing wrongly-oriented frames into a model.

HEIF vs HEIC vs JPEG Orientation Handling

Property HEIF HEIC JPEG
Spec ISO/IEC 23008-12 (container) Apple's HEIF + HEVC variant ISO/IEC 10918-1
Rotation mechanism irot property + optional EXIF tag Same as HEIF EXIF Orientation tag only
Default extension .heif, .heifs .heic .jpg, .jpeg
Apple support iOS 11+, macOS High Sierra+ Same All versions
Web browser native render Safari 17+, partial Chrome via flag Safari 17+ Universal since the 1990s
Typical file size vs JPEG (same quality) ~50% ~50% 100% (baseline)

If a recipient can't open HEIF, convert HEIF to JPG — JPEG renders everywhere but is roughly twice the size at the same visible quality.

Rotation Angle Quick Guide

Angle When to use Quality cost
90° CW / 90° CCW Portrait shot saved as landscape (or vice versa) Lossless — pixels are simply transposed
180° Photo taken upside-down or scanned the wrong way Lossless
Custom (1°-359°) Straightening a tilted horizon, correcting drone roll Minor resampling, edges crop or pad

90°, 180°, and 270° rotations are pixel-perfect on HEIF. Custom angles require interpolation, so re-rotating multiple times stacks small quality losses — do all rotation in one pass.

Frequently Asked Questions

Why does my HEIF look upright on iPhone but sideways everywhere else?

Apple's Photos and Preview apps read both the irot HEIF property and the EXIF Orientation tag, and they apply the rotation visually before display. Many other viewers (Chrome's HEIF preview, libheif-based pipelines, older versions of Pillow) only read one or the other — or read both and apply both, resulting in double-rotation. Rotating with XConvert bakes the orientation into the pixel data and resets the EXIF Orientation tag to 1, so every viewer renders the image the same way.

Will rotating my HEIF re-encode it and lose quality?

For 90°, 180°, and 270° rotations, no — the HEVC blocks are transposed without resampling, so the output is mathematically identical in quality to the input. For custom angles (e.g., straightening a 3° tilt), the image is resampled with bicubic interpolation and re-encoded, which is visually lossless at default quality but technically a re-encode. If you'll rotate multiple times (e.g., crop, then rotate, then crop again), do everything in one session to avoid stacking losses.

Does rotation preserve Live Photos, depth maps, and burst data?

The still image is rotated and re-saved. Live Photo motion clips (the paired.MOV) and depth/Portrait data are stored as separate streams and are NOT preserved on download — XConvert outputs a single still HEIF. If you need those auxiliary streams intact, edit the photo in iOS Photos directly (which keeps Live Photo and depth) and let it bake the rotation on export.

My iPhone HEIF was already correctly rotated when I took it — why does it show sideways now?

Several possibilities: (1) a service stripped EXIF metadata during upload (Reddit, Discord, many web forms strip EXIF for privacy); (2) the file went through a converter that copied EXIF Orientation but didn't apply the irot transformation, causing one or the other to be ignored; (3) you opened it on macOS Sonoma 14+, which changed how HEIF orientation is interpreted from earlier macOS versions. The fix is the same: rebake the rotation into the pixel data.

Can I rotate Samsung Galaxy HEIF photos the same way as iPhone HEIF?

Yes. Samsung Galaxy phones write HEIF using the same ISO/IEC 23008-12 container as iPhone HEIC (they're the same standard, different vendor extensions). XConvert handles both. The orientation conflict is identical because both Apple and Samsung write irot and EXIF Orientation tags into the same file.

How does rotating HEIF compare to rotating HEIC?

HEIC is Apple's brand name for HEIF using HEVC compression — same container, same rotation mechanics. If your file extension is .heic, use the HEIC rotation tool for clarity; if it's .heif or .heifs, use this page. The actual rotation operation and output are equivalent.

Can I batch rotate hundreds of HEIF files at once?

Not on this page — the editor loads one file at a time. Rotate it, save, then + Start New for the next file, picking whatever angle that photo needs. There's no quantity limit on how many you work through this way, but each one is its own pass rather than a shared batch job.

Should I rotate HEIF and keep it as HEIF, or rotate and convert to JPG?

Keep HEIF if your audience uses iPhone, iPad, modern Mac (Big Sur+), Windows 10+ with the HEIF extension installed, or Safari 17+. Convert to JPG or PNG if you're sharing with Android users on older OS, embedding in legacy document formats, posting to platforms that reject HEIF, or sending to printers that don't accept HEIF natively. JPG is universal but ~2× larger; PNG is lossless but 3-5× larger.

Can I crop or resize at the same time as rotating?

Yes. Under "Image Resolution," scale by percentage or keep the original dimensions. For dedicated cropping with handles and aspect-ratio presets, use the HEIF cropper instead — it gives finer control than the percentage-scale here. To shrink file size further after rotating, see the HEIF compressor.

Rate Rotate HEIF Tool

★★★★✭
Rating: 4.8 / 5 - 106 reviews