The fastest way to shrink a picture file

The simplest method is to use your operating system's built-in tools. On Windows, right-click a JPG or PNG file, select "Compress pictures" (if available), and choose your quality level. On Mac, open the image in Preview, go to Tools > Adjust Size, lower the width and height dimensions, then save. Both methods take under a minute and work for most everyday photos.

If your operating system doesn't offer compression, free online tools like TinyPNG, Compressor.io, or Squoosh handle the work in a browser — just upload your file and download the smaller version. These sites compress without requiring you to install software, though they do upload your image to their servers temporarily.

For bulk compression of many files at once, desktop software like FileOptimizer (Windows) or ImageOptim (Mac) processes entire folders automatically. You point them at a directory, set your quality preference, and they compress everything in place.

Key Takeaways

  • Reducing dimensions (width and height in pixels) shrinks file size far more than compression alone, but makes the image smaller on screen.
  • JPG format produces smaller files than PNG for photographs, while PNG is better for images with text or transparent backgrounds.
  • Online tools like TinyPNG and Squoosh work in any browser and require no installation, though your image uploads to their servers temporarily.
  • Lowering quality settings reduces file size but makes images look grainier; test your chosen setting on a sample photo first.

Understanding file size versus image dimensions

A picture's file size depends on three things: how many pixels wide and tall it is, what format you save it in, and how much compression you apply. Reducing the pixel dimensions — say, from 4000×3000 to 2000×1500 — cuts file size dramatically because you are literally removing pixels. A photo that is half as wide and half as tall contains one-quarter the pixels and typically produces a file one-quarter the size.

Compression is different. It squeezes the data without changing dimensions, so a 4000×3000 photo stays 4000×3000 on screen but takes up less disk space. Compression works better on some image types than others. A photo of a landscape compresses well because large areas of similar color can be represented efficiently. A screenshot or a graphic with sharp text compresses poorly because every pixel is different from its neighbors.

For most people, resizing the image to the dimensions you actually need produces the biggest file reduction. If you are uploading to social media, email, or a website, those platforms often specify a maximum width — use that as your target rather than keeping the original camera resolution.

Choosing between JPG and PNG format

JPG is the standard format for photographs and produces much smaller files than PNG because it discards some color information your eye cannot easily detect. A typical camera photo saved as JPG is 5 to 10 times smaller than the same image as PNG. The trade-off is that JPG compression is lossy — once you save as JPG, you cannot recover the discarded information, so repeated edits and re-saves degrade the image.

PNG is lossless, meaning it preserves every pixel exactly and you can edit and re-save without quality loss. PNG also supports transparent backgrounds, which JPG does not. Use PNG for screenshots, graphics with text, images with transparent areas, or anything you plan to edit multiple times. Use JPG for photographs you are done editing.

WebP is a newer format that compresses photographs as small as JPG but with better quality, and compresses graphics nearly as small as PNG. Most modern browsers and phones support WebP, but some older devices do not. If your audience might use older equipment, stick with JPG or PNG.

How to resize an image on Windows

Open the image in the Photos app (built into Windows 10 and 11). Click the three dots in the top right, select "Edit," then look for a crop or resize option. Alternatively, right-click the file in File Explorer, select "Open with" > "Paint," then go to Image > Resize and Skew. Enter your new width and height in pixels, uncheck "Maintain aspect ratio" only if you want to stretch the image, then save.

For faster batch resizing of many files, use the free tool IrfanView. Open it, go to File > Batch Conversion, select your folder of images, set your target dimensions under "Output" settings, and let it process the entire folder. The original files remain unchanged; resized versions go into a subfolder you specify.

How to resize an image on Mac

Open the image in Preview (the default image viewer). Go to Tools > Adjust Size. The window shows current width, height, and resolution in pixels per inch. Change the width or height number; if the chain link icon is connected, the other dimension adjusts automatically to maintain the original proportions. Lower numbers mean a smaller image and smaller file. Click OK, then go to File > Export to save the resized version.

To batch-resize multiple images, use the free tool ImageOptim. Drag a folder of images onto the ImageOptim window, and it compresses them in place, replacing the originals with smaller versions. You can also use Automator (built into Mac) to create a workflow that resizes images — open Automator, create a new Quick Action, add the "Scale Images" step, and save it as a right-click option in Finder.

Adjusting compression and quality settings

When you save a JPG, most programs offer a quality slider from 1 to 100. A setting of 85 to 90 produces a file about half the size of the original with almost no visible difference to the human eye. A setting of 70 to 75 is noticeably grainier but still acceptable for web use. Below 60, most photos look obviously compressed. Start at 85, save a test version, and compare it on screen at actual size before committing to a lower setting.

PNG compression is always lossless, so there is no quality slider — the file size depends only on the image content and the compression algorithm the software uses. Different PNG tools produce slightly different file sizes for the same image because they use different algorithms, but the difference is usually small.

Online tools like Squoosh let you adjust quality and see a preview side-by-side with the original before you download. This is useful for finding the lowest quality setting that still looks acceptable for your purpose.

When to use online tools versus desktop software

Online tools like TinyPNG, Compressor.io, and Squoosh are fastest for one or two images because there is nothing to install and they work on any device with a browser. They upload your image to their servers, process it, and let you download the result. Most delete your image after a few hours, but check their privacy policy if you are compressing sensitive photos.

Desktop software like FileOptimizer (Windows) or ImageOptim (Mac) is better for batches of 10 or more images because you can point them at a folder and walk away. They process everything locally on your computer, so your images never leave your device. They are also faster for repeated compression of similar images because the software learns your preferred settings.

For one-time compression of a handful of photos, an online tool saves time. For regular photo management or large batches, a desktop tool is more convenient.

Frequently Asked Questions

Can I reduce file size without making the image smaller on screen?

Only slightly. Compression alone (without resizing) reduces file size by 20 to 40 percent depending on the image and format. To shrink files significantly, you must reduce the pixel dimensions, which makes the image smaller when displayed. If you need the image to stay the same size on screen, compression is your only option, and the reduction will be modest.

What file size should I aim for?

It depends on where you are using the image. Email typically handles attachments up to 25 MB. Social media platforms like Instagram and Facebook compress images anyway, so anything under 5 MB is fine. Websites load faster with images under 500 KB. For printing, you need higher resolution (usually 300 pixels per inch) so file sizes are larger. Know your destination and work backward from there.

Will reducing file size make my photo look bad?

Resizing (reducing dimensions) makes the image physically smaller but does not degrade quality if you are going from a large resolution to a smaller one. Compression can introduce visible graininess, especially at very low quality settings. Test your chosen settings on a sample photo first — most tools show a preview so you can see the trade-off before you commit.

Is it safe to use online compression tools with private photos?

Most reputable tools like TinyPNG and Squoosh delete your image from their servers within hours and do not store or share it. Check the privacy policy of any tool before uploading sensitive images. If you are uncomfortable uploading to the internet, use desktop software instead — it processes everything on your computer.

Can I compress a photo multiple times to make it even smaller?

With JPG, no — each time you save as JPG, you lose more information, and the image degrades. Save your original as PNG or in your camera's raw format, then export to JPG at your final quality setting only once. With PNG, you can compress multiple times without quality loss, but each compression pass produces only marginal additional reduction.