How to Compress a Photo: The Ultimate Guide for Beginners

Your complete guide to making photos smaller. We explain everything from file types like JPEG to free online tools, so you can easily email, share, and store your images.

A hyper-realistic, professional photograph showing a young, creative British person at a brightly lit wooden desk in a modern, minimalist home office in London. They are smiling, looking at a laptop screen which displays a beautiful, crisp landscape photo of the Scottish Highlands next to a much smaller, compressed version, with a visible file size difference shown on screen. The mood is positive, organised, and empowering. Use soft, natural lighting from a nearby window. The style should be clean and aspirational, like a tech startup's branding.

This post may contain affiliate links. If you make a purchase through these links, we may earn a commission at no additional cost to you.

Ever tried to email that brilliant holiday snap from Cornwall, only for your computer to say, “Nope, file too large”? Or perhaps you’ve waited ages for a webpage to load, glaring at a single picture that’s taking its sweet time. We’ve all been there. It’s frustrating, but the solution is surprisingly simple: photo compression.

Don’t let the technical-sounding name put you off. Compressing a photo is just a clever way of making its digital file smaller. Think of it like packing a suitcase. You can either just chuck everything in and struggle to close the lid, or you can fold your clothes neatly, roll them up, and fit far more in. Photo compression is the digital equivalent of that neat folding.

This guide is your one-stop shop for understanding and mastering photo compression. We’ll break down everything you need to know in plain English, from the absolute basics to practical, step-by-step instructions for your computer and phone. By the end, you’ll be able to shrink your images like a pro, making them faster to send, share, and store, all without turning your beautiful photos into a blurry mess.

Let’s get started.

What is Photo Compression and Why Should I Bother?

At its heart, photo compression is the process of reducing the file size of an image. That’s it. But to really get it, we need to quickly look at what makes a digital photo in the first place.

Pixels, Resolution, and File Size: The Three Musketeers

Every digital image is made up of thousands, or even millions, of tiny little dots called pixels. Each pixel is a single colour. When you put them all together, they form the picture you see, like a massive, high-tech mosaic.

  • Resolution is simply the total number of pixels in a photo, usually described as width by height (for example, 4000 x 3000 pixels). The more pixels you have, the more detail the image holds.
  • File Size is the amount of digital space the image takes up on your computer or phone, measured in kilobytes (KB), megabytes (MB), or even gigabytes (GB).

Here’s the key relationship: more pixels and more complex colour information mean a bigger file size. A massive, highly detailed photo taken on a fancy new camera will have a huge file size. A small, simple icon will have a tiny one.

So, Why Compress?

A big file size isn’t always a good thing. In fact, it’s often a nuisance. Here’s why compressing your photos is so useful:

  1. To Send Them: Email services like Gmail and Outlook have strict limits on attachment sizes (usually around 25 MB). A few high-quality photos can easily exceed that. Compressing them is the only way to get them sent.
  2. To Speed Up Websites: This is a huge one. Large images are the number one cause of slow-loading websites. If you run a blog, an online shop, or any kind of website, compressing your images is essential. People won’t wait around for your beautiful pictures to appear; they’ll just leave.
  3. To Save Storage Space: Our phones and computers are filled with photos. Over time, all those massive files add up, eating into your precious storage. Compressing your photo library can free up a surprising amount of space.
  4. To Share on Social Media & Messaging Apps: While apps like WhatsApp, Facebook, and Instagram automatically compress your images when you upload them, starting with a reasonably sized file can lead to a better-looking result. It also makes the upload process much quicker, especially on a dodgy mobile connection.

Essentially, compression makes your digital life faster, tidier, and less frustrating.

The Two Flavours of Compression: Lossy vs. Lossless

Okay, we know we need to make the file smaller. But how does the computer actually do it? There are two main methods, or “flavours,” of compression. Understanding the difference is the most important step to becoming a compression champion.

Lossless Compression: The Perfect, Tidy Packer

Imagine you’re packing that suitcase again. Lossless compression is like taking your clothes, folding them perfectly, and using vacuum-sealed bags to suck all the air out. When you get to your destination and open the bags, every single item of clothing is there, exactly as it was, just taking up less space.

