Resize Image to Exact Pixel Dimensions
Free online image resizer: set a custom width and height in pixels, then download JPG, PNG or WebP.
Drag and drop your image here or click to browse.
Accepted: JPG, JPEG, PNG, WebP. Maximum file size 25 MB.
Original
-
Resized preview
-
Output information
- File name
- -
- Format
- -
- Original dimensions
- -
- Original file size
- -
- Requested size
- -
- Actual output size
- -
- Output file size
- -
- Difference
- -
Dimensions (pixels)
If your size is larger than the original, the output is scaled down to fit inside the original size, so the actual size will differ from the requested size.
Size presets (these turn the lock off):
Aspect ratio presets (keep your width, change the height):
Resize mode
Crop position:
Background
Output format and quality
Quality applies to JPG and WebP only. PNG is lossless, so the slider is off for PNG. The result can be larger or smaller than the original.
Privacy: Your images are processed locally in your browser. They are not uploaded to our servers.
How to Resize an Image to Exact Pixel Dimensions
This free online tool lets you resize an image to specific size in pixels. Enter a custom width and height, control the aspect ratio, choose Fit, Cover or Stretch, and save the result as JPG, PNG or WebP with adjustable quality. All processing happens in your browser.
How to Use the Image Resizer
- Upload your image.
- Enter the required width and height.
- Select your resize mode.
- Choose output format and quality.
- Click Resize Image.
- Preview and download your result.
Features of Our Image Resizer
- Custom width and height from 1 to 8000 pixels, with an aspect ratio lock.
- Twelve size presets and six aspect ratio presets.
- Fit, Fill / Cover (with nine crop positions) and Stretch modes.
- White, black, transparent or custom background.
- JPG, PNG and WebP output with a 1–100% quality slider.
- Optional "do not enlarge" setting.
- Before and after preview with real file sizes.
- Copy output dimensions, download again, and reset.
Available Resize Modes
Fit
Keeps the whole picture. A 4000 × 3000 photo resized to 800 × 800 becomes 800 × 600 with bars of background color above and below.
Fill / Cover
Fills the full 800 × 800 frame and trims the extra from the sides. Choose which part to keep with the crop position grid.
Stretch
Squeezes the whole picture into 800 × 800, which distorts it. Use it only when you want that effect.
Supported Image Formats
Upload JPG, JPEG, PNG or WebP. Download JPG, PNG or WebP. PNG and WebP can keep transparency; JPG cannot, so transparent areas are filled with your chosen fallback color. If your browser cannot create WebP files, the tool shows a message instead of saving a mislabeled file.
Common Image Dimensions
Popular sizes include 100 × 100 and 200 × 200 for icons and avatars, 800 × 600 for web photos, 1080 × 1080 for square posts, 1080 × 1920 for vertical stories, 1200 × 628 for link previews and 1920 × 1080 for HD screens. Platforms change their guidelines, so check the current requirements. For a dedicated square workflow, see Resize Image to 1080x1080 Pixels.
Use Cases
- Website image optimization.
- Social media graphics.
- E-commerce product images.
- Blog featured images.
- Profile pictures.
- Document and application images.
- Custom image dimensions.
- Thumbnail creation.
Limitations and Privacy
Enlarging a small image cannot add detail, so a heavily enlarged photo looks soft. Lossy formats lose some quality when saved again. Very large sizes may exceed your device's memory, so the tool limits output to 8000 pixels per side and 40 million pixels in total. Resizing and re-saving in the browser creates a new image file; this tool does not claim to preserve or remove metadata. Your images stay in your browser and are not uploaded.
Frequently Asked Questions
How do I resize an image to exact pixel dimensions?
Upload the image, type a width and height, click Resize Image, then Download Image.
Can I resize without losing quality?
Making an image smaller keeps it sharp. Use PNG, or JPG/WebP at 90–100%, to keep more detail. Enlarging cannot add detail.
How do I keep the aspect ratio?
Leave Lock aspect ratio on. Changing one side updates the other.
What is the difference between Fit, Fill and Stretch?
Fit keeps the whole image, Fill crops to fill the frame, and Stretch distorts the image to match the size.
Can I make a transparent background?
Yes, in Fit mode with Transparent selected and PNG or WebP output. JPG always uses a solid color.
What does "Do not enlarge" do?
It stops the output from being bigger than the original. The tool then shows both the requested and the actual size.
Which formats can I download?
JPG, PNG and WebP. WebP depends on your browser.
Are my uploaded images stored on your server?
No. Processing happens in your browser and nothing is uploaded.
Explore More
Explore More Free Online Tools | Back to Home