Guide

How to make website images smaller without losing quality

Big images are the top cause of slow pages. How to resize, choose the right format, compress, and check the result, with free tools and no technical skill.

4 min readBy Wiredeo

Hands on a laptop keyboard, seen from above, with a phone and letters beside it
Photo: Dan Burton, Unsplash

To make images smaller without visible loss, do three things in order: resize them to the size they are actually shown, save them in an efficient format (usually WebP or JPEG for photos), and compress them. This can shrink a photo to a fraction of its original size while looking the same on screen.

Why it matters

Photos straight from a phone or camera are made for printing and can be far larger than a web page needs. Big images are among the most common reasons for slow pages, especially on mobile. Google/SOASTA (2017) found that 53% of mobile visits were abandoned if a page took over three seconds to load. See why is my website slow.

Step 1: resize to the display size

Pixels are the dots that make up an image. A photo might be thousands of pixels wide, but your page may only show it about a thousand wide, or much less. Extra pixels are wasted data.

  • Find out how wide the image appears on your site (your designer, theme or builder can tell you; builders often show a recommended size).
  • Resize the image to roughly that width, and a bit larger if you want it to look sharp on high-density screens.
  • For full-width banners, a few thousand pixels at most is normally plenty.
  • Do not upload the original and rely on the page to shrink it. The visitor still downloads the full file.

Free tools to resize: your phone’s or computer’s built-in photo editor, or free online tools.

Step 2: choose the right format

Format Best for Notes
WebP Most photos and graphics Efficient, and supported by current browsers
JPEG Photos Safe, widely supported
PNG Screenshots, logos with transparency, images with sharp text Large for photos
SVG Logos and simple icons Scales to any size; tiny files
GIF Avoid for animation Heavy; a short video is usually smaller

A common mistake is saving photos as PNG. They look the same but weigh far more.

Step 3: compress

Compression removes data the eye does not notice. Two kinds:

  • Lossy (JPEG, WebP): discards some detail. A moderate setting is usually invisible on a photo.
  • Lossless (PNG): keeps every pixel but shrinks less.

Use our free image compressor, which resizes and compresses in your browser without uploading anything, or your editor’s “export for web” option. Aim for the lowest quality setting where you cannot tell the difference at normal viewing size. Compare the original and compressed images side by side at 100%.

If you use WordPress, an image plugin can compress and convert uploads automatically. Builders such as Wix and Squarespace do some of this for you, but you still help by uploading sensibly sized files.

Step 4: name files and add alt text

While you are at it, give files descriptive names (kitchen-renovation-before.jpg, not IMG_4021.jpg) and add short alt text, which describes the image for people who cannot see it and for search engines. See how to write alt text and try our alt text checker.

Step 5: check the result

  1. Reload the page on your phone over mobile data.
  2. Check the images still look sharp, including on a larger screen.
  3. Run the page through a speed test and look at the “image” suggestions.
  4. Check the file sizes in your media library, and look for the largest ones.

Other habits that help

  • Use fewer, better pictures. Five good images beat twenty average ones.
  • Make sure only the images above the fold load first and the rest load as people scroll (lazy loading).
  • Use real photos of your work where you can. Stock images are fine but generic.
  • Do it as you upload each image, so it becomes routine.

Common questions

How small should images be?

There is no single number, because it depends on the size and purpose. Better to ask: could I make it smaller and still be happy with how it looks? Keep going until the answer is no.

Do I lose the original?

Always keep the original files in a folder or cloud storage. Make the web version from the original, never edit a compressed copy again and again, because each save in a lossy format loses a little more.

What about images on my phone I post to social media?

Social platforms compress images themselves, but your website does not do it for you. Treat the website separately.

Are logos different?

Use SVG where possible. If PNG, keep the file small and no larger than needed.

When to get help

If your site already has hundreds of large images, ask your developer or a maintenance provider to bulk-process them. It is a good one-off job. See Core Web Vitals explained for how image size shows up in speed scores.

Run the free website check, or ask for a free review.

Filed under Running your site

Next step

Not sure where your own business stands?

A two-minute check-up shows where you are losing time and customers, and what to fix first.

Take the check-up Request an audit