Photo

Compress JPG to 1MB: What Changes and What Stays Sharp

A 1 MB limit is the easiest photo target on most forms. We ran five synthetic files through the live tool to show what Dokurapi changes, and when it has to work harder.

Updated · 10 min read

Screenshot of the Compress Photo to 1 MB tool tool on Dokurapi
Screenshot of the related Dokurapi tool. All processing runs in the browser.

To compress JPG to 1MB, open Dokurapi's Compress Photo to 1 MB tool, choose your photo, keep the 1 MB preset, press Compress photo, then read the result panel and zoom in before you download. The tool aims for 940,000 bytes, so the file passes whether a form counts a megabyte as 1,000,000 or 1,048,576 bytes. In our tests a 4.62 MB, 12 megapixel camera-style JPG came out at 429,588 bytes and kept 84% quality. The photo never leaves your browser tab.

Compared with the 100 KB and 200 KB caps on many exam and job forms, 1 MB is generous. That changes the question. With a tight limit, the challenge is fitting the file at all. With 1 MB, the challenge is not throwing away detail you did not need to lose, and not making a file worse when it was already fine. This guide shows what the tool does, with numbers measured on the live site on 10 October 2026.

How to compress a JPG to 1 MB

  1. Start from the original file. A photo that has been sent through a chat app has already been compressed once, and each extra round adds blocky edges.
  2. Open the 1 MB tool and choose the photo. JPG, PNG and WebP are accepted, one image per run.
  3. Keep the starting quality at 84% unless you have a reason to change it. The tool only lowers it when the file does not fit.
  4. Press Compress photo. The status line tells you whether the safe target was reached.
  5. Read the result panel. It lists the original size, the output size, the final JPEG quality and the pixel dimensions.
  6. Zoom in, then download. Check faces, signatures and small print at 100% before you save the JPG.
Four steps to compress a JPG to 1 MB: start from the original camera file, keep the 1 MB preset, compress in the browser tab, then read the size and zoom in before saving
The four steps. The safe target is 940,000 bytes and the photo stays inside the browser tab. Diagram, not measured data.

Ready to try it? The tool is free and runs in your browser.

Open the Compress Photo to 1 MB tool

Why the target is 940,000 bytes

"1 MB" is not one fixed number. In the SI system that NIST describes, mega means one million, so 1 MB is 1,000,000 bytes. Many operating systems and older upload scripts still count in powers of two and call 1,048,576 bytes "1 MB". A file that one program reports as 0.99 MB can therefore be just over the limit in another.

Dokurapi removes that doubt with a 6% margin on every target. For the 1 MB preset the tool aims for at most 940,000 bytes, which is under both readings with room to spare. The same rule gives 470,000 bytes for 500 KB and 188,000 bytes for 200 KB. If you type a custom target in KB, the same 6% margin is applied to your number.

Form saysCounted in 1,000sCounted in 1,024sDokurapi aims for
200 KB200,000 bytes204,800 bytes188,000 bytes
500 KB500,000 bytes512,000 bytes470,000 bytes
1 MB1,000,000 bytes1,048,576 bytes940,000 bytes
2 MB2,000,000 bytes2,097,152 bytes1,880,000 bytes

One practical consequence: the result will usually look smaller than the limit, sometimes much smaller. That is expected, and the next sections explain why.

What the tool changes, in order

The photo tools on Dokurapi share one routine, and the 1 MB preset only changes the target. The routine has four moves and stops as soon as the file fits. First, it caps the longest side at 2400 pixels; a photo that is already smaller keeps its size. Second, it saves the picture as JPEG at the starting quality, 84% by default, using the browser's own canvas encoder. Third, if the result is still above 940,000 bytes, it lowers the quality by 10 points at a time, at most seven times and never below 18%. Fourth, only if that is still not enough, it shrinks the dimensions step by step, never below 640 pixels on the longest side.

The order of work inside the 1 MB photo tool: resize the longest side to at most 2400 pixels, encode as JPEG at 84 percent, lower quality by 10 points up to seven times, then shrink the dimensions but never below 640 pixels
Each move runs only while the file is still above 940,000 bytes. With a 1 MB target, most photos stop after the first JPEG save. Diagram of the tool logic, not measured data.

