Free online tool

JPG Compressor

Choose a size limit and let ConvertKB find the best quality that fits. The three-letter .jpg extension is what Windows, most cameras and nearly every exam portal expects.

100% private: runs in your browserExact size targetsFree, no signup
Illustration: a 3.1 MB photo compressed to under 100 KB as JPG
Typical example: a 3.1 MB phone photo fitted under 100 KB. Real results depend on your file.

Pick a target size for your JPG

Every common limit has its own page with tips and expectations for that size. Choose the one that matches your form, or use the size box above for any value.

How to compress an image

  1. Add your image: drop it in the box, click to browse, or paste with Ctrl+V.
  2. Crop or rotate if you need to. Keep “Fit to a maximum size” ticked and the maximum set to 50 KB.
  3. Press Compress image. The tool searches for the best quality that fits and shrinks dimensions only if it has to.
  4. Check the preview and the size badge, then download your file.

How the size search works

ConvertKB does not guess a quality number. It encodes the picture at several qualities, keeps the highest one that is under your limit, and only reduces pixel dimensions if even the lowest acceptable quality (40%) is still too big.

The target is set slightly under the limit (we use 1 KB = 1000 bytes) so portals that count 1024 bytes per KB also accept the file. The DPI value you choose is written into the file header, and for JPG you can pad up to a minimum size.

Why JPG artefacts appear and how to avoid them

JPG divides a picture into 8 × 8 pixel blocks and discards fine detail inside each block. At gentle settings that is invisible, but when the size limit is tight, edges show halos and smooth areas show faint squares. These are called artefacts, and they are the signal that the limit is too small for the pixel dimensions.

The fix is rarely lower quality. Reducing the pixel size gives each block more bytes, which usually looks cleaner than a large, heavily compressed image. For text and signatures, a white background and dark ink produce far fewer artefacts than a coloured one.

  • If you see halos around text, shrink the dimensions slightly.
  • Avoid compressing the same JPG repeatedly; every save adds loss.
  • JPG and JPEG are the same format, so this page covers both extensions.
  • Use the size pages for common limits such as 20, 50 or 200 KB.

JPG files and upload forms

JPG is the same format as JPEG; the three-letter extension comes from the old eight-dot-three file-name limit in Windows. Many upload forms validate the extension text, so a file named photo.jpeg can be rejected by a form that only lists .jpg.

ConvertKB always writes a .jpg extension for JPG output, so the file name will pass those checks. The pixel data is identical to the .jpeg version.

  • Rename-proof: the output is a genuine JPEG stream, not a renamed PNG.
  • Quality is searched automatically between 40% and 92% to fit your limit.
  • If quality alone cannot reach the limit, dimensions are reduced a little at a time.
  • The DPI value you choose is written into the JFIF header.

How the size target is set

The tool aims a few bytes under your limit, counting 1 KB as 1000 bytes. That is also under the 1024-byte figure, so the file passes whether a portal counts 1000 or 1024 bytes per KB.

Questions and answers

Is JPG the same as JPEG?

Yes. The two names describe one format. The tool writes a .jpg extension, and the picture data is identical to a .jpeg file.

Is a .jpg file different from a .jpeg file?

No. Both are the same JPEG format; only the extension text differs. Use whichever extension the portal lists.

Is my file uploaded anywhere?

No. Everything runs inside your browser tab using your own device. Nothing is sent to a ConvertKB server, and closing the tab clears the memory used.