Image Resizer
Resize images to exact pixel dimensions with aspect-ratio lock and fit modes (cover/contain/fill).
Resize images to exact dimensions in your browser. Free online image resizer with aspect ratio lock, batch-ready, no uploads.
Calculator Inputs
About Resize Image
Resize images to exact pixel dimensions with aspect-ratio lock and fit modes (cover/contain/fill).
Enter target width and height, choose a fit mode:
- Cover — fills the box, crops excess (like CSS
object-fit: cover). - Contain — fits entire image, adds padding (like
object-fit: contain). - Stretch — distorts to exact box.
Lock aspect ratio to keep proportions; uncheck to force exact pixels. Output as PNG, JPEG, or WebP.
Where it is used
Social media posts (IG 1080×1080, FB 1200×630), thumbnails, responsive web images, printing prep.
How to use the Resize Image
- Width (px) — enter the value (e.g. 1920).
- Height (px) — enter the value (e.g. 1080).
- Lock Aspect Ratio — enter the value.
- Fit Mode — enter the value.
- Output Format — enter the value.
- Calculate — press the Calculate button to see the result instantly above.
Formula
Canvas drawImage with cover/contain/fill modes and optional aspect-ratio lock.
Examples
Instagram Post
width:1080
height:1080
lockRatio:true
fit:cover
Result: 1080×1080 square, centered crop
Frequently Asked Questions
- Cover vs Contain?
- Cover fills the box and crops edges; Contain shows the whole image with letterboxing.
- Can I enlarge small images?
- Yes, but upscaling adds blur. For quality upscaling, use an AI upscaler.