Compress image to 30KB

Hit an exact file size in seconds, with a live before/after. Nothing is uploaded.

30 KB is a common upper limit for photo uploads on exam and application portals. Drop your image and get the sharpest JPG under 30 KB, checked to the byte. It never leaves your device.

Free · no signup · a sample is already loaded below

Tool

Target file size

Presets

Output format

Dimensions (optional)

1 KB = 1,024 bytes, so the file passes whether a site counts 1,000 or 1,024. Your image never leaves this device.

Original image
Original
Compressed image
Compressed

How do I compress an image to 30 KB?

Set the target to 30 KB and drop the image. The tool lowers JPEG quality by binary search and reduces the dimensions only if it has to, until the file is at or under 30,720 bytes. A detailed 12 MP photo usually ends up 420–680 px wide. Cropped to a form's fixed size such as 200×230 px, it fits at about quality 92.

How to compress image to 30KB

30 KB is a common upper limit for photo uploads on exam and application portals. Drop your image and get the sharpest JPG under 30 KB, checked to the byte. It never leaves your device.

  1. Drop, paste or choose your image (JPG, PNG, WebP, GIF, BMP or AVIF). A sample photo is loaded so you can try it first.
  2. The target is preset to 30 KB. Change it, or pick another preset, if your form asks for something different.
  3. Optionally choose an output format and a maximum width or height.
  4. Check the side-by-side preview and the exact byte count, then click Download.

What fits in 30 KB (measured)

PhotoFormatResultQualityFile size
Landscape, 3840×2743JPEG650×464 px5130,695 bytes
Landscape, 3840×2743WebP673×480 px5930,602 bytes
Portrait, 2848×4272JPEG420×630 px4830,521 bytes
Portrait, 2848×4272WebP458×686 px4630,604 bytes
Portrait, 2848×4272 cropped to 200×230JPEG200×230 px9219,109 bytes

Measured with this tool in Chrome on two test photos: a detailed 10.5-megapixel landscape (3840×2743, 3.4 MB) and a 12-megapixel portrait-orientation photo (2848×4272, 3.7 MB). Your results depend on how much detail the photo has; plain backgrounds compress far better.

How the compressor hits an exact size

The tool decodes your image in the browser, then re-encodes it with the browser's own JPEG, WebP or PNG encoder. For JPEG and WebP it runs a binary search on the quality setting — usually 6 to 10 test encodes — and keeps the highest quality whose file is at or under your target. If even a low quality (40%) is still too large, it reduces the pixel dimensions by the amount the byte count suggests, then searches quality again, so you get the largest picture that fits rather than a blocky one. PNG is lossless, so for PNG only the dimensions change. If your file is already under the target and you keep the same format, the original is returned untouched.

Everything happens on your device with the Canvas API; nothing is uploaded, and the re-encoded file does not carry the original EXIF metadata (camera, GPS).

Frequently asked questions

What pixel size is a 30 KB photo?

It depends on detail. In our tests a detailed 10.5 MP landscape came out at 650×464 px and a 12 MP portrait photo at 420×630 px, both at JPEG quality around 50. A head-and-shoulders photo on a plain wall stays noticeably larger, because flat areas cost very few bytes.

How do I get a sharp photo under 30 KB?

Enter the dimensions the form asks for (for example 200×230 px) before compressing. A small fixed size needs much less compression: our 12 MP test photo cropped to 200×230 px fit in about 19 KB at JPEG quality 92, so it stayed crisp.

My form says the file must be between 10 KB and 30 KB. Will this work?

Yes. The tool aims for the largest file at or under 30 KB, so results usually land within a few percent of the limit, well above a 10 KB or 20 KB minimum. The exact byte count is shown before you download.

Should I use WebP to fit more detail in 30 KB?

WebP held about 4–9% more pixels than JPEG at 30 KB in our tests, but many government and exam portals accept only JPG/JPEG. Use JPEG unless the form explicitly lists WebP.

Are my images uploaded to a server?

No. Compression runs entirely in your browser using the Canvas API. The image never leaves your device, which also makes it safe for ID photos and signatures.

Is it free?

Yes. Compressing one image at a time is free with no signup and no watermark. Gridloom Pro adds batch compression of many images with a single ZIP download.