That’s what lossless compression does. It cleverly reorganises the data in the image file to make it more efficient, but it doesn’t throw any information away. When you open the image, the computer rebuilds it perfectly, pixel for pixel.

  • The Good Bit: There is absolutely no loss in quality. The compressed image is identical to the original.
  • The Not-So-Good Bit: The file size reduction is decent, but not massive. You might shrink the file by 20-30%, but you won’t get the dramatic reductions needed for, say, a slow website.
  • Best Used For: Images where every single detail matters. Think company logos, text documents saved as images, diagrams, and computer-generated graphics. You don’t want your logo looking fuzzy or a letter in a screenshot to be unreadable. The PNG file format is the most common type that uses lossless compression.

Lossy Compression: The Clever Compromise

Now, let’s go back to that suitcase. This time, you’re flying on a budget airline with a strict weight limit. You can’t take everything. So you make some smart decisions. You lay out all your clothes and think, “I probably don’t need five pairs of shoes or that massive woolly jumper for a trip to Spain.” You leave them behind. When you arrive, your suitcase is much lighter, and you’ve still got everything you actually need. No one will ever know what you left behind.

This is exactly how lossy compression works. It analyses the image and permanently throws away data that the human eye is unlikely to notice. It looks for subtle variations in colour and detail that can be smoothed over or simplified.

  • The Good Bit: You can achieve enormous file size reductions. It’s not uncommon to shrink a file by 70-90% or even more!
  • The Not-So-Good Bit: Because you’re deleting data, there is a permanent loss of quality. If you compress it too much, you’ll start to see ugly side effects, known as “artefacts”—things like blockiness, blurriness, or weird colours around edges.
  • Best Used For: Pretty much all standard photographs—portraits, landscapes, holiday snaps. Our eyes are very forgiving with this kind of imagery, and a small, invisible amount of data loss is a brilliant trade-off for a tiny file size. The JPEG format is the undisputed king of lossy compression.

Top Tip: The trick with lossy compression is finding the “sweet spot”. You want to compress the image as much as possible to get a small file, but not so much that you can see the quality drop. Most tools let you choose a quality level (often on a scale of 0-100) so you can find this perfect balance.

Meet the Family: A Guide to Common Image File Types

You’ve seen acronyms like JPEG, PNG, and GIF all over the web. These are different file types (or formats), and each one is suited to a different job. Choosing the right one is a big part of effective compression.

File TypeFull NameCompression TypeBest ForThe Lowdown
JPEGJoint Photographic Experts GroupLossyPhotographs. Landscapes, portraits, anything with lots of colours and gradients.The workhorse of the internet. JPEGs offer a fantastic balance between quality and file size for photos. You can choose your compression level. They don’t support transparency.
PNGPortable Network GraphicsLosslessLogos, icons, text, graphics. Anything that needs sharp lines and transparency.PNGs are your go-to for anything that isn’t a photo. The lossless compression keeps lines and text perfectly crisp. Their killer feature is support for transparent backgrounds.
GIFGraphics Interchange FormatLosslessSimple animations.GIFs are famous for short, looping animations (memes!). They are limited to only 256 colours, so they’re awful for photos but great for simple, blocky animations.
WebPWeb Picture FormatBoth Lossy & LosslessEverything on the web.Developed by Google, WebP is the modern superstar. It can create much smaller files than JPEG and PNG at the same quality and supports both transparency and animation. It’s the best choice for websites, but not all older software can open it yet.
HEICHigh Efficiency Image ContainerLossyPhotos on Apple devices.If you have an iPhone or iPad, your photos are likely saved as HEICs. It’s a modern format that creates smaller files than JPEG at similar quality. It can be a pain to use on Windows or the web without converting it first.

The Simple Rule of Thumb:

  • Is it a photo of a person, a place, or a thing? Use JPEG.
  • Is it a logo, icon, or graphic with sharp lines or a transparent background? Use PNG.
  • Are you putting it on a website and want the best performance? Use WebP if you can.

