Shrink photo file size by compressing the image or changing its format

A photo file gets smaller when you reduce either the dimensions (width and height in pixels) or the amount of color information the file stores. Most people need to do both. Compressing removes unnecessary data without changing how big the image looks on screen. Changing the file format — from PNG to JPG, for example — can cut the file size in half or more, though JPG loses some detail that PNG keeps.

The fastest method depends on what you're doing with the photo. If you're uploading to email or a website, use your phone's built-in tools or free desktop software like IrfanView or XnConvert. If you need the photo to look exactly the same but smaller, compression alone works. If you can accept slightly softer detail, changing to JPG format saves the most space.

Key Takeaways

  • JPG format shrinks files to about one-third the size of PNG for the same photo, but loses some fine detail that you cannot get back.
  • Reducing pixel dimensions (making the image narrower and shorter) cuts file size more than compression alone, but the photo will look smaller on screen.
  • Most phones have a built-in Photos app that can resize and compress in seconds without installing anything.
  • Free desktop tools like IrfanView, XnConvert, and ImageMagick can batch-process dozens of photos at once, which saves time if you have many files.
  • Compression level and JPG quality are trade-offs: higher quality means larger files, lower quality means smaller files but visible blurriness.

Compress photos on your phone in seconds

Your phone's Photos app already has compression built in. On iPhone, open the photo, tap Edit, then tap the three dots menu and select Compress. Choose Low, Medium, or High compression — High shrinks the file the most but may soften fine detail slightly. Tap Done, then Save to replace the original.

On Android, the method varies by phone brand. Samsung phones have a Gallery app with a Compress option in the menu. Google Pixel phones use Google Photos, which offers a Storage Saver option that compresses all your photos to save space on your device. Open Google Photos, tap your profile picture, go to Photos settings, and turn on Storage Saver. The app will compress photos automatically and move them to Google's servers.

If your phone doesn't have a built-in option, download a free app like Photo Compress or Image Compressor from your phone's app store. These apps let you choose compression level and see the before-and-after file size before you save.

Resize photos to make them genuinely smaller

Compression removes data but keeps the image at the same pixel dimensions. Resizing actually makes the image narrower and shorter, which cuts file size far more. A photo that is 4000 pixels wide can be resized to 2000 pixels wide — half the width — and the file size drops to roughly one-quarter of the original.

On iPhone, open the photo in the Photos app, tap Edit, then pinch inward on the image to zoom out and see the full photo. Tap the crop tool (the overlapping squares icon), then drag the corners inward to make the image smaller. The app will show you the new dimensions. Tap Done and Save.

On Android, open Google Photos, select the photo, tap Edit, then tap Crop. Drag the corners to make the image smaller. Tap Save to replace the original with the resized version.

If you need to resize many photos at once, desktop software is faster. Open IrfanView, go to Image menu, select Resize, enter a new width (the height adjusts automatically to keep the photo's shape), and click OK. Then go to File, Export As, choose JPG format, and click Save.

Convert PNG files to JPG to cut file size dramatically

PNG and JPG are the two most common photo formats. PNG keeps every pixel exactly as it was — useful for graphics with sharp edges or text. JPG throws away some color information that human eyes usually cannot see, which makes files much smaller. A PNG photo might be 5 MB; the same photo as JPG might be 1 MB.

The trade-off is that JPG quality degrades if you edit and re-save it many times. PNG does not degrade no matter how many times you edit it. For photos you plan to share and never edit again, JPG is the right choice. For photos you might edit later, keep the PNG original and make a JPG copy for sharing.

On iPhone, open the photo in Photos, tap Edit, tap the three dots menu, and select Convert to JPG. On Android, use Google Photos: select the photo, tap Edit, tap the three dots menu, and look for a Format or Export option (this varies by phone). On desktop, right-click the PNG file, select Open With, choose Paint or Preview, then go to File and Export As, select JPG format, and click Save.

When you export as JPG, you will see a Quality slider. Set it to 80 or 85 for photos that look nearly identical to the original but are much smaller. Set it to 60 to 70 if file size matters more than perfect detail. Anything below 60 usually looks noticeably blurry.

Use free desktop software to process many photos at once

If you have dozens of photos to shrink, doing them one at a time wastes time. Free software like IrfanView, XnConvert, and ImageMagick can resize and compress entire folders in minutes.

IrfanView works on Windows and Linux. Download it from irfanview.com, install it, then open the program. Go to File, Open, and select a photo. Go to Image, Resize, enter a new width, and click OK. Then go to File, Export As, select JPG, and click Save. To do this for many photos, go to File, Batch Conversion, select your folder, choose your resize and format settings, and click Start.

XnConvert works on Windows, Mac, and Linux. Download it from xnconvert.com, install it, and open the program. Drag your photo folder into the left panel. On the right, click the Resize tab and enter a new width. Click the Format tab and select JPG. Then click Convert to process all photos at once.

ImageMagick is command-line software for Windows, Mac, and Linux. It is more technical but very fast for large batches. Download it from imagemagick.org. On Mac or Linux, open Terminal and type: mogrify -resize 2000x2000 -quality 85 *.jpg (this resizes all JPG files in the current folder to 2000 pixels wide and sets quality to 85). On Windows, download ImageMagick and follow the installation instructions, then open Command Prompt and use the same command.

Choose the right balance between quality and file size

Every compression and format choice is a trade-off. A photo compressed to the smallest possible size will look blurry or have visible color banding. A photo kept at full quality will be large. Where you land depends on what you're doing with the photo.

For email or messaging, aim for 1 to 3 MB per photo. Resize to 2000 pixels wide, convert to JPG, and set quality to 80. For social media (Instagram, Facebook, Twitter), aim for 500 KB to 1 MB. Resize to 1200 pixels wide, use JPG at quality 75 to 80. For printing, keep the original size and quality — printers need more detail than screens. For archiving on your phone or computer, use compression alone without resizing, so you keep the original detail if you need it later.

Test your settings on one photo first. Make a copy, apply your compression and resize, and look at the result on the device where it will be used. If it looks good, use the same settings for the rest of your photos.

Frequently Asked Questions

Will compressing a photo make it look worse?

Mild compression (up to 70% reduction) is usually invisible to the human eye. Aggressive compression (80% or more) can introduce visible blurriness or color banding, especially in areas with gradual color changes like skies. Test on one photo first to see if the quality loss matters for your use.

Can I make a file smaller without changing how it looks on screen?

Compression can shrink a file by 30 to 50% with no visible change in how the image looks. Resizing the image will make it look smaller on screen. If you need the image to look the same size but be smaller in file size, compression alone is your answer — though the savings are less than resizing plus compression combined.

What if I need to send a photo to someone and they say the file is too large?

Ask them what size they need. If they say under 5 MB, resize to 2000 pixels wide and convert to JPG at quality 80. If they say under 1 MB, resize to 1200 pixels wide and use JPG at quality 75. If they need it under 500 KB, resize to 800 pixels wide and use quality 70. Each step down cuts the file roughly in half.

Should I delete the original photo after I compress it?

Keep the original if you might edit the photo later or print it. Compression and resizing throw away data you cannot recover. If you only need the photo for email or social media, you can delete the original after making a compressed copy. Back up important photos to cloud storage or an external drive before deleting anything.

Does changing the file name change the file size?

No. The file name has no effect on size. Only the image dimensions, format (JPG vs PNG), and compression level affect how large the file is. You can rename a photo anything you want and the file size stays the same.