Resize images to exact pixels and compress to KB
Set a file-size limit, an exact width and height, or both. JPG, PNG and WebP files are processed on your device, and each result is checked against your numbers before you download it.
Choose images or drag & drop
JPG, PNG, or WebP · processed on this device · nothing is uploaded
Processed on your deviceImages are never uploaded
No account neededNo signup and no watermark
Checked before download✓ or ✕ for size, pixels, format
Works in batchesSeveral images, one ZIP download
Pick a tool
Image Compressor
Shrink JPG, PNG and WebP files to a target size such as 50 KB or 100 KB.
OpenImage Resizer
Set an exact width and height in pixels, then crop, fit or stretch to it.
OpenImage Converter
Convert between JPG, PNG and WebP. Transparent PNGs get a white background as JPG.
OpenPhoto Requirements
Official upload rules for UK passport, US visa and India e-Visa photos, with a checker.
Open
Popular image requirements
Tap one to set up the tool above, then add your image. These are common figures, not rules for any particular form, so check the exact numbers on the form you're submitting.
How it works
Step 1
Add your image
Drop in one photo or a batch. JPG, PNG and WebP are supported.
Step 2
Set the requirement
Type a maximum file size (like 100 KB), an exact width and height, or both.
Step 3
Check, then download
Each result shows ✓ or ✕ for size, pixels and format before you save it.
File size and pixel size are different numbers
File size (KB)
How much storage the file takes. Forms often cap it, for example "under 100 KB". The compressor searches for the highest JPG or WebP quality that fits, and scales the image down only if quality alone can't get there. When it does, the result says so. See how to reduce a photo's size in KB.
Pixel dimensions (px)
The width and height of the picture, such as 300 × 400. The resizer gives you that exact size and lets you choose to crop, fit or stretch when the shape doesn't match. Many forms ask for both numbers, and you can set both in one pass. See the image resizing guide.
Formats
JPG and WebP are lossy and have a quality setting, so they suit strict size limits. PNG is lossless: right for screenshots, logos and transparency, but it gets smaller mainly by resizing. More in PNG vs JPG.
Privacy
Your browser opens, edits and saves the image in this tab. There's no upload step and no server copy to delete, and you can confirm it by watching your browser's network activity. How it works.
Frequently asked questions
Can I compress an image to an exact file size, like 100 KB?
Yes. Pick a preset or type your own limit, and the tool searches for the highest quality that still lands at or under it. The result shows a ✓ when it fits. If it can only fit by making the image smaller, it says so.
Do you upload my photos to a server?
No. Decoding, resizing, compressing and converting all run in your browser using the canvas APIs built into Chrome, Firefox, Safari and Edge. Your file is never sent over the network.
Can I resize to an exact pixel size, not just a percentage?
Yes. Enter a width and height. With the aspect ratio locked you can set just one and the other is calculated; with both set, you choose whether to crop, fit or stretch to that exact box.
What if my file size limit and my pixel size conflict?
The result shows the size you asked for next to the size you got, instead of quietly changing it. PNG has no quality setting, so switching the output to JPG or WebP usually keeps the exact pixel size; otherwise, raise the file-size limit.
Which formats are supported?
JPG, PNG and WebP, for both input and output. JPG and WebP have a quality setting, which makes them the better choice for strict file-size limits. PNG is lossless, so tight limits are met by resizing instead.