How to compress an image under 1 MB

To compress an image under 1 MB, cut the pixels first, save as JPG, then lower quality. Steps for phone, Windows and Mac, plus smaller KB limits.

Mohit Goyal5 min read
How to compress an image under 1 MB

To get an image under 1 MB, make it smaller in pixels first (about 2,000 pixels on the long side), save it as a JPG, and only then lower the quality to around 80.

1 MB is 1,024 KB or 1,000 KB, depending on who is counting. Windows File Explorer divides by 1,024 and still writes "KB", as Raymond Chen of Microsoft explained on his blog in 2009. Apple counts in decimal. Apple's storage page says 1 GB is 1 billion bytes. So a file of 1,020,000 bytes shows as about 996 KB on Windows and as 1 MB on a Mac. Same file.

An upload form doesn't tell you which rule it was coded with. One kind accepts up to 1,048,576 bytes and the other stops at 1,000,000. Aim for 900 KB and the file passes either way.

The order matters: pixels, then format, then quality. A 12-megapixel phone photo is about 4,000 pixels wide. Halve the width and height and you have a quarter of the pixels, so the file drops sharply before you've touched quality. Push quality down to 30 on a full-size photo and you get smudged text, and the file can still be over the limit. On format, JPG is for photos and scans of paper, and PNG is for screenshots and logos with flat colour. A photo saved as PNG is heavier than the same photo as JPG, so converting it may be the only step you need.

Sizes for smaller limits

Limit on the formLong side to tryFormat and qualityGood for
Under 1 MB2,000 pxJPG, 80Photos, product pictures, full-page scans
Under 500 KB1,500 pxJPG, 80Document scans that must stay readable
Under 200 KB800 pxJPG, 75 to 80ID card scans, profile photos
Under 100 KB500 pxJPG, 75Passport-size photos
Under 50 KB350 pxJPG, 70Exam form photos
Under 20 KB200 to 250 pxJPG, 60 to 70Signatures

These are starting points, not a published standard. A busy photo (trees, a crowd, a printed saree) comes out heavier than a plain one at the same settings, so try the row, check the KB, and go one row down if you're still over.

Many forms also set a limit in pixels. The official GATE 2027 photograph page asks for a JPEG photo between 5 kB and 600 kB, and between 200 × 260 and 530 × 690 pixels. A phone photo squeezed down to 400 KB at full size meets the KB rule and still fails, because it's far wider than 530 pixels. Resize to the pixel rule first. GATE has a minimum too, so a signature compressed too hard can fall under the floor.

Limits differ from one exam to the next. Don't trust a blog for an exam limit, this one included. Read the current notice on the official site.

Whatever the limit, zoom in before you upload and read the smallest text on the document: a roll number, a date of birth. If you can't read it, the person checking your application can't either. Go back and use more pixels with a little less quality.

On a phone

Crop first. Open the photo, tap Edit, crop away the table and the wall around your document, and save. The file is smaller and the document is easier to read. To get under a set number of KB, open a browser-based compressor in Chrome or Safari, pick the photo, set the target size and download.

An iPhone set to High Efficiency saves photos as HEIC, and a portal that asks for JPEG, as GATE does, will reject it. Apple's support page on HEIF gives the switch: Settings, Camera, Formats, Most Compatible.

Sending the photo to yourself on WhatsApp and saving the copy is the popular trick. I wouldn't use it for a document. You don't control the size it comes out at, and small text on a marksheet can go soft.

On Windows

Open the picture in the Photos app, click the three dots at the top and choose the resize option. Type the new width in pixels, pick JPG as the file type, set the quality and save a copy. Photos shows the new file size before you save, so adjust until it's under the limit. The quality setting applies to JPG only.

Paint does the pixel part too. Press Ctrl+W, switch to pixels, enter the width, and save as JPEG.

To check the result, right-click the file and choose Properties.

On a Mac

Preview is already on every Mac. Apple's Preview guide gives the resize path: choose Tools, then Adjust Size, enter a smaller width, and keep "Scale proportionally" ticked so the picture doesn't stretch.

To save it as a JPG, choose File, then Export, and pick JPEG from the Format menu. A quality slider appears, and the file size is shown below it as you drag. Save under a new name so the original stays as it was. Select the new file and press Command+I to confirm its size.

In the browser

Online compressors come in two kinds. Some send your file to their server, shrink it there and send it back. Others do the work inside your browser, and the file never leaves your phone or laptop.

The difference matters for an Aadhaar card, a PAN card, a passport page or a signature. Those are what a fraudster wants, and you can't check what a free upload site keeps.

You can test any tool's claim on a laptop. Open the browser's developer tools (F12 in Chrome), go to the Network tab, then compress a file. If you see a large upload request go out, the file went to a server. If nothing of that size leaves, it stayed with you.

The one I built is Under1MB. It's a free image converter and compressor with no signup that handles 11 formats. Images are compressed in the browser and are not uploaded.

Frequently asked

How many KB is 1 MB?+

1 MB is 1,024 KB in the binary convention that Windows uses and 1,000 KB in the decimal convention that Apple devices use. For an upload form with a 1 MB limit, keep the file at 900 KB or less and the file passes under both conventions.

How do I compress an image to less than 1 MB without it looking bad?+

Resize the image to about 2,000 pixels on the long side, save it as a JPG and set quality to around 80. Cutting pixels first keeps the image clean, while dropping quality very low on a full-size photo makes text and faces look blocky.

Is an online image compressor safe for Aadhaar or PAN scans?+

An online image compressor is safe for ID scans only if the file is compressed inside your browser and not sent to a server. Under1MB works that way, and you can check any compressor by watching the Network tab in your browser's developer tools while it compresses a file.

Why is my photo still over the limit after I lowered the quality?+

A photo stays over the limit when it still has too many pixels or is saved in the wrong format. Reduce the width and height first, and convert a PNG or HEIC photo to JPG, before you touch the quality setting again.

Mohit Goyal

Written by Mohit Goyal

Senior Web Developer in Gurugram, India. 100+ fast, SEO-friendly sites shipped in 4.5+ years with Next.js, React and WordPress, including the procol.ai rebuild. Send me your next project.

I work as a freelance web developer in Gurugram, India.

Keep reading

MakeMyTrip commission for hotels vs your own booking website

MakeMyTrip publishes no hotel commission rate. See what named sources report, and what a direct booking website costs an Indian hotel.

9 min read

WordPress hosting vs web hosting? Compare the renewal price

At budget hosts in India, WordPress hosting and web hosting are the same plans at the same prices. The renewal price is what to compare.

6 min read