Rotate HEIF images online for free. Fix sideways iPhone and Samsung photos with compression and resize control.
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:
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.| 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.
| 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.