FLXCode Compress Image to 200 KB

FLXCode apps

Appearance

Compress Image to 200 KB

Get a picture under 200 KB, for an upload form or an email. The file stays on this device.

or drop it here, or paste with Ctrl+V

JPG, PNG, WebP or HEIC, up to 50 megapixels. Nothing is uploaded. The saved file is a JPG without location or camera data.

Your picture never leaves this device. There is no upload, no account and no watermark. How we count What this tool keeps and sends.

Problem or idea? Email us

How to use it

  1. Choose a picture, or drop it on the box. JPG, PNG, WebP and HEIC all work.
  2. The largest size is 200 KB. Change the number or the unit if your form counts differently. Type a width and height only if the form asks for pixels.
  3. Press Make the file. You see the bytes in KB and in kB, the pixels and a preview. Then download the JPG.

Worked example: what 200 KB leaves four pictures

A phone photo, a screen-sized picture, a square one and a small one against a 200 KB limit. The sizes in this table come from a model of JPEG size (about 0.02 plus 0.5 times quality cubed bytes per pixel), not from real files, so real photos land near these numbers and not on them.

PictureLimitPixels afterJPEG qualityEncodes
4,000 × 3,000 (12.0 MP)200 KB1267 × 9500.668
1,920 × 1,080 (2.1 MP)200 KB1463 × 8230.668
1,200 × 1,200 (1.4 MP)200 KB1097 × 10970.668
600 × 400 (0.2 MP)200 KB600 × 4000.951

A small picture needs only a little lower quality. A phone photo keeps well under half of its pixels.

Worked example: what a limit means in bytes

A limit of 200 KB is 204,800 bytes or 200,000 bytes, depending on the portal. The last column is where this page aims.

LimitIf KB is 1,024 bytesIf kB is 1,000 bytesAim (2% under, KB)
200 KB204,800 bytes200,000 bytes200,704 bytes
300 KB307,200 bytes300,000 bytes301,056 bytes
400 KB409,600 bytes400,000 bytes401,408 bytes

The gap at 200 KB is 2.4%, so the 2% margin covers most of it. Choose kB to aim under 200,000 bytes.

Numbers this uses

  • Limit on this page: 200 KB is 204,800 bytes (1 KB = 1,024 bytes). If the form means kB, 200 kB is 200,000 bytes. Pick the unit in the box.
  • JPEG quality is searched between 0.4 and 0.95. When even the lowest quality is too big, the pixels are reduced and the search runs again. Both numbers are this page's own choice.
  • The aim is 2% under your largest size: 200,704 bytes for 200 KB, or 196,000 bytes for 200 kB. A portal that counts a little differently still takes the file.
  • The saved file is a JPG, upright, without location or camera data.
  • A transparent PNG is flattened onto white, because JPG has no transparency. Pixels that were see-through become white.

How the file gets under 200 KB

The tool opens the picture and turns it upright. It then saves a JPEG at high quality and reads the byte count. If the count is over the limit, it tries a lower quality, halving the gap each time, and keeps the best quality that still fits. That takes about nine encodes.

A phone photo of 12 megapixels cannot fit in 200 KB at full size, even at low quality. So the tool starts from a smaller picture that suits 200 KB and searches the quality there. If there is room to spare at top quality, it tries a bigger picture. The aspect ratio is always kept unless you type both a width and a height.

What to expect

  • A 12 MP phone photo ends at roughly 1,500 to 2,000 pixels on the long side. That is fine for a screen or a form, not for a large print.
  • A scan or screenshot with flat colours can stay at full size. A busy photo loses more pixels.
  • If 200 KB cannot be reached at any size the tool says so and shows the smallest file it made. Nothing is offered for download then.
  • A see-through background becomes white. If you need to keep the transparency, this is the wrong page: it only saves JPG.
  • The tool does not check faces, backgrounds or any rule a portal may have. It only controls the bytes and the pixels.

What happens to your file

The file is read by your browser and processed in this tab. The page sends no request with your file, its name, its size or its pixel size. After you pick a file the only requests are anonymous usage counts with words like "target" and "under", never a name or a number from your file.

Counts of events such as "download" are kept without cookies (details). The PDF code is pdf-lib, MIT licence: open source used on this site.

Nearby tools

FAQ

Is 200 KB 200,000 or 204,800 bytes?

Both are used. With KB at 1,024 bytes it is 204,800 bytes. With kB at 1,000 bytes it is 200,000. The form does not say which. The tool shows your result in both, and the Unit box lets you aim at 200,000 to be safe.

Will a 200 KB photo look good?

On a screen, yes. A phone photo at about 1,600 pixels wide and 200 KB looks clean. For printing it is too little data. Keep your original for anything you print.

What happens to a transparent PNG?

It is flattened onto a white background and saved as a JPG, because JPG cannot be see-through. If you need to keep the transparency, the result will not be a JPG, so this page is not the right tool.

Why did my picture get smaller in pixels?

Bytes depend on quality and on pixels. A big photo cannot reach 200 KB at its full pixel size, even at low quality. The note under the result gives the old and the new size.

What if my picture already is under 200 KB?

The tool still re-saves it as a JPG, so the result can be a little different from the file you chose. If you only wanted to check the size, the file box already shows it.

The portal says my file is over 200 KB. Why?

The portal may count kB as 1,000 bytes. Choose kB in the Unit box and run again, or use a 5% margin. Also check that the form wants a JPG, since that is all this page saves.

More from FLXCode

  • Compress ImageCompress JPG, PNG and WebP by quality or target KB, with a side-by-side preview. Nothing is uploaded.
  • Compress JPEG to 100 KBMake a JPEG at most 100 KB with the best quality that fits. Runs in your browser, nothing is uploaded.
  • Compress Image to 20 KBGet a photo or signature under 20 KB, or inside a size range, at an exact pixel size. Nothing is uploaded.
  • Image ResizerResize photos by pixels, percent or preset for Instagram and email. Batch and zip. Nothing is uploaded.

Share Compress Image to 200 KB