The Toolkit: How to Actually Compress Your Photos

Right, that’s the theory out of the way. Now for the fun part: actually doing it. You don’t need to be a tech wizard or buy expensive software. There are brilliant tools available for everyone, from absolute beginners to seasoned pros.

Method 1: The Easiest Way—Online Compression Tools

For most people, most of the time, online tools are the perfect solution. They are free, fast, and incredibly simple. You just upload your photo, let the website work its magic, and download the smaller version.

How they work: You drag and drop your image file onto the webpage. Their servers then run clever compression algorithms to shrink the file and offer you a download link.

Our Top Recommendations:

  • TinyPNG / TinyJPG: Don’t let the names fool you; they both handle both formats. This is a brilliant, popular choice. It uses very smart lossy compression to find the perfect balance, often shrinking files by over 70% with almost no visible quality loss. It’s incredibly easy to use.
  • Squoosh: A fantastic tool made by Google. It gives you a bit more control. You can see a live before-and-after comparison of your image and play with advanced settings like resizing and changing the quality level. It’s a great way to learn what’s happening under the hood.
  • Compressor.io: Another excellent, simple-to-use option that supports JPEG, PNG, GIF, and SVG files. It offers a choice between lossy and lossless compression.

Step-by-Step Guide (using TinyPNG as an example):

  1. Open your web browser and go to tinypng.com.
  2. Find the image file you want to compress on your computer.
  3. Drag the file from your folder and drop it onto the dotted box on the webpage. Alternatively, click inside the box to open a file browser and select your image.
  4. Wait a few seconds. You’ll see a progress bar as it uploads and compresses the file.
  5. Once done, it will show you the original size, the new size, and how much space you’ve saved.
  6. Click the “Download” button to save the newly compressed image to your computer. Job done!

Method 2: What’s Already on Your Computer (No Downloads Needed)

You might be surprised to learn that your computer already has basic tools for resizing and compressing images. They’re not as powerful as the online tools but are perfect for a quick fix.

For Windows Users (The Photos App or Paint)

The built-in Photos app is the easiest way.

  1. Right-click on your image file and choose “Open with” > “Photos”.
  2. Once the image is open, click the three dots (...) in the top menu bar.
  3. Select “Resize”.
  4. You’ll get a few simple options. Choosing M (Best for emails and messages) is a great pre-set for compression. It reduces the dimensions (the number of pixels), which in turn dramatically reduces the file size.
  5. Give the file a new name (so you don’t overwrite your original!) and click “Save”.

For Mac Users (The Preview App)

Apple’s Preview app is a hidden gem with lots of powerful features, including compression.

  1. Double-click your image file to open it in Preview (this is usually the default).
  2. In the menu bar at the top of the screen, click “File” > “Export”.
  3. A dialogue box will appear. Here’s where the magic happens:
    • Format: Make sure this is set to JPEG.
    • Quality Slider: You will see a slider ranging from “Least” to “Best”. Drag this slider to the left to increase compression and decrease the file size.
    • Estimated File Size: As you move the slider, you’ll see the estimated file size change at the bottom. It’s a brilliant way to find that “sweet spot”.
  4. Give the file a new name, choose where to save it, and click “Save”.

Method 3: For the Pros—Dedicated Software

If you’re a photographer, designer, or someone who needs to compress lots of photos regularly, you might want more power and control.

  • Adobe Photoshop: The industry standard. Its “Save for Web (Legacy)” feature gives you ultimate control over every single compression setting, with a live preview so you can see exactly what you’re doing. It’s perfect for batch processing hundreds of images at once.
  • GIMP (GNU Image Manipulation Program): A fantastic and completely free alternative to Photoshop. It has similar export and compression features, making it a powerful tool for those on a budget.
  • Adobe Lightroom: For photographers, Lightroom’s export functionality is second to none. You can create presets to quickly export compressed JPEGs perfectly sized for your blog, portfolio, or for sending to clients.

Putting It All Together: A Practical Guide for Common Scenarios

Let’s apply what we’ve learned to some real-world situations.

