Resize Images Online — Free Image Resizer
Resize JPG, PNG, WebP, and AVIF images to exact dimensions or scale by percentage. A fast photo and image scaler for websites, social media, or email — bulk resize with ZIP download.
Want to thank us? Tell your friends about LeanImg!
How to Resize Images
Select your images
Choose files or drag and drop them into the resizer. Supports JPG, PNG, WebP, AVIF, and GIF.
Set dimensions
Enter target width and height in pixels, or scale by percentage. Lock the aspect ratio to prevent distortion.
Download
Download the resized images individually or all at once as a ZIP file.
Social Media Image Sizes (2026)
Use these recommended dimensions to ensure your images display perfectly on every platform. Incorrectly sized images get cropped, compressed, or displayed at lower quality by social media platforms.
| Platform | Type | Dimensions (px) |
|---|---|---|
| Square Post | 1080 × 1080 | |
| Portrait Post | 1080 × 1350 | |
| Story / Reel | 1080 × 1920 | |
| Landscape | 1080 × 566 | |
| Post | 1200 × 630 | |
| Cover Photo | 1640 × 624 | |
| Story | 1080 × 1920 | |
| YouTube | Thumbnail | 1280 × 720 |
| Channel Banner | 2560 × 1440 | |
| X / Twitter | Post Image | 1200 × 675 |
| Header | 1500 × 500 | |
| Post | 1200 × 627 | |
| Cover Photo | 1584 × 396 | |
| TikTok | Video Cover | 1080 × 1920 |
| Pin | 1000 × 1500 |
Cover, Contain and Stretch
The fit mode only matters when your target box is a different shape from your image. When the ratios already match, all three modes produce the same result. When they don't, this is what changes.
| Mode | What it does | Use it when |
|---|---|---|
| Cover | Fills the box completely and trims whatever hangs over the edges | A thumbnail or social slot that has to be exactly one shape, and losing the edges is fine |
| Contain | Fits the whole image inside the box, leaving empty space on two sides | Nothing may be cut, such as a product shot or a logo |
| Stretch | Forces the exact dimensions and distorts the picture to get there | Almost never. Faces and circles give it away immediately |
The aspect ratio math, once
Divide width by height and you have the ratio. A 4000x3000 photo is 1.333, or 4:3. To scale it to 1200 wide, divide 1200 by 1.333 and you get 900 for the height. That's exactly what the aspect lock does for you while you type. It also tells you when a target is going to cost you something: a 1.333 photo going into a 1200x630 Facebook slot is heading for a 1.905 box, so under Cover, roughly 30% of the height gets trimmed away.
What happens to the file
PNG output is re-encoded losslessly, so the pixels that survive the resize are exactly the pixels you get. Everything else is re-encoded at quality 90 unless you change it, which is high enough to be invisible on a photo and still worth knowing about if the file has already been through a lossy round. One thing to watch: an animated GIF or WebP is flattened to a still, because the resize path works on a single decoded frame.
Resize guides by format and use case
Why Resize with LeanImg?
Oversized images slow down websites, get rejected by email providers, and display poorly on social media. Resizing to the correct dimensions improves page load speed, reduces bandwidth costs, and ensures your images look sharp on every platform. Google uses page speed as a ranking signal, so properly sized images directly improve SEO performance. LeanImg resizes images entirely in your browser — your files never leave your device. Need smaller file sizes too? Pair resizing with our Image Compressor for the best results. Or convert between formats like JPG, PNG, WebP, and AVIF.
Pixel-Perfect Dimensions
Resize images to exact pixel dimensions for social media, websites, or print. Aspect ratio lock prevents distortion.
Batch Resize
Resize up to 10 images at once with the same settings. Download individually or as a ZIP.
No Software to Install
Resize images online in seconds. No downloads, no sign-ups — just drag, drop, and go.
Frequently Asked Questions
How do I resize an image without losing quality?
LeanImg uses high-quality interpolation when resizing your images. For best results, avoid enlarging images beyond their original dimensions — downscaling preserves quality much better than upscaling. Enable the "Do not enlarge" option to prevent quality loss from stretching small images. Use a quality setting of 85–95% for the optimal balance between file size and visual fidelity.
How do I resize an image for Instagram?
Instagram recommends 1080×1080 pixels for square posts, 1080×1350 for portrait posts (best engagement), and 1080×1920 for Stories and Reels. Upload your image to LeanImg, enter the target dimensions, and download the resized version. All processing happens in your browser — your photos never leave your device.
Can I resize multiple images at once?
Yes. LeanImg supports batch resizing — select up to 10 images at a time and resize them all with the same dimensions. Once resized, download them individually or all at once as a ZIP file. Batch resize runs entirely in your browser with no upload required.
How do I resize an image to a specific file size (KB)?
To reduce an image to a specific file size like 100 KB or 200 KB, first resize it to smaller dimensions, then use our Image Compressor to fine-tune the file size. Reducing dimensions is the most effective way to decrease file size — a 1080px-wide image is typically 60–80% smaller than a 4000px original.
How do I resize an image on iPhone or Mac?
Open LeanImg in Safari or any browser on your iPhone, iPad, or Mac. Select your image, set the target dimensions, and tap Resize. The tool works entirely in your browser — no app installation needed. Your images stay on your device throughout the process.
What is the best image size for a website?
For most websites, images should be 1200–1600 pixels wide for full-width hero images, 800–1000 pixels for content images, and 300–400 pixels for thumbnails. Pair resizing with compression (JPEG quality 75–85 or WebP) to keep pages fast. Google uses page speed as a ranking signal, so optimized images directly improve SEO.
What is the difference between resizing by pixels and percentage?
Resizing by pixels sets exact output dimensions (e.g., 1080×1080 for Instagram). Resizing by percentage scales the image relative to its original size (e.g., 50% makes a 4000×3000 image become 2000×1500). Use pixels when you need exact dimensions; use percentage when you want to reduce image size proportionally.
Does resizing change the file format?
By default, LeanImg keeps the same format as your original image. A JPEG stays JPEG, a PNG stays PNG. If you need to change the format (e.g., PNG to WebP for smaller files), use our Image Converter after resizing.
How do I resize an image without stretching it?
Leave the aspect lock on, or pick a fit mode that respects the ratio. Type one dimension and the other follows automatically. If you need to hit an exact box whose shape differs from your photo, Cover fills the box and trims the overflow, while Contain fits the whole image inside and leaves space. Stretch is the only mode that distorts, and it exists for the rare case where you genuinely want that.
What is the difference between resizing and cropping?
Resizing changes how many pixels there are. Cropping changes which pixels you keep. Resizing a 4000x3000 photo to 1000x750 keeps the whole frame at a quarter of the width, and cropping to 1000x750 takes a rectangle out of the middle at full detail. If your target is a different shape from your source, you need both, which is what Cover mode does in one pass.
Does resizing an image reduce quality?
Making it smaller, barely. The browser resamples with high-quality filtering, so a well-lit photo scaled down usually looks sharper than the original did at that size. Two things do cost you. Every non-PNG output is re-encoded, at quality 90 by default, so a JPEG picks up one more generation of loss. And scaling up invents pixels it cannot know, which is what the upscaler exists for.
What size should my image be for Instagram, YouTube or LinkedIn?
The presets have the current numbers so you don't have to memorize them. Instagram takes 1080x1080 square, 1080x1350 portrait and 1080x1920 for a story or reel. A YouTube thumbnail is 1280x720 and a channel banner is 2560x1440. LinkedIn posts are 1200x627 and X posts 1200x675. Pinterest wants a tall 1000x1500. Fifteen presets ship in total, one click each.
Can I make an image larger without it going blurry?
Not with this tool, and that's the honest answer. A resizer interpolates between the pixels you already have, so scaling a 500 pixel image to 2000 gives you a soft 2000 pixel image. Our upscaler runs a Real-ESRGAN model that reconstructs plausible detail instead of interpolating, which is a genuinely different operation. Use the resizer to go down and the upscaler to go up.
Can I resize a batch of images to the same size?
Yes, up to 10 files and 50 MB per batch. Drop them all in, set the dimensions or pick a preset once, and every file is processed with those settings, then downloaded individually or as one ZIP. Mixed orientations are worth a thought first: a portrait and a landscape sent to the same fixed box will be trimmed differently under Cover, so run them separately if the framing matters.
Have more questions? Learn more about LeanImg and how we process your images.
Need smaller file sizes? Compress your images after resizing for optimal web performance. Or convert between formats like JPG, PNG, WebP, and AVIF. Need to crop? Crop your images after resizing. Generate favicons from your resized image. Need a cutout? Remove backgrounds with AI.