Compress Image to 1MB

Compress a photo to under 1 MB (1,000,000 bytes). In our test, 9 of 20 phone photos kept full resolution and median SSIM was 0.994.

How to use Compress Image to 1MB

  1. 1Upload a JPG, PNG, or WebP image.
  2. 2Pixohub automatically searches for the highest quality that fits under 1MB.
  3. 3Check the resulting file size shown on the page.
  4. 4Download your image, now 1MB or smaller.

Features

  • Automatically targets 1MB — no manual guessing
  • Keeps quality as high as the size budget allows
  • Runs entirely in your browser; nothing is uploaded
  • Free, unlimited, no signup or watermark

Compressing an image to 1MB: what to expect

Under 1 MB, most phone photos keep nearly all their resolution. In our test the median result was 3167 px wide with 71% of the pixels, and 9 of 20 photos came through at full size. Here 1 MB means 1,000,000 bytes, so the result also passes limits that count 1,048,576 bytes.

This is the most common upload cap we verified: a GitHub profile picture, a Google Play app icon, a Twitch static emote and the Indian e-Visa photo all stop at 1 MB, and Bluesky avatars at exactly 1,000,000 bytes. Compression is rarely the problem at this size. The decision is whether the site also has pixel rules, such as GitHub's 3000 × 3000 cap or the e-Visa's square photo, because those you must meet before compressing.

Our test: 44 real photos compressed to 1MB

All 20 photos fit, at a median of 993.7 KB and SSIM 0.994; the lowest score was 0.987. Even the 48 MP Moscow photo, a 26 MB original, came out 3359 × 2519. The nine kept at full size included the stone-and-grass close-up and the tower at night.

Quality settings now vary widely, from 51 to 81, depending on how much detail each photo has. The iced-coffee photo needed only 907.2 KB at full size. Median time was 2.5 s, slightly faster than at smaller targets because fewer photos need scaling.

Method: each photo went through this page in Chromium on an Apple M2 Mac. 1MB means 1,000,000 bytes, so the result passes whether a site counts a KB as 1,000 or 1,024 bytes. Figures are medians. SSIM compares the result with the original at 1080 px wide, about what a phone screen shows (1.000 = identical). How we test.

PhotosUnder 1MBFile sizeWidthPixels keptJPG qualitySSIMTime
iPhone photos, 12–48 MP20 of 20993.7 KB3167 px71%630.994 (lowest 0.987)2.5 s
Web-size photos, 768 × 51224 of 24155.9 KB768 px100%950.987 (lowest 0.979)1.0 s

Last updated

Every phone photo at 1MB

All 20 photos from our test set, so you can find one like yours. Quality is the JPG quality the tool settled on; when it would have dropped below 50, the photo was scaled down instead.

PhotoOriginalResultSizeQualitySSIM
Barcelos, Vila Boa e Vila Frescainha (São Martinho e São Pedro) - Igreja de Nossa Senhora do Terço 013024 × 4032, 5.5 MB2161 × 2882990.5 KB520.987
Bloki na ulicy Goszczynskiego Sosnowiec Środula 024032 × 3024, 9.7 MB3172 × 2379996.8 KB560.993
Boston Basilica interior 025425 × 4063, 4.0 MB3617 × 2709992 KB600.997
-i---i- (54245759081)3024 × 4032, 3.8 MB3024 × 4032907.2 KB800.993
Carinda Roman Catholic Church 09-08-20243530 × 2667, 1.5 MB3530 × 2667974.5 KB780.998
China Merchants Bank Building in Shanghai at night 023024 × 4032, 2.7 MB3024 × 4032995.3 KB750.994
8787 Georgia Avenue 095074 × 3781, 4.0 MB3779 × 2816998 KB510.995
-i---i- (51970200648)4032 × 3024, 5.6 MB4032 × 3024967.1 KB770.996
20230807 145136 August 2023 in Białystok3024 × 4032, 1.5 MB3024 × 4032998.5 KB670.995
'One Old Road' (1 Old Road) with windows and a high brick wall, viewed from Old Road in Chatham, Kent4588 × 3347, 13.6 MB2921 × 2131988.2 KB590.989
Moscow 2025-11-20 058064 × 6048, 26.0 MB3359 × 2519999.2 KB610.994
Parks Mall at Arlington Atrium (2024)5712 × 4284, 13.6 MB3575 × 2681998.7 KB630.995
BorNE.DOMB-LEPA.v-022268 × 4032, 4.8 MB2268 × 4032997.2 KB510.988
20230806 191612 August 2023 in Białystok4032 × 3024, 1.4 MB4032 × 3024999.7 KB710.996
Caltabellotta - Chiesa di San Pellegrino - 2025-08-29 ruins4032 × 3024, 4.4 MB3161 × 2371991.5 KB570.996
Operação Lais de Guia GLO 2023 (53316687826)4032 × 3024, 1.7 MB4032 × 3024972.7 KB810.997
Aulangon näkötorni heinäkuussa 20232268 × 4032, 2.8 MB2041 × 3629981 KB670.993
Buca metrosu temel atma töreni 024032 × 3024, 2.0 MB4032 × 3024987.5 KB730.997
39 Harleyford Road3024 × 4032, 4.7 MB2280 × 3040995.6 KB540.990
Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 20263731 × 6636, 4.3 MB2541 × 4520995.5 KB630.989

