Resize an Image to Exact Dimensions
Resize JPEG, PNG or still WebP to an exact width and height, or fit inside a maximum box, with social presets, centre crop or padding.
Bounded local intake
Add still raster images
Binary signatures and dimensions are checked before files enter the queue. Animated, multi-image, truncated, and structurally ambiguous inputs are rejected.
Accepted signatures: JPEG, PNG, WEBP · up to 30 files within one decoded-work budget · paste with Ctrl/Cmd+V
Verified destination
Output contract
Lossless PNG. Alpha is retained when the browser decoder exposes it.
Bounded queue
0 files checked
No file bytes are retained yet. Add files above to run signature, dimension, and browser-decode checks.
Metadata outcome
- Browser-decoded orientation is rendered into output pixels; manual orientation controls are not provided here.
- EXIF, GPS, capture date, and source metadata are stripped by canvas re-encoding.
- ICC profiles are not preserved; browser color conversion may change wide-gamut or HDR sources to SDR.
- Alpha is retained only when both decoder and output support it.
Local boundary
Selecting a file gives this tab temporary local access to its bytes. Conversion code runs in the browser and this workflow does not send file bytes, names, content, or precise dimensions to analytics. Ordinary page requests and coarse product events still use the network. Files and object URLs remain until you remove them, clear the workbench, or close the tab.
Raster work is limited to one or two concurrent browser jobs. Some canvas work can still occupy the main thread; cancellation is cooperative and an in-flight browser decode may finish before its result is discarded.
Instructions
How this conversion works
- 01Select .jpg or .jpeg or .png or .webp files. The browser checks type and total work before processing.
- 02Review the PNG controls and start conversion. Unsupported browser decoders are reported as a retryable file error.
- 03Download output only after its MIME, signature and extension contract passes.
Limitations
Read before processing
- Files are processed in browser memory. Site assets and coarse analytics still use ordinary network requests; file bytes and names are excluded from events.
- Canvas-based output does not preserve source EXIF, GPS, capture date or embedded ICC profiles.
- A download is exposed only when the result reports PNG bytes that agree with its MIME and extension.
- Fit inside preserves the aspect ratio and never enlarges, so it usually does not land on the exact box. Fill and crop and Fit and pad each produce exactly the requested width and height, verified by an independent decode before download.
- Fill and crop discards the overflow around the centre and enlarges a source smaller than the box; Fit and pad leaves padding instead, transparent for PNG and WebP output and the background colour for JPG.
Why people resize images
Resizing splits into two different jobs that most tools blur together. One is a ceiling — "make this no wider than 1920" — where the aspect ratio is sacred and the exact result does not matter. The other is a frame — "this profile banner has to be 1200 x 630" — where the exact result is the entire point. Those goals conflict whenever the source has different proportions, and something has to give: either pixels at the edges, through a centre crop, or empty space, through padding. This resizer asks which one you want. Fit inside applies a ceiling and never enlarges; Fill and crop and Fit and pad both produce exactly the box you typed, and the output is re-decoded and rejected if it does not.
How to convert JPEG, PNG or static WebP to PNG
1. Add JPEG, PNG or static WebP files for bounded signature and decoder checks.
2. Review PNG controls and the decoded-work estimate.
3. Start the cancellable queue.
4. Download files only after output validation passes.
Capability boundary
Fit inside preserves the aspect ratio and never enlarges. Fill and crop and Fit and pad each decode to exactly the requested box, and only Fill and crop enlarges a smaller source. Source metadata and color profiles are not retained.
Questions
Frequently asked questions
Will resizing distort my image?
No. Nothing is ever stretched to meet both numbers. Fit inside scales the whole image down to sit inside the box. Fill and crop scales it until it covers the box and then removes the overflow from the edges around the centre. Fit and pad scales it to fit and leaves padding, which is transparent for PNG and WebP output and the chosen background colour for JPG.
What are the social media presets?
Instagram square 1080x1080, Instagram portrait 1080x1350, Facebook and link previews 1200x630, X posts 1600x900, and LinkedIn 1200x627. Each one sets that box and switches to Fill and crop, so the download is exactly those dimensions rather than something near them.
Can I make an image larger?
Only Fill and crop will, and only when the source is smaller than the box you asked for, because an exact size leaves no alternative. The result line says the output was enlarged. Fit inside and Fit and pad never enlarge: upscaling invents pixels that were never captured, and the result is a softer, larger file rather than a more detailed picture.
How is PNG output checked?
The browser encoder must return the expected MIME and binary signature. The result is decoded again and its dimensions are checked before download.
What happens to source metadata?
Canvas re-encoding strips EXIF, GPS and capture date. ICC profiles are not preserved, and HDR or wide-gamut input may be converted to SDR.
Next workflows