Choose Resize image, then Fit within limits, and enter 300 for both. Result: 300 × 225 pixels, 14.8 KB, with every edge kept and no padding.
Resize your image
Choose an image or try the sample. Set the size, create the file, then download it.
Worked example: one 800 × 600 photo, four results
"300 × 300" can mean "no bigger than 300 pixels" or "an exact square". Those give different files. We ran an 800 × 600 JPEG through each setting; these are the results.
Choose Fit an exact frame, enter 300 × 300 and choose Crop to fill. Result: 300 × 300 pixels. The middle 600 × 600 of the photo is kept, 75% of the picture; drag the focus point to choose which part.
Choose Fit an exact frame, enter 300 × 300 and choose Fit inside. Result: 300 × 300 pixels, with the 300 × 225 photo centered on a background. PNG and WebP can leave the bands transparent; JPEG fills them with your color.
Need it half as wide and half as high? Choose Resize image, then Percentage, and enter 50: the same photo becomes 400 × 300 pixels. Fewer pixels usually means a smaller file, but not always: the 300 × 300 square came out at 16.2 KB as JPEG and 138.7 KB as PNG.
Good to know
Lower quality gives a smaller file. The default, 88%, looks right for most photos; exact sizes vary by browser and image.
PNG is lossless, so there's no quality slider. A resized PNG can still be bigger than a JPEG of the same picture.
Portrait photos come out upright, at the size you see on screen. The new file doesn't keep camera data such as the location.
Does this tool crop my image?
Only if you ask it to. Resize image always keeps the whole picture. To trim the edges, choose Fit an exact frame and then Crop to fill; the preview shows how much of the picture is kept, and you can drag the focus point. Fit inside keeps everything and adds background, and Stretch changes the proportions on purpose.
How do I make an image fit within 300 × 300 pixels without cropping?
Choose Resize image, then Fit within limits, and enter 300 for both. An 800 × 600 photo becomes 300 × 225, not a padded 300 × 300 square. Smaller images keep their size unless you turn off Don't enlarge smaller images. Sizes are rounded to whole pixels.
How do I make a 1080 × 1080 image for a post?
Choose Fit an exact frame and pick Square post (1080 × 1080). Then choose Crop to fill to fill the square, or Fit inside to keep the whole picture with bands of background. Drag inside the frame to keep your subject in view. The other presets cover portrait posts (1080 × 1350), stories and reels (1080 × 1920), link previews (1200 × 630) and video thumbnails (1280 × 720).
Will resizing make my file smaller?
Usually, if you make the picture smaller in pixels, but not always: a PNG can even grow. If a form asks for a file under a size such as 100 KB, use the Image Compressor, which works to a size limit.
Does it keep metadata and color profiles?
No. The new file doesn't carry over EXIF data such as the camera model and location, and the color profile isn't kept. Most pictures look the same on screen; if colors matter, for print for example, compare the result with your original.
Can it resize animated images?
No. Animated PNG and WebP files are turned away, because saving a single frame would drop the animation.
Can I resize a portrait photo from my phone?
Yes. Phones often store portrait photos sideways with a note to rotate them. The tool resizes the photo the way you see it, upright, and saves the new file upright. If a photo's rotation note is damaged, the tool says so instead of guessing.
Is my image uploaded?
No. Your browser reads and resizes the image on your device, and nothing is sent anywhere. Nothing is saved between visits either.
How it works
The tool first checks that the file really is a PNG, JPEG or WebP and reads its pixel size. Your browser then draws the picture at the new size, using exactly the crop or fit shown in the preview, and saves the new file. Before the download button turns on, the file is opened again to check its format and pixel size.
The resizing itself is done by your browser's built-in image drawing, the same one web pages use, set to its highest smoothing quality. References: how browsers save canvas images (WHATWG) and the PNG specification (W3C).
Pixel size and file size are different limits
A 1080 × 1080 image can still be too large for an upload form. Use this resizer to get the pixel size and framing right, then the Image Compressor to get under a limit such as 20 KB, 50 KB or 100 KB.
If the size is already right and you only need another format, the Image Converter changes PNG, JPG and WebP files, up to 12 at a time.