Compress and resize an image
Drop a photo, pick a quality and a maximum size, and see the before and after before you download.
Drop images here
or paste from the clipboard
Choose filesFiles never leave your device. After this page loads, it makes no network request.
JPG, PNG, WebP, GIF and BMP in; JPG or WebP out. Several files at once; each is handled on its own. Free, no account.
How to use it
- Set the quality, the longest edge and the format in the drop zone.
- Drop one or more images. Each card shows a preview and the size before and after, with the change in percent.
- Too big still? Lower the quality or the edge and drop again. When it fits, press Download.
Make a photo small enough to e-mail
Gmail and Yahoo Mail accept about 25 MB per message, Outlook.com and iCloud Mail about 20 MB, and a company mailbox is often set lower. The limit counts the whole message, and attachments grow by about a third when a mail program encodes them, so ten 2 MB photos can already be too much. A total of about 15 MB or less fits all of them. Over the limit, Gmail offers a Google Drive link instead and iCloud Mail offers Mail Drop, but a smaller file reaches every reader.
- One photo to attach: longest edge 2048 px, quality 80, JPG. It looks sharp on any screen and prints well up to a 4 by 6 inch (10 by 15 cm) print.
- Many photos in one mail: longest edge 1600 px, quality 70. Drop them all at once; each card shows its own size, so you can add them up before you send.
- A photo pasted into the body of the mail: longest edge 1080 px, quality 75.
- Choose JPG for e-mail, not WebP. Some mail programs, older desktop ones especially, do not show WebP. WebP is a good choice for a website you control.
A photo from a phone is usually 3 to 5 MB; at these settings it typically lands between a few hundred KB and about 1 MB. The exact figure is shown on the card before you download, so lower the quality or the edge and drop it again if it is still too big.
How it works
Your browser decodes the image, scales it so the longer edge fits the size you chose (never up), and encodes it again at the quality you set. The size before and after, and the change, are shown next to a preview so you decide before downloading.
How do I get a photo under 1 MB for a form?
Pick a longest edge of 1600 px and a quality of 80, then drop the photo. The card shows the new size before you download; if it is still over the limit, lower the quality or the edge and drop it again.
What quality should I pick?
80 for photos people will look at, 60 for thumbnails and attachments, 90 or more if you will print. WebP is about a quarter to a third smaller than JPG at the same look, and every current browser shows it; screenshots with text usually look better as WebP than as JPG.
What is the attachment size limit in Gmail and Outlook?
About 25 MB in Gmail and Yahoo Mail and about 20 MB in Outlook.com and iCloud Mail; an employer can set a lower limit. The count includes the whole message, and encoding makes attachments about a third bigger, so keep the total near 15 MB.
Why did my file get bigger?
A file that was already small, saved at a higher quality here, can grow. The card shows the change with a plus sign when that happens: lower the quality or pick a smaller longest edge.
Does compressing remove the location and camera details?
The new file is drawn onto a canvas and encoded fresh, so the GPS position and camera details stored in the original are not copied into it. That is handy before you share a photo; keep the original if you need that data.
Is the original changed?
No. A new file is made and the original stays untouched on your device. Several files can go at once; each one is handled and downloaded on its own.
An iPhone photo in HEIC? Convert it with HEIC to JPG first.
Privacy
Everything runs inside your browser. We never see your file, its name or its contents, and there are no analytics cookies or tracking pixels on this page. You can confirm it in your browser's developer tools (Network tab) while the tool works. Privacy details.