Creative
Compress and resize images
Choose JPG, PNG, or WebP files on your device. This page resizes and compresses them in your browser with the quality and maximum size you set. The files stay on your computer. Nothing is sent to a server.
Add files from this device. The settings below apply to every file you compress.
How to use it
Add one or more JPG, PNG, or WebP files. Set a quality for JPG or WebP, and an optional maximum width or height. An image is scaled down only when it is larger than those limits, and its proportions stay the same. Choose an output format and compress. Compare the original and new file sizes, then download the result. You can change the settings and compress again without picking the files a second time.
PNG output is lossless, so the quality slider does not change a PNG. A photograph saved as PNG can be larger than the original JPG. If a file is already small, or already within the size you asked for, the new file may not be smaller. After you have a still image you want to post, a draft caption is on Caption and hashtag starter, and a character count is on Social character counter.
Formula
New width and height are the original dimensions, scaled down just enough to fit inside the maximum width and height you enter, without changing the proportions and without scaling up. If a side is left blank, that side has no limit. The page then asks the browser to encode the drawing as JPG, WebP, or PNG. For JPG and WebP, quality is a 1–100 value passed to the browser’s encoder. PNG ignores quality. JPG has no transparency, so a transparent background is filled with white. Browsers do not all encode a file the same way, so two devices can produce slightly different sizes from the same settings.
Worked example
Common uses
- Compress an image to 100 KBAim for a 100 KB file without uploading the photo.
- Compress an image to 50 KBA tight 50 KB target for avatars and small form uploads.
- Compress an image to 200 KBA 200 KB target suited to web and product photos.
- Convert PNG to JPGTurn a PNG into a JPG in this tab, without uploading it.
- Resize an image to 1,920 pixels wideCap width at 1,920 pixels without uploading the photo.
Questions
Are my images uploaded?
No. The work runs in this browser tab. If you close the tab, the copies on this page are gone. Your original files stay on your device.
Why is the new file sometimes larger?
PNG is lossless and can be a poor fit for a photograph. A quality setting near 100 can also be larger than a highly compressed original. Try a lower quality, a smaller maximum size, or JPG or WebP for photos.
What if WebP is missing or fails?
Some browsers cannot encode WebP. If that happens, this page will say so. Choose JPG or PNG instead.
Will a photo from my phone come out upright?
When the browser exposes orientation metadata, the page uses it and draws the image upright. Some files or browsers still come out sideways. Rotate those in another editor before you compress.
Is there a file size or count limit?
There is no account and no server quota. Very large images can fail if the browser runs out of memory or hits its canvas size limit. Try fewer files at a time, or set a smaller maximum width and height.
Can I use GIF, HEIC, or SVG?
This page accepts JPG, PNG, and WebP. Animation is not preserved, and a HEIC, AVIF, or SVG file is skipped.