convertkiwi

How to Compress Images for a Faster Website

By Thiago · Updated · 3 min read

On most websites, images make up the largest share of what visitors download. Heavy images mean slow pages, and slow pages lose visitors and rank worse on Google. Fortunately, image weight is also the easiest thing to fix.

Why image size matters

Step 1: use the right dimensions

This is the most overlooked step and often the one that saves the most. A photo straight from a phone might be 4000 pixels wide, but the column on your blog might be 800 pixels wide. The browser downloads all 4000 pixels and then throws most of them away.

As a rule of thumb, export images at about twice the width they are displayed at, so they look sharp on high-resolution screens. For a full-width hero image that's usually around 2000–2400 pixels. For an image in an article column, 1200–1600 pixels. For thumbnails, just a few hundred pixels. Use our Resize image tool (or any photo editor) before compressing.

Step 2: use the right format

Image typeBest formatWhy
PhotosWEBP (or JPG)Small files, and WEBP is usually noticeably smaller than JPG at the same quality
Logos, icons, screenshotsPNG or WEBPSharp edges and transparency
Simple icons and illustrationsSVGVector: tiny and sharp at any size
Photos saved as PNGConvert to WEBP or JPGPNG photos are often several times larger than needed

Every current browser supports WEBP, so for a website it's usually the best default. Use JPG to WEBP and PNG to WEBP. For more detail, see WEBP vs PNG vs JPG.

Step 3: compress

Compression removes data you won't miss. The image compressor keeps each image in its original format and resolution and applies stronger, smarter settings:

The image also gets rotated the way it appears on your phone, and the result is the same format you uploaded, so you can drop it straight into your site.

Checking the result

Always compare before and after at the size the image is actually displayed. Look at areas with fine detail (hair, text, leaves) and smooth gradients (skies). If you see blockiness or banding, use a lighter setting or the original for that specific image. Heavy compression is almost never noticeable on thumbnails and background images, so be more aggressive there.

Beyond compression

Quick recipe: resize to about twice the displayed width → convert photos to WEBP → run everything through the compressor → check it at real size. On a typical blog, this cuts image weight by well over half.