UtilityKit

500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.

Image Resizer

Resize images to exact dimensions

About Image Resizer

Upload forms and social platforms have strict pixel limits — a 4032×3024 phone photo almost never fits without resizing. This tool processes images through Sharp's Lanczos3 resampling filter, which is sharper than the bilinear interpolation most desktop apps use when downscaling, especially for reductions above 50%. Target exact pixel dimensions, scale by percentage, or pick a preset like 1200×630 for Open Graph or 1080×1080 for Instagram. Aspect ratio lock keeps proportions correct automatically. Three fit modes cover every case: cover fills the target box and crops overflow, contain fits the whole image inside the box and letterboxes the remaining space, and fill stretches to exact dimensions. Resize and convert format in one step — a 4032×3024 PNG can become a 1200×900 WebP in a single upload. Files are deleted server-side within seconds of download.

Why use Image Resizer

Pixel-Exact or Percent Resize

Set width and height to exact pixels for a 1200×630 OG image or scale by a percentage such as 50% for quick thumbnail generation. Both modes are supported in a single UI without switching tools or re-uploading.

Aspect Ratio Lock

Toggle aspect lock to keep proportions intact — change one dimension and the other auto-calculates. This prevents accidental squishing or stretching, which is the most common resize mistake on portrait photos.

Lanczos3 Resampling

Sharp uses Lanczos3 as its default downsample filter. It preserves high-frequency detail better than bilinear or bicubic resampling, meaning downscaled photos look noticeably sharper — especially when reducing resolution by more than half.

Cover, Contain, and Fill Modes

Cover fills the target box and crops overflow from the edges, ideal for social thumbnails. Contain fits the whole image inside the box with letterbox padding, useful for ecommerce white-background squares. Fill stretches to exact dimensions.

Resize and Convert in One Step

Go from a 4032×3024 PNG screenshot to a 1200×900 WebP without two separate tools and two upload steps. Format conversion happens in the same Sharp processing pipeline as the resize.

Files Auto-Deleted Server-Side

Uploaded originals and the resized output are stored in a temporary directory during processing and deleted within seconds of the download response completing. Nothing is retained in storage.

How to use Image Resizer

  1. Upload a JPEG, PNG, or WebP image
  2. Enter target width and height in pixels, or choose a preset (1080×1080, 1200×630, 400×400)
  3. Toggle aspect ratio lock to preserve proportions, or unlock to set independent dimensions
  4. Pick fit mode: cover (fills and crops), contain (fits with padding), or fill (stretches)
  5. Choose output format (JPEG, PNG, or WebP) and quality level
  6. Click Resize, preview the result, and download

When to use Image Resizer

  • Before uploading product images to Shopify or WooCommerce, which have explicit pixel dimension requirements
  • When preparing Open Graph images for social sharing at the standard 1200×630 pixels
  • When Slack, GitHub, or a project management tool rejects an image because it exceeds their upload dimension limit
  • When creating profile avatars that must fit a strict 256×256, 400×400, or similar square requirement
  • Before submitting photos to a print service that specifies exact pixel dimensions at 300 DPI
  • When generating multiple size variants of a hero image for responsive srcset attributes

Examples

Phone portrait to social square

Input: iPhone photo: 4032×3024 (4.2 MB JPEG), target 1080×1080, cover crop

Output: Resized: 1080×1080 (210 KB JPEG, quality 80) — square cover crop, centred on the longer dimension

Hero banner downscale

Input: Stock photo: 6000×4000 (12 MB), target width 1920, aspect ratio locked

Output: Resized: 1920×1280 (490 KB JPEG, quality 80) — 75% downscale, aspect ratio preserved

Avatar preparation

Input: Headshot: 2400×3000 (3.8 MB), target 400×400, cover crop

Output: Resized: 400×400 (28 KB JPEG, quality 85) — fits LinkedIn-style upload limit

Tips

  • Always downscale rather than upscale — enlarging a 400×400 image to 800×800 just makes it blurrier. Start with the highest resolution source you have.
  • If the target box is square but your source is landscape, choose cover mode and centre your subject before cropping — the tool crops from the edges, not the middle of the action.
  • For Open Graph images, 1200×630 is the accepted size that Twitter, LinkedIn, and Facebook all display without re-cropping or adding black bars.
  • Lock the aspect ratio when changing one dimension; only unlock when you explicitly need a stretched or squished output for a specific template.
  • Combine resize and WebP conversion in one step to drop roughly 70% of the bytes compared to a JPEG at the same target dimensions.

Frequently Asked Questions

Will resizing make my image blurry?
Downscaling always reduces detail because you are mapping more source pixels to fewer output pixels, but Sharp's Lanczos3 filter minimises perceptible blur compared to bilinear resampling. Upscaling — making a small image larger — will look blurry because pixel data is being interpolated; avoid it wherever possible.
How do I keep my image's original aspect ratio?
Enable the aspect ratio lock before entering dimensions. When locked, entering a width automatically calculates the correct height, and vice versa. Unlocking the ratio lets you set independent dimensions, which will stretch or squish the image.
What's the difference between cover, contain, and fill?
Cover scales the image up or down until it fills the target box entirely, then crops whatever overflows — no letterboxing, but some edges may be cut off. Contain scales until the whole image fits inside the box and adds solid-colour padding to fill remaining space. Fill stretches both axes to exactly match the target, ignoring proportions.
Can I resize a 4K photo down to 1080p without losing detail?
Yes — downscaling from 3840×2160 to 1920×1080 is a 50% reduction, which Lanczos3 handles with excellent sharpness. You are removing excess resolution that most displays cannot show anyway, and the output will look sharp at its native size.
What's the largest file size I can upload?
The upload limit is 25 MB per file. Files larger than this are rejected before processing. Most phone photos and stock images fall well within this limit.
Does resizing also reduce file size?
Yes. Fewer pixels means less data to encode. A 4032×3024 photo downscaled to 1200×900 — roughly a 70% reduction in total pixel count — will produce a file roughly 70–85% smaller, depending on the output quality setting.
Will it preserve transparency for PNGs?
Yes. Choosing PNG output preserves the alpha channel through the resize operation. Switching to JPEG output discards transparency and replaces it with a white background. WebP output also preserves transparency.
Are my uploads kept on your server?
No. Uploaded files are written to a temporary directory during processing and deleted within seconds of returning the resized result. There is no long-term storage and no CDN caching of user uploads.

Explore the category

Glossary

Aspect ratio
The proportional relationship between an image's width and height, expressed as a ratio such as 16:9 or 4:3. Maintaining aspect ratio during resize prevents the image from appearing stretched or squished.
Lanczos3 filter
A high-quality image resampling algorithm that uses a sinc-based kernel to reconstruct pixel values during scaling. It preserves high-frequency detail (sharp edges and fine texture) better than bilinear or bicubic filters.
Cover vs contain fit
Cover scales the image to fill the target box entirely and crops any overflow, guaranteeing no empty space. Contain scales the image to fit entirely within the box and fills remaining space with padding or background colour.
Pixel density (DPR)
Device Pixel Ratio — the number of physical screen pixels per CSS pixel. A 2× retina display shows images at double resolution, so a 400×400 image on a retina screen only fills a 200×200 CSS pixel area at full quality.
Letterboxing
Padding added to the top and bottom (or sides) of an image to fill a target aspect ratio without cropping or stretching the original. Named after the black bars on widescreen films shown on standard-definition televisions.
Resampling
The process of calculating new pixel values when an image is scaled to a different resolution. The resampling algorithm determines whether the result looks sharp or blurry at the new size.