How to Resize an Image to Exact Pixels Online (Free, Batch, Keeps Proportions)
"Photo must be 600 x 600 pixels." "Upload a banner of 1500 x 500." "Image width should not exceed 1280px." Size rules like these turn up on job portals, university admission forms, online shops and social media, and they are strict: upload the wrong size and the form simply refuses it.
DoraPDF's free Image Resizer lets you resize an image to exact pixels online or shrink it by a percentage, for one photo or a whole batch. This guide shows how to use it, how the aspect-ratio setting really works, and how to handle the "must be under 50 KB" rule that often comes with a pixel size.
Pixels vs. kilobytes: two different limits
Most confusion around resizing comes from mixing up two numbers:
- Dimensions (for example 600 x 600 pixels) are the width and height of the picture.
- File size (for example 50 KB) is how much storage the file takes.
Resizing changes the dimensions, and as a side effect it usually makes the file smaller, because there are fewer pixels to store. But if a form gives you a KB limit, the tool for that is a compressor. The workflow at the end of this post combines both.
How to resize an image on DoraPDF
- Open the Image Resizer.
- Drop one or more images onto the page. On a phone, pick them from your gallery.
- Choose a Mode:
- By pixels: type a Width and/or Height.
- By percentage: type a percent, such as 50 to halve both sides.
- Leave Keep aspect ratio ticked unless you deliberately want to stretch the picture.
- Pick the Output format: same as the original, JPG, PNG or WebP.
- Press Resize and download. Each file name ends with its new size, like photo-600x600.jpg, so you can see at a glance that it worked.
Everything happens inside your browser; the images are not uploaded.
How "Keep aspect ratio" behaves (worth reading once)
The aspect-ratio checkbox decides how width and height work together:
- Only width filled in: the height is calculated automatically so the photo is not squashed. Type 1080 and a 4000 x 3000 photo becomes 1080 x 810.
- Only height filled in: the same, the other way round.
- Both filled in, box ticked: the image is scaled to fit inside that box without distortion. A 4000 x 3000 photo resized to 600 x 600 becomes 600 x 450, because squeezing it to a square would stretch it.
- Both filled in, box unticked: you get exactly the numbers you typed, even if that stretches the image.
So when a form demands an exact square, crop your photo to a square first (most phone gallery editors have a square crop), then resize with the box ticked. You will get exactly 600 x 600 with nothing stretched.
Practical size examples
These are sizes people commonly need. Always check the current rules of the site or form you are using, since platforms change them.
- Profile pictures: square images such as 400 x 400 or 800 x 800 work on most sites.
- Website content images: a width of 1200 to 1600 pixels is plenty for most blog layouts.
- Email attachments: 1280 pixels wide keeps photos clear on a laptop screen at a fraction of the original size.
- Thumbnails and previews: 25% to 50% of a modern phone photo is usually enough.
A phone photo is often 4000 pixels wide or more, which is far larger than any of these. Resizing first is one of the easiest ways to make uploads faster.
Batch resizing: the time-saver
You can add many images at once. The same settings are applied to each one, and each comes back as a separate download. This is ideal for:
- Product photos for an online shop that all need the same width
- A folder of event pictures you want to share without sending huge files
- Screenshots for a report that should all be the same size
With Keep aspect ratio on and only a width set, photos of different shapes all end up the same width while keeping their own proportions.
Common problems and fixes
The image looks blurry after resizing. You probably made it bigger. Resizing up cannot invent detail. If you need a larger, sharper version of a small picture, try the AI Image Upscaler instead.
My transparent PNG now has a white background. You chose JPG as the output. JPG has no transparency, so the empty areas become white. Choose PNG or WebP to keep them see-through.
The size is right but the file is still too heavy. Run the resized image through the Image Compressor, or resize to JPG or WebP, which are usually much smaller than PNG for photos.
The photo is sideways or mirrored. Fix the orientation first with the Image Flipper, then resize.
A file will not open, or the output looks wrong. Your browser may not read that format well. Convert it to JPG first (for iPhone HEIC photos, use the HEIC to JPG converter), then resize.
Workflow for "600 x 600 and under 50 KB"
Many application forms ask for both. Here is a reliable order:
- Crop the photo to the required shape in your phone's editor.
- Resize it to the exact pixel size in the Image Resizer, output JPG.
- If it is still over the limit, open the Image Compressor, choose Original size under Resize (so your pixel size stays the same), and try Balanced or Strong strength.
- Check the file size before uploading.
A 600 x 600 JPG is usually small already, so step 3 is often unnecessary. For a detailed walkthrough of hitting KB targets, see our guide on compressing JPEG to 100 KB or 200 KB.
Privacy
The Image Resizer runs entirely in your browser. Your photos, including ID pictures and personal shots, never leave your device.
FAQ
How do I resize an image without losing quality? Make it smaller, not bigger, and keep the aspect ratio ticked. Output PNG if you want no compression at all, or JPG for a smaller file.
Can I resize photos on my iPhone or Android phone? Yes. The Image Resizer works in mobile browsers; choose photos from your gallery and download the results.
Can I resize several images at once? Yes. Add as many as you need; the same settings apply to all.
How do I resize an image to a specific KB size? Resize to the needed pixels first, then use the Image Compressor to reduce the file size further.
Try the tools from this guide — free
Keep reading
Product Photos With a White Background for Your Online Store (Free, From Your Phone)
Make clean white-background product photos for Shopify, Etsy, Daraz or Amazon: shoot, remove the background, resize and compress, all free in your browser.
GuideHow to Compress an Image to 20 KB, 50 KB or 100 KB (Without Making It Unreadable)
Need a photo under 20 KB, 50 KB or 100 KB for a form? Learn the resize-then-compress method that hits small size limits while keeping the image clear.
GuideOnline Job Application Documents: Get Your Photo, CNIC and Degree Scans to the Right Size
Job portal rejecting your files? Prepare your photo, CNIC and degree scans in the right format and KB size, step by step, free in your browser.