Browser-local image tools
Resize Images to Custom Pixel Dimensions
Enter a pixel width and height, then choose fit, crop, pad or stretch. Fit preserves the whole image within the box; crop, pad and stretch output the exact requested dimensions. Images stay in your browser, with up to 10 files per batch.
Browser-local processing
Compare fitting, cropping and padding
These are recorded examples, not promised results for your files. Download an input, use the settings below, then compare your saved output.
Each run uses the same 1280 × 575 photo, a 500 × 500 box, JPG quality 85 and a white background. Fit preserves the full frame with a shorter output; crop fills the box by removing edges; pad preserves the frame and adds white space. These recorded settings are independent of any preset selected above.
Download the source photo · 299,063 B · 1280 × 575 px

Download · 27,354 B

Download · 56,820 B

Download · 30,757 B
Source, environment and reproduction details
Recorded 2026-10-19 · Chromium 140.0.7339.16 · Windows · 1280 × 960 · site version 865d4e4.
Photo: Fronalpstock big.jpg — Hannes Röst, CC BY-SA 3.0. Resized and re-encoded; all photographic derivatives in this sample keep that license. Original fictional screenshots, transparent graphics and PDFs are available under CC0. No source includes customer files.
- Download an input linked above and keep the original.
- Use this tool with the listed settings. Keep the tab open, then save the actual output.
- Compare saved bytes, dimensions and detail. Browser/encoder versions may produce different bytes; these are recorded observations, not universal compression ratios.
Download settings, exact byte counts and SHA-256 checksums (JSON) · Asset licenses
Choose how the image fits
Fit preserves the whole image. Center crop fills the canvas and removes edges. Padding preserves the whole source with transparent margins for PNG/WebP or a chosen solid background for JPG. Stretch changes proportions.
Pixels and file size are separate requirements
Upscaling cannot restore missing detail and can increase file size. Compress afterward if you also have a byte limit. Retained outputs are capped at 100 MiB; download and clear completed results before retrying a file that exceeds that batch budget. Browser re-encoding does not guarantee EXIF, DPI, HDR or color-profile preservation. Keep the original.
How to use this tool
- Select or drop static JPG, PNG or WebP images.
- Review width, height, sizing mode and output format, then resize the batch.
- Check every output’s pixels and byte count, then download individual files or a ZIP.
Image processing requires no file upload. Page assets and usage analytics can still make network requests. See the Privacy page for how analytics works.
Frequently asked questions
Will the output have exact dimensions?
Crop, pad and stretch produce the exact requested pixels. Fit preserves proportions inside that box and may produce a smaller width or height.
Can I preserve transparency?
Choose PNG or WebP and keep transparency enabled. JPG cannot store transparent pixels; it uses your selected background color.
What are the batch and safety limits?
Up to 10 static JPG, PNG or WebP files, processed one at a time. Each input is limited to 50 MiB and 45 megapixels; output is limited to 8,192 pixels per side and 16 megapixels. Retained outputs and ZIP output are capped at 100 MiB. Animation is not supported.