Image Resizer
Shrink an image in the browser, then download exactly the file you previewed.
Source image
PNG, JPEG, WebP, GIF, or AVIF up to 40 MB. The image is decoded here; nothing is uploaded.
The height follows the width so the aspect ratio stays intact.
PNG keeps every pixel. JPEG and WebP trade detail for size. Animated input becomes one still frame.
Lower quality means smaller files and visible artifacts. PNG ignores this setting.
Result
No resized image yet.
The resized preview appears here.
Resize first, then the download button appears.
This page resizes; it makes no promise that the output is smaller. A PNG saved as PNG at the same size can grow, and the percentage above is measured from the actual bytes of both files.
Why use our Image Resizer?
No Image Upload
The tool has no image upload endpoint or image service. The file is read from your device into the page, though site scripts and browser extensions still run in this page.
Preview Equals Download
The preview and the download link use one temporary URL made from one encoded blob, so there is no second encode between what you see and what you save.
Measured, Not Promised
The byte figure above the button is the length of that same blob, and the percent change is measured from the actual bytes of both files.
What is an Image Resizer?
An image resizer changes the pixel dimensions of a picture. Here the browser decodes your file with the same image pipeline it uses to display any picture on the web, draws the pixels onto a canvas at the size you asked for, and re-encodes the canvas in the format you chose.
Because the work happens in the browser, the tool stops working if a browser blocks canvas access, and very large images depend on how much memory the browser gives a single tab. Phone photos often carry an EXIF orientation flag instead of rotated pixels; the decoder applies that rotation before resizing, so a portrait photo stays portrait and the reported dimensions match what you see.
Choosing a format for the job
- PNG:Stores every pixel without loss and keeps transparency. Suits logos and crisp graphics, but a 1200 pixel wide photo saved as PNG can easily run several megabytes.
- JPEG:Suits photographs and smooth gradients, and its quality slider trades artifacts for size. JPEG cannot store transparency, and flat colour and text edges show ringing even at high quality.
- WebP:Handles photographs and flat graphics, keeps alpha, supports the quality slider, and is the default here. A very old browser or an application that refuses WebP will not open the result, so check the destination.
- Text and screenshots:Better as PNG or WebP. Downscaling also thins text: halving the width halves the stroke weight, and no smoothing setting recovers detail that the smaller pixel grid cannot hold.
Common Use Cases
Phone Photos for the Web
Shrink a camera photo to a sensible width for a blog post or an email, keeping the ratio locked so nothing stretches. If a form sets a limit in KB, finish with the image compressor.
Fitting a Fixed Box
Unlock the ratio to fit a fixed box such as 800 by 600; the clamp to the source still applies.
Logos With Transparency
Keep a transparent logo as PNG or WebP, which both keep alpha, so it still sits cleanly on any background. To turn a JPG or PNG into WebP at its current size, use image to WebP.
Transparent Art as JPEG
JPEG has no alpha channel, so transparent pixels are filled with the matte color you pick. The default of white avoids black boxes where transparency would otherwise be discarded. To change the format without resizing, use PNG to JPG.
Animated GIF or WebP
Animated files are flattened to one still frame, because a canvas holds a single frame. Use a tool that understands frame structure if you need the animation kept.
Files With the Wrong Name
Decoding is the real format check: a file named photo.png that contains JPEG bytes still resizes correctly, while a renamed text file fails with a message that the image could not be decoded. The file picker lists common image types as a convenience, not as a gate.
How to resize and save an image
Choose an image file
Pick a file from your device. The width and height boxes fill in with the source size.
Set the width
Enter a width and keep the aspect ratio locked unless the dimensions must be independent.
Pick a format and resize
Choose PNG, JPEG, or WebP. For JPEG or WebP, adjust quality (it starts at 85 and goes down to 40), then select Resize image.
Compare and download
Compare the preview dimensions and measured file size with the source. Select Download image while the settings still match the preview.
Why the download is exactly what you previewed
One Blob, One URL
The encoder produces one blob, the page creates one temporary URL from it, and the preview and the download use the same encoded bytes, though browser display can still vary.
Stale Results Hidden
Changing any setting after a resize marks the result stale and removes the download button until you resize again.
Temporary URLs Released
Picking a new file releases the previous temporary URL, and moving to another page inside this site releases the current one. A full page load does not: the browser keeps that tab's earlier temporary URL until the tab or the origin is torn down.
Before you export
- •Shrink only. A width or height larger than the source produces the original size rather than a blurry upscale, and the planned output line reports the size that will actually be produced.
- •File size limit. Files over 40 MB are rejected before decoding.
- •Pixel limits. Images over 8192 pixels on the longest side or over 40 million pixels are refused with a message naming the exceeded number.
- •Memory. A canvas holds 4 bytes per pixel, so a 40 megapixel image needs roughly 160 megabytes before the encoder makes its own copy.
Resize an Image on Your Device
Choose a photo, set a width, pick a format, and download the exact file you previewed, with the measured byte size printed above the button.
Download works on mobile browsers that honour the anchor's download attribute; where a browser ignores it, the same URL opens the image so it can still be saved from the viewer.