The resize step matters most. Pixel count drives file size more than anything else, and 2400 pixels on the long side is still sharp on a laptop screen and more than enough for a form photo. Because the resize always runs on large photos, even with a generous 1 MB target, the output of a 12 megapixel camera shot will be around 4.3 megapixels whichever photo preset you choose.

Five test files and what happened

We ran five synthetic images through the live 1 MB tool on 10 October 2026, so no real person's photo was involved. They cover the cases people actually meet: an ordinary 12 megapixel outdoor shot, a 12 megapixel image full of fine detail, a 24 megapixel detailed image, a worst case made of pure random noise, and a small 1600 by 1200 photo that was already under the limit.

Test fileOriginalOutputFinal qualityFinal pixels
Camera-style, 12 MP4,619,336 bytes429,588 bytes84%2400 × 1800
Fine detail, 12 MP7,510,227 bytes665,336 bytes84%2400 × 1800
Fine detail, 24 MP15,361,426 bytes786,206 bytes84%2400 × 1600
Pure noise, 12 MP11,652,788 bytes865,395 bytes34%2400 × 1800
Small photo288,497 bytes195,859 bytes84%1600 × 1200
Bar chart of measured output sizes with the 1 MB preset: 430 KB, 665 KB, 786 KB, 865 KB and 196 KB, all under the 940,000 byte safe target
Measured output sizes for the five files. Four of five kept 84% quality; only the pure-noise file needed lower quality. Measured on dokurapi.com, 10 October 2026.

Four of the five files fitted on the very first JPEG save after the resize. Even the 15.36 MB, 24 megapixel image came out at 786,206 bytes without any quality reduction. In everyday use, then, a 1 MB target rarely forces a visible trade-off.

When quality has to drop

The pure-noise file is the exception, and it was built to be. Random noise has no smooth areas or repeated patterns, which are exactly what JPEG compression relies on. After the resize, the first save at 84% was still well above 940,000 bytes, so the tool stepped the quality down 10 points at a time: 74, 64, 54, 44 and finally 34%, where the file came in at 865,395 bytes. It never needed to shrink the dimensions.

Screenshot of the Dokurapi Compress Image to 1 MB tool after compressing an 11.65 MB synthetic noise image: output 865 KB, quality 34 percent, 2400 by 1800 pixels, safe target reached
The worst case on the live tool: an 11.65 MB synthetic noise image reached 865 KB, but only at 34% quality. Screenshot of dokurapi.com, 10 October 2026, with a synthetic test file.

Real photos only behave like this in extreme conditions: very high ISO night shots, gravel or foliage filling the whole frame, or heavily sharpened scans. If the result panel shows a quality well below 84% and the photo looks blotchy when you zoom in, try these fixes in order:

  • Crop away the parts of the picture the form does not need, then compress again.
  • Use a cleaner original, for example a photo taken in better light.
  • If the form allows it, choose the 2 MB preset or a custom target instead.

If your photo is already under 1 MB

The tool always re-encodes the image, even when it is already below the target. Our 288,497 byte test photo came out at 195,859 bytes. That is smaller, but it is also a second round of JPEG compression on a file that was already compressed. The size did not need to change at all, because the form would have accepted the original.

So before you compress, check the size. On Windows, the file Properties window shows the exact byte count; on a phone, the file manager or gallery details usually do. If the number is below 1,000,000 bytes, and the form accepts JPG, you can upload the original. If you are unsure how a portal counts, our guide on checking file size before upload walks through it. Compress only when the file is over the limit, or when the form also sets a maximum pixel size that your photo exceeds.

The same thinking applies to screenshots and graphics saved as PNG. A simple PNG with flat colours can be very small, and converting it to JPEG may make it larger and blur the edges of text. Keep the PNG if the form accepts it and it is already under the limit.

1 MB, 500 KB or 200 KB: picking the right preset

