Resize an image by exact dimensions.
Enter the pixel box you need, choose Fit, Fill, Stretch, or Pad, set the crop anchor, rotate or flip if needed, then export JPG, PNG, or WebP locally.
Local processing. Measurement, resizing, encoding, and ZIP creation happen in this tab; selected images are not sent to imgrove. Privacy details
How to use Resize Image by Dimensions
- Drop one or more images and enter the exact width and height in pixels.
- Choose Fit to preserve the whole source, Fill to cover the box with crop, Stretch to force the pixels, or Pad for explicit background or transparent padding.
- Set the crop or pad anchor, rotate or flip the source when needed, then choose JPG, PNG, or WebP output and quality.
- Download the resized image or ZIP after checking the preview and crop-frame diagram.
How it works
- The image is decoded by the browser, optionally rotated or flipped on a temporary source canvas, then redrawn to the requested pixel width and height.
- Fit and Pad preserve the full source inside the target canvas, Fill crops enough source pixels to cover the target, and Stretch maps the whole source directly to the target dimensions.
- When aspect ratio is locked while editing width or height, the missing dimension is calculated from the transformed source ratio before export.
Formats and limits
| Input | JPG, PNG, WebP, GIF, BMP, and browser-readable still images. |
|---|---|
| Output | JPG, PNG, or WebP; one file for a single image, ZIP for batches. |
| Transparency | Transparent padding is available for PNG/WebP; JPG flattens onto the selected background color. |
| Animation | Animated inputs become one still frame. |
| Metadata | Canvas resizing removes most original metadata. |
| Controls | Fit, Fill, Stretch, Pad, crop/pad anchor, common presets, rotate, flip, background, format, and quality. |
| Batch and browser | Several images are supported; huge output dimensions or large batches can exceed Canvas memory. |
Real failure cases
- Fill mode can crop faces, logos, text, or product edges when the selected anchor is wrong.
- Stretch mode can distort people, products, or documents.
- Upscaling increases pixel count but does not add real detail.
- Browsers impose canvas size limits, so extremely large dimensions can fail.
Example result to verify
| Original | 4000x3000 JPG, 3.2 MB. |
|---|---|
| Target | 1200x630, Fill crop, center anchor, JPG output at 92%. |
| Output | 1200x630 JPG with the center crop shown in the crop-frame preview. |
| Verify | Use the preview and Image Size Checker before submitting to a portal. |
Best for
- Changing image width and height for forms and marketplaces.
- Cropping, fitting, or padding images into a fixed pixel box.
- Batch resizing small image sets to a shared size with the same mode and format.
What you get
- One resized image for single-file jobs.
- A ZIP containing every resized image for multi-file jobs.
- PNG, JPG, or WebP output with quality control where the format supports it.
- A preview plus crop-frame diagram for the first image.
Before you download
- Fill mode crops the source according to the selected anchor.
- Stretch mode can distort people, products, or documents.
- Resizing does not increase true source detail.
- Very large batches can use significant browser memory while ZIP output is built.
Common examples
Use this page when the requirement is written as image width, image height, or an exact pixel box rather than a percentage or target file size.
- Fit without losing edges. Choose Fit when the destination needs an exact canvas but the whole image must remain visible. The page adds background space when the ratios differ.
- Fill a strict frame. Choose Fill when a marketplace, social thumbnail, or website slot must be completely covered. Use the anchor to keep the important area.
- Pad logos and screenshots. Choose Pad with transparent PNG/WebP or a background color when a logo, screenshot, or product image needs breathing room.
- Batch one rule across files. Drop several images and export a ZIP with the same dimensions, mode, format, quality, rotation, and anchor settings.
Helpful next tools
- Image Size Checker - read the current image width and height before resizing.
- Compress Image to KB - reduce the resized output to a target file size.
- Resize Image by Percentage - scale proportionally when no exact pixel box is required.
- Set Image DPI - add print DPI metadata after pixel dimensions are correct.
- WebP Converter - change format after resizing when a site asks for JPG, PNG, or WebP.
Questions about Resize Image by Dimensions
How do I change image width?
Drop an image, type the target width in pixels, and keep aspect ratio locked if you want the height to adjust automatically.
What is the difference between Fit, Fill, Stretch, and Pad?
Fit keeps the whole image visible inside the target box, Fill covers the box and crops extra source pixels, Stretch forces the source into the exact width and height, and Pad preserves the source with explicit background or transparent space.
Can I set exact width and height?
Yes. Enter the target width and height directly, or use a common preset such as 1080x1080, 1920x1080, 1280x720, 512x512, 1200x630, or 1600x900.
Can I control the crop area?
Yes. Fill mode shows a visual crop frame and supports center, edge, and corner anchors so you can keep the important part of the image.
Can I resize multiple images at once?
Yes. Drop several images, choose the dimensions and output format, and download the resized batch as a ZIP.
Which output formats are supported?
The resize tool exports PNG, JPG, or WebP from browser-readable images.
Can I keep transparency?
Use PNG or WebP output with transparent padding enabled. JPG does not support transparency and uses the selected background color.
Does resizing make a small image sharper?
No. Increasing dimensions creates more pixels but does not add real source detail. For best results, start with a large original.