How to compress a photo on iPhone
Published
To compress a photo on iPhone, make a smaller copy instead of changing the original. You can export the photo from the Preview app and drag its Size slider toward a smaller file, or open a browser compressor in Safari, pick the photo from your library and download the lighter copy. Setting the camera to High Efficiency also keeps new photos smaller from the start.

How do you compress a photo on iPhone without an app?
You compress a photo on iPhone without installing an app by exporting a smaller copy with Apple's own Preview app, or by using a compressor that runs in Safari. Both leave the original photo untouched.
With Preview, Apple's guide lists the steps. You open the image in the Preview app, tap next to the filename, tap Export and select a file format. Then for HEIC and JPEG, you drag the Size slider left for a smaller file size or right for higher quality, as the iPhone User Guide describes. Then choose where to save the smaller copy.
In Safari, the OptiPix Image Compressor does the same job with a live size readout, which helps when an upload form sets a limit. The steps are in the Safari section below.
Should your iPhone camera save HEIF or JPEG?
Save in HEIF if you want smaller files, and in JPEG only if the photos must open on devices or sites that cannot read HEIF. Apple's camera setting has two choices: High Efficiency and Most Compatible.
HEIF and HEVC offer better compression than JPEG and H.264, so they use less storage space while preserving the same visual quality, according to Apple Support. To switch, open Settings, tap Camera, tap Formats, then tap Most Compatible; new photos then save as JPEG. Choose High Efficiency to go back.
The catch with HEIF is support outside Apple's software. If a site rejects your photo, converting it with the HEIC to JPG Converter gives you a JPEG that opens everywhere.
Sharing can also change the format for you. When you share through AirDrop, Messages or email and the receiving device does not support the newer formats, the media might automatically be shared in a more compatible format, such as JPEG.
Why is an iPhone photo so large?
An iPhone photo is large because it holds millions of pixels, and the file size follows the pixel count. Halve the width and the height, and you keep a quarter of the pixels.
A photo of 4032 x 3024 pixels Pixels: 4032 x 3024 = 12,192,768 (about 12 megapixels) Raw pixel data: 12,192,768 x 3 bytes (24-bit colour) = 36,578,304 bytes Half-size copy, 2016 x 1512 pixels Pixels: 2016 x 1512 = 3,048,192 (25% of the original) Raw pixel data: 3,048,192 x 3 = 9,144,576 bytes 1280 px wide copy, 1280 x 960 pixels Pixels: 1280 x 960 = 1,228,800 (about 10.1% of the original) Raw pixel data: 1,228,800 x 3 = 3,686,400 bytes Order of steps that saves the most 1. Camera format High Efficiency (HEIF) for new photos 2. Size fewer pixels, if the place it goes does not need them all 3. Quality a lower quality setting on the copy you send
The example shows why resizing beats any quality slider when you need a much smaller file. The narrower copy starts from about a tenth of the pixels, before compression even begins. A quality change only trims how each pixel is stored.
How do you compress a photo in Safari?
You compress a photo in Safari by opening a browser compressor, choosing the photo from your library and saving the smaller copy. The OptiPix Image Compressor works in Safari and keeps the photo on your iPhone.
- Open the OptiPix Image Compressor in Safari.
- Tap the drop area and choose the photo from your Photos library. The compressor accepts JPEG, PNG, WebP, GIF, BMP, TIFF and HEIC images, and HEIC is converted in your browser first.
- Pick an output format. Output is JPEG, PNG or WebP; choose JPEG if the photo goes to a form or an email.
- Move the quality slider and watch the output size. The slider runs from 10% to 100%.
- Download the compressed copy and attach it, or save it to Files.
The compressor processes files locally via WebAssembly, and they are never uploaded, according to the tool page. One side effect: re-encoding drops metadata such as camera model, GPS and timestamps. Keep the original if you need the date or the location.
Does compressing a photo lower its quality?
Yes, lossy compression lowers quality, but at sensible settings it drops detail you rarely see on a phone screen. The trade is size against detail, and you choose where to stop.
The OptiPix tool page publishes its own measurements. On the Kodak True Color suite of 24 photographs, JPEG at quality 80 had a median size of 60.1 KB, 90% smaller, with an SSIM of 0.9523, where 1.0 means identical to the original. Lower settings save more and lose more. Keep the full-size original if you may print the photo or crop into it later.
Should you resize or compress the photo?
Resize when the place the photo goes needs fewer pixels; compress when the size in pixels is right but the file is too heavy. Often you do both: resize first, then compress the smaller copy.
- Resize for email, chat, profile pictures and most web forms. The Image Resizer sets exact dimensions.
- Compress when the photo must keep its full width, for example for a listing that shows zoom, but the file is over a limit.
- Convert when the problem is the format, not the size: a site that rejects HEIC needs a JPEG.
The worked example above gives the rule of thumb: dimensions decide most of the size, quality fine-tunes the rest.