Compressing an image to 300KB: what to expect
300 KB keeps a 12 MP phone photo at roughly 1,800 pixels wide: the median result in our test was 1778 px, about a fifth of the original pixels at JPG quality 60. For a photo of a printed page, that is usually enough for body text to stay readable when you zoom in.
That matters because the verified 300 KB limits are mostly for documents and a signature on Indian government and exam portals: PAN application proofs, the passport bio page for an Indian e-Visa, certificates for NEET, and the GATE signature. The decision at this size is about the file type the form asks for. Some of these want a PDF, and this tool always produces a JPG.
Our test: 44 real photos compressed to 300KB
All 20 photos fit, at a median of 298.0 KB, with median SSIM 0.975. The spread in kept pixels is now very large: the iced coffee on a café table kept 73.5% of its pixels (2593 × 3458), while the 48 MP Moscow building kept 4.8% to land at 1768 × 1326.
Large originals are not the hard ones, detailed ones are. The worst SSIM was again the gilded Barcelos church interior, at 0.891, while the lakeside shot with calm water and sky scored 0.988 at quality 51. Our web-size images were unaffected; they all fit at quality 95 below 250 KB.
Method: each photo went through this page in Chromium on an Apple M2 Mac. 300KB means 300,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.
| Photos | Under 300KB | File size | Width | Pixels kept | JPG quality | SSIM | Time |
|---|---|---|---|---|---|---|---|
| iPhone photos, 12–48 MP | 20 of 20 | 298 KB | 1778 px | 20% | 60 | 0.975 (lowest 0.891) | 2.8 s |
| Web-size photos, 768 × 512 | 24 of 24 | 155.9 KB | 768 px | 100% | 95 | 0.987 (lowest 0.979) | 0.9 s |
Last updated
Every phone photo at 300KB
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.
| Photo | Original | Result | Size | Quality | SSIM |
|---|---|---|---|---|---|
| Barcelos, Vila Boa e Vila Frescainha (São Martinho e São Pedro) - Igreja de Nossa Senhora do Terço 01 | 3024 × 4032, 5.5 MB | 1066 × 1420 | 297.5 KB | 64 | 0.891 |
| Bloki na ulicy Goszczynskiego Sosnowiec Środula 02 | 4032 × 3024, 9.7 MB | 1563 × 1173 | 296.3 KB | 67 | 0.968 |
| Boston Basilica interior 02 | 5425 × 4063, 4.0 MB | 1793 × 1343 | 298.5 KB | 55 | 0.978 |
| -i---i- (54245759081) | 3024 × 4032, 3.8 MB | 2593 × 3458 | 298.5 KB | 56 | 0.986 |
| Carinda Roman Catholic Church 09-08-2024 | 3530 × 2667, 1.5 MB | 2133 × 1612 | 296.3 KB | 56 | 0.986 |
| China Merchants Bank Building in Shanghai at night 02 | 3024 × 4032, 2.7 MB | 1787 × 2383 | 299.9 KB | 60 | 0.974 |
| 8787 Georgia Avenue 09 | 5074 × 3781, 4.0 MB | 1863 × 1388 | 298.6 KB | 62 | 0.973 |
| -i---i- (51970200648) | 4032 × 3024, 5.6 MB | 3092 × 2319 | 299 KB | 56 | 0.991 |
| 20230807 145136 August 2023 in Białystok | 3024 × 4032, 1.5 MB | 1614 × 2152 | 299 KB | 65 | 0.976 |
| 'One Old Road' (1 Old Road) with windows and a high brick wall, viewed from Old Road in Chatham, Kent | 4588 × 3347, 13.6 MB | 1600 × 1167 | 297.1 KB | 60 | 0.943 |
| Moscow 2025-11-20 05 | 8064 × 6048, 26.0 MB | 1768 × 1326 | 296.9 KB | 61 | 0.971 |
| Parks Mall at Arlington Atrium (2024) | 5712 × 4284, 13.6 MB | 1844 × 1383 | 298.2 KB | 58 | 0.976 |
| BorNE.DOMB-LEPA.v-02 | 2268 × 4032, 4.8 MB | 1065 × 1893 | 297.9 KB | 62 | 0.937 |
| 20230806 191612 August 2023 in Białystok | 4032 × 3024, 1.4 MB | 2495 × 1871 | 295.6 KB | 51 | 0.988 |
| Caltabellotta - Chiesa di San Pellegrino - 2025-08-29 ruins | 4032 × 3024, 4.4 MB | 1732 × 1299 | 298.3 KB | 53 | 0.977 |
| Operação Lais de Guia GLO 2023 (53316687826) | 4032 × 3024, 1.7 MB | 2531 × 1898 | 298.9 KB | 56 | 0.991 |
| Aulangon näkötorni heinäkuussa 2023 | 2268 × 4032, 2.8 MB | 1062 × 1888 | 296.2 KB | 68 | 0.926 |
| Buca metrosu temel atma töreni 02 | 4032 × 3024, 2.0 MB | 2335 × 1751 | 298.7 KB | 62 | 0.990 |
| 39 Harleyford Road | 3024 × 4032, 4.7 MB | 1124 × 1499 | 297.6 KB | 65 | 0.898 |
| Atlas apartment high-rise (Vuotie 47 B, Vuosaari, Helsinki, Finland) Mar 28, 2026 | 3731 × 6636, 4.3 MB | 1273 × 2265 | 296.9 KB | 54 | 0.948 |
Last updated
JPG vs WebP vs AVIF at 300KB
At 300 KB the formats stay close. On six phone photos JPG scored SSIM 0.956, WebP 0.958 and AVIF 0.968; WebP kept the most width (1595 px against 1340 px for JPG). JPG took a median 1.5 s, WebP 15.6 s and AVIF 58 s. The portals with a 300 KB cap ask for JPEG or PDF, so WebP and AVIF are not an option there.
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.
| Format | Under 300KB | Width | Pixels kept | SSIM | File size | Encode time |
|---|---|---|---|---|---|---|
| JPG | 6 of 6 | 1340 px | 25% | 0.956 | 298.2 KB | 1.5 s |
| WebP | 6 of 6 | 1595 px | 36% | 0.958 | 298.2 KB | 15.6 s |
| AVIF | 6 of 6 | 1555 px | 35% | 0.968 | 291.3 KB | 58.0 s |
Last updated
Where you'll meet a 300KB limit
The 300 KB limits we verified are Indian portals, and most are for documents rather than photos: proof-of-identity scans for a PAN application (JPEG or PDF/A, per page), the passport bio page for an Indian e-Visa, and NEET certificates (both PDF only). GATE 2027 uses 300 KB for the signature, together with a pixel cap.
Where the form wants a PDF, compress the scan here and then place the JPG in a PDF; the PDF will be only slightly larger than the image.
- National Testing Agency (India): Scanned Class X certificate / category certificate for NEET (UG) 2026 (maximum). “Scanned copy of Class- X or Equivalent Certificate should be in pdf format between 50 kb to 300 kb.” NTA Information Bulletin NEET (UG)-2026 (neet.nta.nic.in)
- Protean eGov Technologies (PAN, for Income Tax Department of India): Supporting documents (ID/address/DOB proof) for online PAN application (maximum). “Supporting documents ... Black & White ... PDF/A or JPEG ... Max. 300KB/per page” Protean: Guidelines for filling PAN New Application (tin.tin.proteantech.in)
- Government of India (Bureau of Immigration, Indian e-Visa portal): Scanned passport bio page uploaded with an Indian e-Visa application (maximum). “Scanned Bio Page of the passport showing the Photograph and Details. Format -PDF Size : Minimum 10 KB ,Maximum 300 KB” Indian e-Visa portal: e-Visa information page (indianvisaonline.gov.in)
- IIT Madras (organising institute, GATE 2027): Signature for the GATE 2027 online application (GOAPS) (maximum). “The maximum file size that can be uploaded is 300 kB. The maximum pixel resolution is 580 × 180 pixels and the minimum resolution is 250 × 80 pixels.” GATE 2027 Information Brochure, revised 17 October 2026 (gate2027ib.iitm.ac.in)
Tips for getting a good image at 300KB
- Scan or photograph the document flat and in good light, then crop to the page edges with Crop image before compressing.
- For the GATE signature, the pixel limit (at most 580 × 180) matters more than the file size: resize to it with Resize image and the file will be far below 300 KB.
- PAN proof documents must be black and white; this tool keeps colour, so convert the scan to greyscale in your scanner app first.
- A multi-page document usually needs each page under the limit, not the total. Compress the pages one by one.