Image Resizer
Image resizing is one of the most common image processing tasks — resizing for web uploads, social media dimensions, email attachments, or print at specific DPI. Our browser-based resizer handles JPG, PNG, WebP, and GIF, with options to lock aspect ratio, set by percentage, or target a specific file size.
Click or drop an image
Original:
About the Image Resizer
Image resizing is one of the most common image processing tasks — resizing for web uploads, social media dimensions, email attachments, or print at specific DPI. Our browser-based resizer handles JPG, PNG, WebP, and GIF, with options to lock aspect ratio, set by percentage, or target a specific file size.
How to use it
- Upload an image file.
- Set new dimensions by pixels (width × height), percentage of original, or target file size (KB).
- Toggle aspect ratio lock to prevent distortion.
- Choose output format and quality, then download.
Formula & methodology
Aspect ratio = width / height. Scaled height = new width / aspect ratio. Bilinear interpolation: for enlarging, new pixel value = weighted average of 4 nearest source pixels. Bicubic: 16 nearest pixels (sharper, better for photos). For downscaling: Lanczos (sinc-based) algorithm reduces aliasing. File size estimate: width × height × bytes_per_pixel / compression_ratio.
Common use cases
- Social media: Facebook (1200×630), Twitter (1600×900), Instagram (1080×1080)
- Email: reducing attachment size for sending
- E-commerce: product images at consistent 800×800 for store listings
- Web performance: serving appropriately sized images (no 4K image for a 400px slot)
- Print: setting DPI for specific print dimensions (300 DPI for quality print)
Frequently asked questions
Related tools
All Tools →Embed this tool on your site
Free for personal and commercial use. Just copy the snippet below.