Compress an image to 30 KB

Drop a photo and get a JPEG just under 30 KB. It runs on your device, so nothing is uploaded.

  • Nothing uploaded
  • No sign-up
  • Works offline

10 of 10 left today

Drop images here

Or paste with Ctrl+V. JPG, PNG, WebP, AVIF, HEIC, GIF, BMP and SVG all work.

Files are processed on this device. Nothing is uploaded.

Max file size

KB

Save as

Save as
Advanced settingsJPEG, under 30 KB, metadata removed

Format and qualityJPEG, quality set by size

Output format

The size target picks the quality for you.

#FFFFFF

JPEG has no transparency, so see-through areas are filled with this colour. Also used for padding.

File sizeUnder 30 KB

KB

DimensionsOriginal size

Resize by

MetadataRemoved

Removing Content Credentials deletes the signed record of how a file was made. Keep your original if you may need it.

File names{name}

Example: summer-photo.jpg. Names are lowercased with hyphens.

What fits in 30 KB

With a 30 KB target, the 2000 x 1333 test photo came out at 1554 x 1036 pixels and JPEG quality 33. The 12 MP photo needed more shrinking and ended at 1400 x 933. The screenshot kept its full 1600 x 900 size at quality 43, because a screen of flat colours and text costs much less than a photo.

For a passport style photo of a few hundred pixels, 30 KB is plenty. For a full photo it is tight, and the tool has to give up both quality and pixels.

JPEG output with a 30 KB target (1 KB = 1000 bytes)
Test imageOriginalResultJPEG qualityPixelsTime
Photo694 KB30 KB331554 x 1036 (from 2000 x 1333)2.9 s
12 MP photo1.81 MB29 KB381400 x 933 (from 4000 x 2667)4.0 s
Screenshot46 KB30 KB431600 x 9001.5 s
Illustration94 KB26 KB791200 x 12001.4 s

Test images are synthetic files made by this project: a 2000 x 1333 landscape photo, a 1600 x 900 interface screenshot and a 1200 x 1200 transparent illustration. The 12 MP photo is the same photo scaled up to 4000 x 2667, the size a phone camera saves. Quality is lowered first and the image is only scaled down when quality alone cannot reach the target. A JPEG that is already under the target is left as it is. Timings: one thread of WebAssembly on Node v22.23.4, Intel(R) Xeon(R) Processor @ 2.10GHz, 2 cores, measured 2026-10-31. Other devices will differ.

Photos and scanned pages

A face photo for a form survives 30 KB well once it is cropped to the head and shoulders. A scanned page of text is harder, because the letters need sharp edges. For a document, resize it to about 1000 pixels wide first, then compress. If the text still blurs, the form probably expects a PDF; the JPG to PDF tool can make one.

Steps for an application form

  1. Check the form for a size range, a pixel size and a file type. Many say something like 10 to 30 KB, JPG only.
  2. If there is a pixel size, use the exam photo and signature resizer, which handles the pixels, the range and the DPI together.
  3. If there is only an upper limit, drop the image here and download the JPEG.
  4. Open Compare to check the face or the signature at 100% before you upload.

Counting kilobytes

This site counts 1 KB as 1000 bytes, so a 30 KB target means under 30,000 bytes. Windows and some portals count 1 KB as 1024 bytes and will show a slightly smaller number for the same file. Either way, a file made here is under the limit.

What happens to the rest of the file

Camera details, GPS location and edit history are removed by default, which also saves a few kilobytes. The photo is turned upright according to its orientation tag before it is saved, so it will not appear sideways on the form.

Questions

My form says 20 to 30 KB. Will this work?

This page only aims under 30 KB. For a range, use the exam photo and signature resizer, which also keeps the file above the minimum.

Can I keep the PNG format?

Yes, choose Same in Save as. PNG can only reach 30 KB by losing pixels, so JPEG usually looks better.

Is the photo uploaded anywhere?

No. The compression runs in your browser and the file stays on your device.

Last updated 2026-10-31. Numbers in the tables were measured when this page was built.