Use the largest target the form allows. A bigger target leaves more room for detail, and the tool only removes what it must. If the instructions say "maximum 1 MB", there is no benefit in squeezing a photo to 200 KB first. The table below sums up when each photo preset fits best.

PresetSafe targetTypical useTool
1 MB940,000 bytesDocument photos, proof-of-work images, forms with a generous capPhoto to 1 MB
500 KB470,000 bytesProfile and registration photosPhoto to 500 KB
200 KB188,000 bytesExam and recruitment pas fotoPhoto to 200 KB
100 KB94,000 bytesVery strict forms, signaturesPhoto to 100 KB

For the details of the tighter presets, see our guides to compressing a JPG to 500 KB, compressing a photo to 200 KB and compressing a photo to 100 KB. Limits change between application cycles, so always read the current instructions on the official portal.

When the form wants a PDF, not a JPG

A 1 MB cap is common for document uploads, and many of those fields accept PDF only. The 2022 LPDP scholarship user manual, an official LPDP document, is a good example: every document had to be a PDF of at most 1 MB, while the profile photo was capped separately at 512 KB. Treat those figures as a dated example and check the current form, as our LPDP upload guide explains.

If you photographed a paper document, compressing the JPG is only half the job. Convert it with Photo to PDF, which our photo to PDF guide covers step by step. If the PDF is then too big, run it through Compress PDF to 1 MB, explained in the PDF to 1 MB guide. Several pages that belong together can be joined with Merge PDF before compressing, so the whole set is checked against the limit once.

Checklist before you upload

Run through these points once the download is saved. They take a minute and catch most rejected uploads.

  • The file is JPG, and the form asks for JPG or JPEG rather than PDF.
  • The size shown in the result panel is under 1 MB, and you opened the downloaded file to confirm it.
  • The final quality in the result panel is close to 84%, or you zoomed in and the detail still reads clearly.
  • Faces, signatures and printed text are sharp at 100% zoom.
  • You kept the original file in case the portal asks for a larger or different version.

If a file still refuses to fit, our guide on what to do when a compressed file is still too big covers the next steps. And if you want to know why nothing is sent to a server during any of this, read how Dokurapi's browser tools work.

Frequently asked questions

How do I compress a JPG to 1 MB?
Open the Compress Photo to 1 MB tool, choose your image, keep the 1 MB preset and press Compress photo. Read the result panel and zoom in before you download.
Why is my result much smaller than 1 MB?
Large photos are first resized to at most 2400 pixels on the longest side, and that alone usually brings them well under the 940,000 byte safe target. In our test a 12 MP photo ended at 430 KB.
Does compressing to 1 MB lower the quality?
Usually not. Four of our five test files kept the starting quality of 84%. Only a worst-case noise image needed lower quality, ending at 34%.
Should I compress a photo that is already under 1 MB?
No, unless the form also limits pixel size. The tool always re-encodes the image, which adds another round of JPEG compression. If the original is under 1,000,000 bytes, upload it as it is.
Why does Dokurapi aim for 940,000 bytes?
Some systems count 1 MB as 1,000,000 bytes and others as 1,048,576 bytes. A 6% safety margin gives 940,000 bytes, which passes under both.
Can I compress a PNG or WebP to a 1 MB JPG?
Yes. PNG and WebP are accepted and saved as JPG. Transparent areas become white, because JPEG has no transparency.
Is my photo uploaded anywhere?
No. The photo is processed inside your browser tab and returned as a download. Nothing is sent to a server.
Will a 1 MB photo always be accepted by the portal?
Size is only one rule. Portals also check file type, dimensions and content, so read the current instructions for your application before uploading.

Sources

  1. NIST: Prefixes for binary multiples
  2. MDN: HTMLCanvasElement.toBlob() and the quality parameter
  3. LPDP: User Manual Pendaftaran Beasiswa 2022 (documents max 1 MB, photo max 512 KB)

Need help?Result not quite right, or unsure about a form rule? Ask Dokurapi support on WhatsApp. Please do not send personal documents in chat.

Chat on WhatsApp

Related articles

Try Dokurapi for Free

No account needed. Pick a tool, drop in a file, and download the result, free.