Image Resizer
Resize an image to any pixel dimensions you choose. Set width, height, or both.
Clear one field to scale proportionally.
Finding the best quality that fits…
- Original
- —
- Result
- —
- Reduction
- —
- Dimensions
- —
How to use this tool
- Choose your image, drag it onto the box, or paste it from the clipboard. JPG, PNG, WebP and HEIC all go in; JPEG comes out.
- There is nothing to set. This page is already fixed at under 2.00 MB, JPEG.
- It crops to exactly 1080 × 1080 px without stretching anything, then adjusts quality until the file fits.
- Download from the panel, which shows the original size, the final size and the output dimensions. Nothing was uploaded at any point.
Leave one field blank to scale proportionally — set only the width and the height follows automatically, keeping the aspect ratio. Fill in both and the image is scaled to fit those exact dimensions, which will distort it if the ratios differ.
Image Resizer — the specification
| Width / height | Whatever you enter, in pixels |
|---|---|
| One field blank | Scales proportionally |
| Both fields set | Exact dimensions, may distort |
| Output | JPEG |
| Maximum input | 25 MB |
Image Resizer: why uploads get rejected
Landing under 2 MB is necessary but not sufficient. These are the reasons a file that meets the size still gets sent back:
- Both dimensions were set with a very different aspect ratio from the source, so the result looks stretched. Leave one blank to keep the proportions.
- The target is larger than the source. Enlarging cannot add detail that was never captured.
- The form also had a file size limit, which dimensions alone do not address.
How it works
Hitting a size limit exactly is a search problem, not a setting. There is no quality value that means “2.00 MB” — how many bytes a given quality produces depends entirely on the picture. So this tool encodes, measures the real file, and adjusts.
Here the dimensions are fixed at 1080 × 1080 px by the specification, so scaling is not available as a lever. Everything has to come from the quality setting, and the tool reports honestly when the two requirements cannot both be met.
Where the first attempt already fits — as it did on the reference file below, at 389.6 KB — the search stops immediately rather than compressing further for no reason.
Every one of those encodes ran on your own device through the browser’s canvas API — including the intermediate attempts the search threw away. None of them was uploaded.
A measured run of this exact preset
Not an estimate: this page’s own code, run against a 12.2 MP photograph, landscape and an A4 scan at 200 dpi, with every encode recorded. The files and the method are published here.
| Input | Result | Change | Outcome |
|---|---|---|---|
| 12.2 MP photograph, landscape 4032 × 3024 px · 2.97 MB | 389.6 KB 1080 × 1080 px | 87% smaller | Under the 2.00 MB limit |
| A4 scan at 200 dpi 1654 × 2339 px · 996.0 KB | 397.0 KB 1080 × 1080 px | 60% smaller | Under the 2.00 MB limit |
Step by step
The dimensions here are fixed by the specification (1080 × 1080 px), so the image cannot be scaled to help. The file size has to come from quality alone.
The first attempt, at quality 0.96, produced 389.6 KB — already inside the 2.00 MB allowance, so no search was needed. One encode and it was done.
Final file: 389.6 KB, using 19.0% of the allowance, with 1.62 MB to spare.
Who needs Image Resizer
Anyone needing specific pixel dimensions — a profile picture, a header, a form field, or a batch of images made consistent.
Image Resizer — frequently asked questions
How do I keep the aspect ratio?
Fill in only one dimension and leave the other blank. The tool calculates the matching value automatically.
Can I enlarge a small image?
You can, but it will look soft. Upscaling stretches existing pixels; it cannot recover detail that was never there.
Will the file still be under 2 MB after I save it again?
Yes, as long as you do not re-encode it. Downloading and uploading the same file changes nothing. Opening it in an editor and saving again re-compresses it and can push the size back up, so upload the file you downloaded here rather than a copy you have edited.
Which file types can I upload?
JPG, PNG, WebP, GIF, BMP and HEIC from an iPhone all go in. The output here is JPEG. Conversion happens as part of the process, so there is no need to convert first.
Does this work on a phone?
Yes, including photos straight from your camera roll. The work happens on the device, so a very large image is slower on a phone than on a laptop, but nothing is uploaded either way.
Is this tool really free?
Yes. No account, no trial period, no watermark on the output and no cap on how many times you use it. The site is funded by advertising.
Related tools
From other categories
Background reading: How to Compress an Image to Any Size: The Complete Guide
Your photo never leaves your device. Open your browser's Network tab while you use this page and you will see no upload — how that works.
Disclaimer. Published requirements change without notice. Confirm against the official source before you submit. Full disclaimer.