Last updated

JPG vs WebP vs AVIF at 1MB

At 1 MB all three formats kept every pixel on the median of six phone photos, and JPG scored best: SSIM 0.993 against 0.991 for WebP and 0.988 for AVIF. JPG also took a median 1.0 s, against 9.3 s for WebP and 32 s for AVIF. At this size switching format brings nothing, and several of the sites with a 1 MB cap accept only PNG, JPG or GIF.

Same method, on 6 of the phone photos: the highest quality that fits, scaling down only when quality would drop below 50. WebP and AVIF were encoded with libwebp and libavif in the browser.

FormatUnder 1MBWidthPixels keptSSIMFile sizeEncode time
JPG6 of 62646 px100%0.993992.9 KB1.0 s
WebP6 of 62688 px100%0.991996.6 KB9.3 s
AVIF6 of 62770 px100%0.988973.5 KB32.2 s

Last updated

Where you'll meet a 1MB limit

The 1 MB limits below are mostly profile and listing images (GitHub, Google Play, Twitch, Etsy) and two Indian government uploads (the e-Visa photo, and documents on the Bogotá embassy's passport portal, where 1 MB is the total for all files).

One listing is a minimum: Estonia's diplomatic ID photo must be at least 1 MB. This page's result is just under that, so use the 2 MB page there.

Tips for getting a good image at 1MB

  • For GitHub, crop square and keep it under 3000 × 3000 pixels with Crop image; a phone photo at full 3024 × 4032 would fit 1 MB but break the pixel rule.
  • The Indian e-Visa photo must have equal height and width; crop it square before compressing.
  • Where 1 MB is a total for several files, as on the Bogotá embassy portal, split it: three documents at the 300 KB page fit together.
  • A JPG already under 1,000,000 bytes is not re-encoded: the tool only strips its metadata, so the result is the same size or a few kilobytes smaller.

Frequently asked questions

Is 1 MB 1,000 KB or 1,024 KB?

Both are in use. Bluesky's limit is written as 1,000,000 bytes; Google Play states 1024 KB. This page aims for 1,000,000 bytes, the smaller of the two, so the result passes either way. In our test the largest result was 999.7 KB.

Will my photo lose quality at 1 MB?

Very little. Median SSIM was 0.994 at 1080 px wide and the lowest 0.987, which you would notice only by comparing side by side at full zoom. Nine of 20 photos also kept every pixel.

GitHub rejected my 1 MB profile picture. Why?

GitHub also requires the image to be smaller than 3000 by 3000 pixels. A 12 MP phone photo is 3024 × 4032, and at 1 MB the tool often keeps full resolution, so the pixel rule fails. Crop to a square and resize to, say, 1000 × 1000 first.

How long does a 48 MP photo take?

We did not time it separately, but the slowest of our 20 photos at 1 MB took 6.6 s on an Apple M2 Mac and the median 2.5 s. Big originals take longer mostly because decoding them is slow. The 48 MP test photo came out 3359 × 2519, under 1 MB.

From the blog

More ways to compress

Batch: compress many images at once

Same processing as above, run across a set of files. Pro returns the whole batch as one ZIP. Still entirely in your browser.

Free · up to 20

PRONeed more than 20 at a time?

Pro runs up to 150 images per batch as one ZIP, keeps your brand mark on every export, and lifts the file ceiling to 200 MB.

Unlock with Pro