Serving a 4000-pixel-wide image into a 800-pixel-wide slot wastes bandwidth and slows the page down, and the browser has to do the scaling work on every single page load. Resizing to the size you actually display is one of the highest-value things you can do for page speed.
How to use the Image Resizer
- Upload the image you want to resize
- Keep the aspect ratio lock on unless you specifically want to distort the image
- Enter a target width or height, or pick one of the presets
- Download the resized image
Aspect ratio, and why the lock matters
Aspect ratio is the relationship between width and height. Change one without the other and the image stretches — faces get wide, circles become ovals. With the lock enabled, entering a width computes the matching height automatically, so the image stays proportional.
Turn the lock off only when you genuinely want to distort the image, or when you are resizing to an exact canvas size and intend to crop rather than squash.
Common target sizes
- 1200 × 630 — Open Graph / social share previews. This is the size to use for og:image.
- 1080 × 1080 — square social posts.
- 1920 × 1080 — full HD, desktop backgrounds and hero images.
- 800 × 600 — a sensible default for in-article images.
For responsive sites, export the largest size you will ever display at 2× for high-density screens, then let the browser scale down.
Upscaling, and why it cannot recover detail
Making an image larger does not add information. The algorithm has to invent the new pixels, and every method of inventing them is a trade-off between softness and artefacts.
Nearest neighbour copies the closest existing pixel. The result is blocky and is the right choice only for pixel art, where blockiness is the aesthetic.
Bilinear averages the four surrounding pixels. Fast, and noticeably soft.
Bicubic uses sixteen surrounding pixels and is the usual default — sharper than bilinear, with slight haloing at high-contrast edges.
Lanczos is sharper again and can produce visible ringing.
None of them recovers detail that was never captured. Doubling a 400px image to 800px gives you an 800px image with 400px of real information in it, and it will look soft next to a genuine 800px photograph.
Machine-learning upscalers are a different proposition: they hallucinate plausible detail based on training data. The output often looks better and is partly invented, which matters if the image is evidence, a product photo, or anything where accuracy counts.
The reliable answer is to start from the largest original you have.
Serving the right size with srcset
Resizing to one size solves the problem for one screen. A phone and a 4K monitor need very different images, and sending the large one to both wastes most of the bytes on most of the visits.
The srcset attribute lets the browser choose. You provide several widths and tell it how wide the image will be displayed; it picks based on viewport and pixel density:
<img src="photo-800.jpg" srcset="photo-400.jpg 400w, photo-800.jpg 800w, photo-1600.jpg 1600w" sizes="(max-width: 600px) 100vw, 800px" alt="…">
The sizes attribute is the part people omit and the part that matters: it tells the browser how much space the image occupies before layout is calculated, so it can choose correctly on the first pass. Without it the browser assumes full viewport width and over-fetches.
Three widths is usually enough — roughly 400, 800 and 1600 for a content image. Always include a plain src as the fallback.
This is where resizing pays off most: generating three sizes of each image and letting the browser choose typically saves more bandwidth than any amount of compression on a single file.
Frequently asked questions
Will resizing reduce image quality?
Scaling down is generally safe — you are discarding pixels you were not displaying anyway. Scaling up is not: the browser has to invent pixels that were never captured, so the result looks soft or blocky. Never upscale beyond about 150% of the original.
Does this also reduce the file size?
Yes, substantially. File size scales roughly with pixel count, so halving both dimensions cuts the pixel count to a quarter. For maximum savings, resize first and then run the result through the Image Compressor.
Can I resize several images at once?
This tool handles one image at a time so you can check each result. For batch work where every image needs the same treatment, the Image Compressor processes up to 20 files in one go.
What is the difference between resizing and cropping?
Resizing scales the whole image to new dimensions, keeping all of the content. Cropping cuts away part of the image to change its shape or framing, keeping the remaining pixels at their original size.