Free · runs entirely in your browser · nothing uploaded
Image Resizer
Resize by exact pixels or a percentage, compress toward a target file size, generate ready-made social media sizes, or crop a passport/ID photo — all on this one page.
Drop images here, or click to browse
JPG, PNG, or WEBP · up to 20.00 MB each · processed entirely in your browser
How to resize an image
Drop one or more JPG, PNG, or WEBP files into the box above, or click it to browse your device. Once your images are in, pick a mode from the tabs: By pixels gives you exact width and height fields with an aspect-ratio lock so your photo doesn't stretch or squash; By percentage scales everything uniformly, which is the fastest way to shrink a batch of photos without doing any math; Social media jumps straight to the exact dimensions each platform expects; Passport / ID handles the fixed-aspect-ratio crop that official photos require; and Compress re-encodes the image at a smaller file size without necessarily changing its dimensions at all. Every setting updates the preview automatically — there's no separate "Apply" button to hunt for. When you're happy with the result, download images one at a time or, if you've queued up more than one, grab them all together as a single ZIP file.
Choosing between resize, compress, and format conversion
These three things get conflated a lot, but they solve different problems. Resizing changes how many pixels make up the image — useful when a platform has a maximum dimension, or when a photo straight from a camera is simply larger than you need for the web. Compressing keeps the same pixel dimensions but re-encodes the file at a lower quality setting to shrink the file size — the right move when a page is loading slowly because of oversized image files, not because the images are physically too large on screen. Format conversion changes the container the image data is stored in: WEBP typically produces the smallest file size for a given visual quality and is well supported by modern browsers, JPG remains the safest universal choice for photographs, and PNG is the only lossless option of the three, best reserved for screenshots, logos, and images with sharp edges or transparency. You can combine all three at once here — resize down, compress, and convert format — in a single pass.
Getting a passport or ID photo right
Most passport and ID photo rejections come down to the photo being the wrong shape, not the wrong content — a normal phone photo is usually a rectangle closer to 4:3 or 16:9, while passport specifications call for near-square or otherwise fixed-ratio crops. This tool handles that conversion for you: pick the size standard you need (the presets here are the globally common ones — 2×2 inch, 35×45mm, 40×50mm, and 30×40mm — rather than any single country's exact bureaucratic rulebook, so always double check your destination's specific requirements before submitting), and the photo is cropped to fill that exact box at 300 DPI print resolution. If the automatic crop cuts off too much of your forehead or chin, use the reposition slider to nudge the crop window up or down until the framing looks right, or switch to "fit whole photo" mode if you'd rather see the entire original image with a plain background fill instead of a crop.
Frequently asked questions
Do you upload my photos to a server?+
No. Every resize, crop, and compression happens locally in your browser using the HTML Canvas API. Your images never leave your device, which also means this tool works without an internet connection once the page has loaded, and there’s no file size or privacy risk from a third-party server handling your photos.
What image formats are supported?+
You can upload JPG, PNG, or WEBP files, and export to any of those three formats regardless of what you uploaded — for example, you can bring in a PNG and export it as a compressed JPG, or convert a JPG to WEBP for smaller file sizes on the web.
How does the "compress to a target size" option work?+
When you enter a target size in KB, the tool re-encodes your image at progressively adjusted quality levels until it finds the highest quality setting that still lands at or under your target — rather than you guessing at a quality percentage and checking the result yourself.
Why did my passport photo get cropped oddly?+
Passport and ID photo standards require an exact aspect ratio (for example, a square 2×2 inch photo), which rarely matches the aspect ratio of a photo straight out of a phone camera. By default the tool crops to fill that exact box; use the reposition slider to shift the crop up or down until your face is centered the way your document requires, or switch to "Fit whole photo" to see the entire original image with padding instead of a crop.
Is there a limit on file size or number of images?+
Individual files up to 20 MB are supported, and you can queue up multiple images at once — they’re processed one at a time to keep your browser responsive, and you can download them individually or all together as a ZIP.
Will resizing reduce image quality?+
Making an image smaller (fewer pixels) doesn’t meaningfully reduce quality since you’re simply representing the same picture with less detail. Quality loss becomes a factor with JPG/WEBP compression — the quality slider controls that trade-off directly, and PNG output is always lossless regardless of the slider.