How to Resize an Image for an Upload Form
Last reviewed 2026-11-17 · 6 min read
Upload forms often ask two different things at once: a picture of a certain size in pixels, and a file under a certain number of kilobytes. Mix them up, or work in the wrong order, and the form turns the file down. A reliable sequence is to crop to the right shape, resize to the pixel size, then squeeze the file to its limit.
Use Crop, Rotate & Flip Image for the shape, Resize Image Dimensions for the pixels, then Resize Photo or Signature to KB for the file size. Read the final dimensions at the end.
1Before you start
- Write down the form's rules: width and height or an aspect ratio, a maximum file size, and the accepted formats.
- Keep your original untouched, because every export is re-encoded.
- The size tools lower quality first, then cut pixels when quality alone cannot reach the limit. The exact-target tool shrinks to three quarters at a time, for up to eight rounds. That is why the size step comes last, and why you read the pixel size it reports.
- HEIC photos need converting first. See the HEIC to JPG guide.
2Step by step
Step A: crop to the right shape
- Open Crop, Rotate & Flip Image and drop the photo on Drop your photo here to crop.
- Press a ratio button: Custom Free, 1:1, 4:3, 16:9, 9:16 or 3:2. A centred box of that shape appears. Move it with the X Position, Y Position, Width and Height sliders, which work in percent of the photo. The outline on the preview is a guide and cannot be dragged. Touching Width or Height breaks the ratio, so press the ratio button again to reset.
- Rotate and flip buttons work in 90 degree steps, but the outline stays on the original picture. If you rotate or flip, judge the framing from the downloaded file.
- Press Apply Crop, then Download Cropped Photo. The file is always a JPEG at 92 percent quality, named with _cropped. If you move a slider after cropping, press Apply Crop again, because the download button can still offer the earlier crop.
Step B: set the pixel size
- Open Resize Image Dimensions and drop the cropped photo on Drop your photo here to resize. The original dimensions appear.
- Under Resize Units pick px, percent, inch or cm. Inches and centimetres convert to pixels at a fixed 300 DPI, so 2 inches becomes 600 pixels. Check which unit is active before you type.
- Leave the padlock locked so the height follows the width. If the form needs a shape your photo does not have, go back and crop first, since unlocking the padlock would stretch the picture.
- Check Output Format (JPEG (Standard), PNG (Lossless) or WebP (Modern Web)) and Quality from 20 to 100. The format may start from your saved defaults or from the photo itself.
- Read the Output Resolution line, press Resize to W × H px, and take Download Resized Photo, named with _resized.
Step C: bring the file under the limit
- Open Resize Photo or Signature to KB and choose Photo (or Signature, which adds a grayscale checkbox).
- Tap a size under Make it this size or smaller (10, 20, 30, 50, 100, 200 or 500 KB), or type a number from 5 to 5,000 into Custom (KB). A banner states the target in bytes, counted at 1,000 per KB.
- Optionally fill in Longest side limit in pixels (16 to 20,000), a maximum rather than an exact size, then drop in one or more pictures. Each card shows the Result in KB and bytes, the pixel size and the JPEG quality chosen.
- If the pixels fell below what the form needs, the tool had to shrink the picture, so raise the target or start from a simpler photo. A miss shows Could not reach with the smallest result it found.
- Take Download JPEG. If the target was missed, the button reads Download smallest JPEG. The guide to compressing an image to a size in KB covers the details.
3Common problems and fixes
- The form reports the wrong dimensions after compressing. The size tool shrank the pixels to reach the limit. Raise the target a little, or redo it from the original.
- A face looks squashed. The ratio padlock was open, or the photo's shape does not match the target. Crop to the shape first.
- The photo looks soft. Enlarging adds no detail. Start from the biggest original you have and avoid scaling up.
- The form insists on PNG. The crop tool and the 50 KB page always write JPEG. Resize Image Dimensions can write PNG.
- My size does not match the form's. The tool counts 1 KB as 1,000 bytes, so a site that divides by 1,024 shows a smaller number for the same file. If a site rejects a file by a hair, aim a few KB lower.
4Is it private?
Each tool decodes the picture in your browser, redraws it on a canvas and encodes it again on your device, and none of them sends it to our servers. The crop tool's export is a new image, so camera and location tags are not copied into it. Closing the tab releases the picture from memory.
The page loads Cloudflare Web Analytics. The Privacy Policy explains what the site requests.
Frequently Asked Questions
Why not just compress the photo?
Compression targets bytes. It does not make a photo square, or 600 pixels wide. Crop and resize first when the form names a shape or a pixel size.
Is 1 KB 1,000 or 1,024 bytes?
Resize Photo or Signature to KB counts 1 KB as 1,000 bytes, which is the stricter rule, so a file that passes there also passes a site that counts 1,024. When unsure, aim a little under the limit.
Can I process several photos at once?
Resize Photo or Signature to KB accepts several pictures at once. Crop and Resize Image Dimensions take one at a time.