How to Resize Images for Websites
Most website images are displayed at 800–1600 pixels wide, yet people upload photos straight from their camera at 4000 pixels or more. That extra size does nothing except slow the page down. This guide covers the sizes that actually matter and how to resize with ToolNest's free Image Resizer — in your browser, with no upload to a server.
Step 1: Open the Image Resizer
Go to the Image Resizer. Your image is processed on your own device, so it stays private.
Step 2: Choose your image and target width
Pick the image, then set the width you actually need. Use the sizes below as a starting point, and match your site's layout if you know it:
- Blog hero / featured image: 1200 pixels wide.
- Images inside an article: 800 pixels wide.
- Thumbnails and cards: 400–600 pixels wide.
- Full-width banners: 1600–1920 pixels wide.
- Social media sharing images: 1200 x 630 pixels.
Step 3: Keep the aspect ratio locked
This is the one rule that matters most: when you change the width, the height must change by the same proportion. If you stretch one dimension only, faces look fat, circles become ovals, and text distorts. A proper resizer locks the ratio for you — never resize by dragging a corner in a document editor and hoping for the best.
Step 4: Resize, then compress
Resizing alone usually cuts a photo's file size by more than half. Follow it with compression for the best result: resize first, then run the image through ToolNest's Image Compressor at quality 80–85%. The two steps together routinely turn a 5 MB camera photo into a 150–300 KB web image that looks identical on screen.
Step 5: Download and check
Download the resized image and view it at 100% zoom. Text should still be readable, edges should be clean, and nothing should look stretched. If it looks soft, you may have shrunk it too far — resize again from the original, not from the resized copy.
Mistakes that slow websites down
- Uploading the camera original: The browser still has to download all 5 MB even if CSS displays it small.
- Resizing with HTML or CSS only: Setting width="800" in code does not shrink the file — the full image still downloads.
- Upscaling a small image: Enlarging a 400-pixel image to 1200 pixels does not add detail; it just makes it blurry. Start from the largest original you have, and only shrink.
- Using PNG for photos: Photos should be JPEG or WebP. PNG is for graphics, logos, and anything needing transparency.
Quick answers
What width should blog images be? 1200 pixels for heroes, 800 for in-article images — that covers nearly every theme and screen.
Does resizing reduce quality? Shrinking an image loses no visible quality as long as you start from the original and keep the aspect ratio.
Can I resize many images at once? Resize them one at a time so you can check each result — batch resizing hides mistakes until they are already published.