Scenario 1: Compressing Photos for Your Website or Blog

  • Goal: Smallest possible file size for the fastest loading speed, without looking bad.
  • Your Plan:
    1. Resize First: Before you even think about compression, make sure the image is the right dimensions. If your blog post is 800 pixels wide, there’s no point uploading a 4000-pixel-wide image. Use Preview, Photoshop, or an online tool to resize it first.
    2. Choose the Right Format: Is it a photo? Use JPEG. Is it a logo? Use PNG. Even better, if your website supports it, convert them to WebP using a tool like Squoosh for the best performance.
    3. Compress Smartly: Run your resized image through TinyPNG or use the quality slider in your software. For a website, a JPEG quality of around 70-80 is often the perfect balance.
    4. Name It Well: Name the file something descriptive (e.g., porthcurno-beach-cornwall.jpg instead of IMG_2451.jpg). This is good for SEO!

Scenario 2: Sending Photos via Email

  • Goal: Get the total attachment size under the 25 MB limit.
  • Your Plan:
    1. Check the Total Size: See how big your selected photos are to begin with.
    2. Use a Simple Tool: This is a perfect job for your computer’s built-in tools. On Windows, use the “Resize” function in Photos and choose the preset for emails. On a Mac, use Preview’s export function and drag the quality slider down until the estimated file size is small enough.
    3. Zip Them Up: If you’re sending lots of photos, compressing them and then adding them all to a single .zip folder is a great way to keep things organised for the person receiving them.

Scenario 3: Storing Your Family Photo Archive

  • Goal: Save storage space without ruining your precious memories.
  • Your Plan:
    1. Keep Your Originals Safe! This is the most important rule. Before you do any compression, make sure your original, full-quality photos are backed up somewhere safe (an external hard drive, a cloud service like Google Photos or Dropbox). These are your “negatives”—don’t ever lose them.
    2. Create a Compressed ‘Viewing’ Copy: For your day-to-day library that you browse on your computer, you can create a compressed set. A high-quality JPEG (around 90 on the quality scale) will look virtually identical to the original but will save a significant amount of space. You can use software like Photoshop or Lightroom to batch-process your whole collection.

Common Mistakes to Avoid (And How to Fix Them)

It’s easy to get the hang of compression, but here are a few common pitfalls to watch out for.

  • Mistake #1: Saving Over Your Original File. This is the cardinal sin of photo editing. If you compress a photo and save it with the same name, you’ve just permanently thrown away the quality of your original.
    • The Fix: Always, always, always save your compressed image as a new copy. Use “Save As…” or “Export” and give it a slightly different name (e.g., photo-web.jpg or photo-email.jpg).
  • Mistake #2: Over-Compressing. It can be tempting to crank that quality slider all the way down to get the tiniest file size possible. But this will result in a blocky, ugly mess.
    • The Fix: Use a tool with a live preview. Look at the image as you compress it. Zoom in on details. As soon as you see the quality start to noticeably degrade, you’ve gone too far. Pull it back a bit.
  • Mistake #3: Using the Wrong File Format. Saving a detailed photograph as a PNG will result in a needlessly massive file. Saving a logo with a transparent background as a JPEG will give it a solid white background and fuzzy edges.
    • The Fix: Remember the rule of thumb: JPEG for photos, PNG for graphics.
  • Mistake #4: Confusing Resizing and Compressing. Resizing changes the number of pixels (the dimensions). Compressing changes the data within those pixels to make the file smaller. They are different but work together brilliantly.
    • The Fix: For the smallest files (especially for the web), resize first, then compress.

You’re Ready to Go!

And there you have it. Photo compression isn’t some dark art reserved for tech experts. It’s a simple, practical skill that anyone can learn, and it makes a huge difference in how we share and manage our digital lives.

You now know what compression is, the crucial difference between lossy and lossless, and which file type to use for the job. Most importantly, you have a toolkit of free and easy methods to start shrinking your own images today.

So go on—tackle that oversized email attachment, speed up your blog, and reclaim some space on your hard drive. You’re in control.

Further Reading & Resources

For those who want to dive even deeper, here are some highly respected resources:

Want More Like This? Try These Next: