Image Resizer Online — Free, Custom Dimensions, No Upload
Resize your images to exact pixel dimensions. Reduce file size while maintaining quality. Secure client-side processing.
Upload an Image
Drag and drop or click to select
Supports JPG, PNG, WEBP, GIF
Resize any image to the exact pixel dimensions you need
Type a precise width and height in pixels, keep the proportions locked so nothing stretches, and pull the file size down with the quality slider — then download. This free online resizer works on JPG, PNG, WEBP, and GIF, and it does the whole job inside your browser tab: the photo is read straight off your device and redrawn with the Canvas API, so there’s no upload, no queue, and no file-size cap. For JPG, PNG, and WEBP the download keeps its original format — a JPG stays a JPG, a PNG stays a PNG; a GIF comes back as a PNG.
Resizing is one of three closely related jobs. To make a file lighter without changing its dimensions, compress the image instead. To change its shape or trim the edges, crop the image. To switch format — say PNG to WEBP for the web — convert it.
How the resizer works — and why nothing is uploaded
When you drop a file in, the browser reads it into a hidden <canvas>, redraws it at your target width and height with high-quality smoothing, and hands back a fresh image with canvas.toDataURL() — all client-side. Because the pixels are rebuilt on your own machine, the picture never leaves your device, which is exactly why there’s no upload step and no server.
Aspect Ratio Lock keeps the maths honest. With the lock on — its default — changing the width recalculates the height from the original proportions automatically, so a 4000 × 3000 photo you retype to 800 wide becomes 800 × 600 on its own. Release the lock only when you deliberately want a non-proportional size.
The quality slider is separate from the dimensions. It controls how hard the encoder compresses, from 1 to 100 (80 by default). Dropping it to 60–80% can shave 50–70% off the file with little visible change — handy when the pixel size is already right but the file is still too heavy to upload or email.
How to resize an image in four steps
- 1. Upload your image — drag and drop it onto the drop zone or click to select a JPG, PNG, WEBP, or GIF. The width and height fields fill in with the original dimensions.
- 2. Set the new dimensions in pixels. Type the exact width and height your target needs.
- 3. Keep or release the ratio — leave Maintain Aspect Ratio on to avoid distortion, or toggle it off for a custom, non-proportional size.
- 4. Tune quality and download — slide the quality control to trade file size against sharpness, then click Download Resized Image. Use Reset to Original to start over.
Social media image sizes reference
There are no preset buttons — you read the size you need here and type it straight into the Width and Height fields. Match the dimensions to where the image will appear so it lands sharp and uncropped:
| Placement | Dimensions (px) | Aspect ratio & notes |
|---|---|---|
| Instagram square post | 1080 × 1080 | 1:1 — also safe for the LinkedIn feed |
| Instagram portrait post | 1080 × 1350 | 4:5 — the tallest allowed in-feed |
| Instagram / Facebook Story | 1080 × 1920 | 9:16 full-screen vertical |
| Facebook / LinkedIn link preview | 1200 × 630 | 1.91:1 Open Graph default |
| Twitter/X large card | 1200 × 628 | Near-identical to OG — safe to reuse |
| YouTube thumbnail | 1280 × 720 | 16:9 — keep key text centred |
| TikTok video cover | 1080 × 1920 | 9:16 vertical |
Resize vs. compress vs. crop — which one do you need?
These three jobs are easy to mix up, but they change different things about an image:
- Resize — change the pixel dimensions
- Scales the whole picture to a new width × height. Reach for it when a target demands an exact size — 1080 × 1080 for a post, or 800px wide for a blog body image. That’s this tool.
- Compress — keep the dimensions, shrink the bytes
- Re-encodes at a lower quality without touching width or height. Use it when the pixel size is already fine but the file is too heavy. Our Image Compressor also handles many files at once for batch work.
- Crop — change which part you keep
- Cuts the frame to a new shape or aspect ratio rather than scaling everything. Use Crop Image to turn a wide photo into a square or trim dead space.
In practice they chain neatly: crop to the right shape, resize to the exact pixels, then compress to the final file size.
Resizing without stretching or distorting the image
Distortion creeps in when the width and height you set don’t share the original’s proportions — force a 4:3 photo into a 1:1 square and faces stretch. There are two clean ways around it. Keep Aspect Ratio Lock on and type only one dimension, letting the other follow automatically; the resize then only scales and never squishes. Or, if you genuinely need an exact size that doesn’t match the current shape, crop to that aspect ratio first, then resize the already-correct shape. Leave the lock off only when a deliberately stretched or squished look is exactly what you want.
Cara mengubah ukuran foto online gratis
Tool resize foto online gratis ini memungkinkan Anda mengubah ukuran foto ke dimensi pixel yang tepat — tanpa unggah ke server. Unggah foto JPG, PNG, WEBP, atau GIF, masukkan lebar dan tinggi yang diinginkan, atur kualitas dengan slider, lalu unduh hasilnya langsung.
Atur ukuran foto secara privat: semua proses ubah pixel foto berjalan sepenuhnya di browser Anda menggunakan Canvas API, jadi foto tidak pernah diunggah. Aspect Ratio Lock aktif secara default untuk mencegah distorsi. Cocok untuk media sosial seperti Instagram (1080 × 1080), Story (1080 × 1920), dan thumbnail YouTube (1280 × 720). Gratis, tanpa daftar, tanpa watermark.
Frequently asked questions
Upload it, type the exact width and height in pixels, and click Download Resized Image. Everything runs in your browser, so the file is never uploaded. JPG, PNG, and WEBP keep their original format; a GIF is converted to PNG.
Leave Aspect Ratio Lock on (the default) and change only one dimension — the other updates automatically to keep the proportions. Turn the lock off only when you want to stretch or squish the image on purpose.
Yes. Read the size from the reference table above and type it into the width and height fields — 1080x1080 for an Instagram post, 1080x1920 for a Story, 1280x720 for a YouTube thumbnail, or 1200x630 for a Facebook or LinkedIn link preview.
Enter smaller width and height values to cut the pixel size, and lower the quality slider to shrink the file further. Around 60-80% quality usually removes 50-70% of the bytes with little visible loss. To keep the same dimensions and only lighten the file, use the Image Compressor instead.
You can upload JPG, PNG, WEBP, and GIF. JPG, PNG, and WEBP download in their original format; GIFs are converted to PNG and lose any animation. To change format on purpose, for example PNG to WEBP, use the Image Converter.
No. Resizing happens entirely in your browser with the Canvas API, so the image never leaves your device. The tool is free, with no signup and no watermark.