What this tool does
Resizes an image to fit inside target dimensions or center-crops it to fill an exact width and height, then exports PNG.
How to use it
- Choose an image and enter whole-number dimensions from 1 to 10,000 pixels.
- Choose fit to preserve the whole image or center crop to fill the frame.
- Resize, inspect output dimensions and framing, then download.
Method
Fit keeps the whole image inside the target box without enlarging the original. Dimensions are rounded to whole pixels, so small images can have an approximate aspect ratio. Center crop uses a centered area with the target ratio, then scales it to the exact dimensions, including enlargement. The actual output must not exceed 40 million pixels.
Worked example
A 1600×900 image fitted inside 800×800 becomes 800×450. Center-cropping the same source to 800×800 removes side content and produces exactly 800×800.
Common uses
- Preparing social preview sizes
- Making thumbnails
- Cropping a centered subject to a square
Limitations
Center crop can remove important edge content and has no adjustable focal point. Enlargement cannot add real detail. Output is a still PNG image and its file size may increase. Metadata and color profiles may change; complete metadata removal is not guaranteed. Large images may fail when browser memory is limited.
FAQ
Why can fit output be smaller than the requested dimensions?
Fit stays inside both limits and never enlarges the original. An 80×40 image fitted inside 160×80 therefore remains 80×40.
Where does center crop focus?
It uses the geometric center, so inspect the preview if the subject is off-center.