Compress an image to 5 MB
Get a large phone or camera photo under 5 MB for an upload form or email, and see its size and pixels before you save it. Free, private, and no upload.
Get a large phone or camera photo under 5 MB for an upload form or email, and see its size and pixels before you save it. Free, private, and no upload.
To compress a photo to 5 MB, SafeResize saves it as a JPG of 5,000,000 bytes or less, which is under 5 MB whether a website counts 1 MB as 1,000,000 or 1,048,576 bytes.
| 5 MB in bytes | 5,000,000 bytes, or 5,242,880 bytes when 1 MB is counted as 1,024 KB, as Windows does |
|---|---|
| 5 MB in KB | 5,000 KB, or 5,120 KB as Windows counts |
| The photo you download | 5,000,000 bytes or less, so both counts accept it. Windows shows it as 4.8 MB or less. |
| Width and height | Up to 3200 pixels on the long side. They stay the same while the JPG quality can stay at 55% or more. Below that, the photo is made smaller so it does not turn blocky. |
| Official photo rules on SafeResize with 5 MB | As the largest file: Hong Kong Passport, Mexico e-Visa, New Zealand Passport, Pakistan Passport and 2 more. |
Newer phones and cameras can save photos of 8 MB, 12 MB or more, and many upload forms stop at 5 MB. On SafeResize, 6 official photo rules set 5 MB as the largest file, such as the Hong Kong Passport photo, the Mexico e-Visa photo and the New Zealand Passport photo.
The tool below opens with the size box filled in. It counts in KB, so it shows 5120, which is 5 MB. SafeResize keeps the file under 5,000,000 bytes, so it passes whether a website counts 1 MB as 1,000,000 or 1,048,576 bytes.
Take a camera photo of 6000 × 4000 pixels (24 megapixels) saved as a 9 MB JPG. SafeResize reads it at 3200 × 2133 pixels, the most it uses, which is about 6.8 megapixels.
At that size, 5,000,000 bytes give each pixel about 0.73 bytes. That is plenty for a JPG, so the width and height usually stay at 3200 × 2133, and only the quality is set, starting from 95%.
The result page shows the size before and after, the width and height, and the quality used, so you can check before you download.
Not always. SafeResize reads photos at up to 3200 pixels on the long side, so a bigger photo comes out at 3200 pixels wide or tall. For a photo with a 4:3 shape that is 3200 × 2400, about 7.7 megapixels, which is more than most forms and screens need.
Both are in use. Windows counts 1 MB as 1,024 KB, so it says 5,120 KB. Many websites count 1,000 KB. SafeResize keeps the file under 5,000,000 bytes, which passes either way.
Not with this tool: photos are made smaller one at a time. For PDFs, Resize a PDF or document can do up to 25 at once.