Guide · File size

Compress a photo to about 1 MB

Application portals often say “under 1 MB” or “under 2 MB”, which is looser than an email screenshot. Type 1000 (or 2000) as the target KB. The JPEG search stays in the browser.

Compress to KB accepts PNG, JPEG, and WebP, from 10 KB through 5000 KB. 1 MB is 1000 in that field. 2 MB is 2000. It is best-effort: a file that is already under the cap can still be re-encoded, so compare the download size before you replace a sharp original.

Do not use the 100 KB habit here. That budget is for tight attachments and is written up in 100 / 200 / 500 KB caps. HEIC from a phone must become a JPG first. This page does not decode HEIC.

Steps

  1. If the camera file is still HEIC, open HEIC to JPG and download the JPG first. Compress to KB does not decode HEIC.
  2. Open Compress to KB. Replace the default 100 with 1000 for about 1 MB, or 2000 for about 2 MB. Do not type 1.
  3. Press Compress. Ten probes search JPEG quality from 0.10 to 0.95. Width and height stay the same. The photo is not uploaded.
  4. Read the status line, then the size of compressed.jpg on disk. The last probe can sit a little under 1000 and, less often, a little over.
  5. If text or a face went soft, raise the target. The field stops at 5000. If quality 0.10 is still over the cap, crop the pixel grid in another editor and run again. If the original was already under the cap, keep it.

How it works

A portal that says “under 1 MB” is a loose cap compared with a 200 KB attachment line. Type 1000 in Compress to KB, not 1, and not 100. The field is kilobytes from 10 to 5000. Two megabytes is 2000. There is no 10000 setting. The comparison is blob.size / 1024 against the integer you typed, so 1000 means about a thousand of those KB, which is the figure most portals call 1 MB. If a form counts 1024-byte kibibytes and rejects a 1000 KB file, type 900 and read the size on disk.

The page does not resize the photo. It decodes PNG, JPEG, or WebP in the tab and binary-searches JPEG quality ten times, between 0.10 and 0.95. Each probe is a full-size canvas encode via canvas.toBlob. The download is the last probe, named compressed.jpg, from a blob: URL. It can land a little under 1000 and, less often, a little over. Read the status line, then the size on disk. HEIC never enters this search. HEIC to JPG first, then type 1000.

A concrete pass: an 8 MB iPhone JPEG of a face usually drops under 1000 KB because quality can fall and the picture is still usable. A 4000-pixel-wide PNG of a spreadsheet often does not: quality 0.10 still encodes every cell. This page will not scale that grid down. Crop or export a smaller pixel size locally, then type 1000 again. A file that is already 800 KB does not need this pass — re-encoding it to “hit 1000” only adds artifacts. Skip the tool when the original already fits. Tighter caps, where 1000 is the wrong habit, are in 100, 200, or 500 KB. A government form that names its own number is JPG under a form cap.

What the status line says

Type 1000, then read the line on Compress to KB before you trust the portal. The figure is blob.size / 1024, one decimal. The download name is compressed.jpg.

Limits

FAQ

Is 1 MB the same as 1000 KB or 1024 KB?

Type 1000. Portals that say 1 MB almost always accept a file around that size. If the form counts kibibytes and rejects you, try 900.

Does this upload the photo?

No. JPEG quality search runs in the tab. The download is a local blob URL. The page does not fetch a background-removal model for this step.

Will 1000 KB keep a transparent background?

No. The result is a JPEG. Transparency is gone.

Why is the file still over 1 MB?

The search never changes width or height. If the lowest quality is still larger than 1000 KB, the status shows that real size. Shrink the pixel dimensions locally, then run it again.

Should I type 100 because that is a round number?

No. 100 KB is a tight attachment budget, not a 1 MB portal. Type 1000 for about 1 MB, or 2000 for about 2 MB. A face that looked fine at 1000 will smear at 100.

The photo is already 800 KB. Should I still compress it to 1000?

No. Skip the tool when the original already fits. Re-encoding an 800 KB JPEG still writes a new file and can add artifacts for no gain.

Sources

Related

Compress to KB · 100 / 200 / 500 KB · All guides

Related guides