30KB Target

Compress Image to 30KB Online

Reduce any image to under 30KB without sending it to a server. Common on state exam portals, scholarship applications, and official forms.

Last updated: August 2026

30KB

Exact Target

JPEG, WebP

Output

Smart

Two-stage Algo

Private

No Uploads

KB

Drop image here to compress to 30KB

JPEG, PNG, WebP, AVIF, HEIC. All processing stays in your browser.

Want to compare against a looser limit? Change the target field above, no need to drop the file in again.

How to compress an image to 30KB

Five steps is all it takes. Everything runs in your browser so there is no waiting for an upload or server processing.

01

Set your target

The target is pre-set to 30KB. Adjust it to any value if your portal has a different limit.

02

Drop your image

Drag and drop a JPEG, PNG, WebP, AVIF, HEIC or HEIF file onto the tool. No upload happens, the file stays on your device.

03

Quality search, then dimension scaling if needed

The tool runs a quality search first, then reduces pixel dimensions in steps if quality alone can't reach 30KB without looking bad. This runs in a background worker, so the tab stays responsive.

04

Fine-tune without starting over

Change the target or switch between JPEG and WebP afterward and the tool recompresses automatically.

05

Download the result

Preview and size stats appear. Download the compressed file immediately.

Choosing the right target for your form

If your portal specifies a maximum but not an exact size, always pick the largest target that still fits under the limit. A larger target means better quality.

Target sizeTypical usePhoto quality
10KBSignature scans, tiny avatarsReduced
30KB(this tool)Strict portal photos, exam registrationAcceptable
50KBGovernment ID portals, visa uploadsAcceptable
100KBJob applications, university portalsAcceptable

How the tool reaches 30KB

The tool always tries quality reduction first, searching for the highest setting that still fits under 30KB. For a passport-style photo at full camera resolution, that search alone is sometimes enough. When it isn't, the tool steps the pixel dimensions down, roughly 75%, 50%, 35%, 25% and then 15% of the original size, re-running the quality search at each smaller size until it finds a combination that both fits 30KB and clears a minimum acceptable quality. Both the search and the dimension steps run in a background Web Worker, so the page stays responsive while it works through the attempts.

If you're starting from an iPhone photo, HEIC and HEIF files are accepted directly, no separate conversion needed, though you can use HEIC to JPG first if you'd rather inspect the converted file before compressing. PNG sources are accepted too, but the output is always JPEG or WebP, never PNG. If your PNG has a transparent background, keep an eye out for the transparency warning, JPEG will flatten it to a solid color unless you switch to WebP.

Once a result appears, changing the target size field or switching between JPEG and WebP recompresses automatically using the same cached image, no need to drop the file in again. That makes it easy to check whether 50KB gives a meaningfully better result, if your portal's stated limit turns out to allow it.

Common 30KB compression mistakes

Expecting a full-color photo to look sharp at 30KB

At this size, a passport-style photo will show some visible compression, and occasionally smaller dimensions too. A signature or simple scan on a plain background holds up far better, since there's much less detail to encode.

Assuming quality adjustment alone will hit 30KB

For a full-resolution photo, the tool can still need to reduce pixel dimensions alongside quality to reach 30KB. That's expected here, check the result panel for the scale factor used if it happens.

Choosing JPEG for a transparent signature scan

If the source PNG has a transparent background, JPEG will fill it with a solid color. The tool warns about this and offers a one-click switch to WebP, which keeps transparency.

Using exactly 30KB when the portal states a maximum, not an exact size

If a portal says "under 30KB" rather than "exactly 30KB," that's still the right target, but if it actually allows up to 50KB, using the larger number gives noticeably better quality for no downside.

Re-dropping the file just to compare a different target

That's no longer necessary. Changing the target size field after a result already appears recompresses automatically using the same cached image.

Ignoring the warning that the target wasn't fully reached

For an unusually detailed source image, the tool may not be able to hit 30KB at an acceptable quality even after scaling down. When this happens it still delivers its best attempt but flags it on the result panel, worth a second look before submitting.

Why use ImgTweak?

Runs entirely in your browser
No uploads, ever
Falls back to smart dimension scaling when quality alone isn't enough
Encoding runs in a background worker, no frozen tabs
Adjust target or format without re-uploading
Free forever, no account needed

Frequently asked questions

Which portals require images under 30KB?

A 30KB limit is found on certain government scholarship portals, state-level exam registration systems and older banking forms, particularly in India. It sits between the ultra-strict 10KB and the more common 50KB thresholds. The limit usually applies to an applicant photograph or scanned signature.

Will the compressed image look acceptable at 30KB?

Yes, in most cases. A standard passport-style photograph compressed to 30KB retains enough clarity for official identification purposes. The face will be clearly recognisable and the image will be accepted by portal systems that use it for verification. Very high-resolution source images may see slight softening, and in some cases a small reduction in pixel dimensions alongside the quality adjustment.

What quality setting does the tool use at 30KB?

Usually a moderate-to-low one for a typical passport-style photo. The search can use any quality from 1 to 100, there's no artificial ceiling, but at a target this tight the highest quality that fits is generally well below what you'd see at a looser target like 1MB. A simpler image, like a scanned signature, can often hold a noticeably higher quality at the same 30KB target.

Which output format should I choose, JPEG or WebP?

For government portals and official submission systems, always choose JPEG. JPEG is the universally accepted format and will not be rejected by any upload system. WebP produces slightly smaller files at the same quality, but some older portals do not accept it. Use WebP only if the portal explicitly allows it, or if your source image has transparency you need to preserve.

Why does the tool reduce image dimensions at this target?

At 30KB, quality reduction alone can fall short for a full-resolution photo. The tool first searches for the highest quality that fits within 30KB. If even the lowest quality setting produces a result too degraded to be worth keeping, it steps the pixel dimensions down, roughly 75%, 50%, 35%, 25% and then 15% of the original size, re-running the quality search at each smaller size until it finds one that both fits 30KB and clears a minimum acceptable quality.

What happens if even the smallest size still doesn't fit 30KB?

This is uncommon at 30KB but possible for an unusually detailed source image. If none of the dimension steps reach an acceptable quality within 30KB, the tool still delivers the best result it found across every attempt and flags on the result panel that the exact target wasn't fully reached. Try a simpler source image, or a slightly higher target like 50KB, if this happens.

Can I change the target size or output format after compressing?

Yes. The tool keeps the decoded image cached, so adjusting the target size field or clicking JPEG or WebP after a result already appears triggers an automatic recompress rather than asking you to drop the file in again. Useful for comparing 30KB against 50KB if your portal states a range.

Will compressing a large photo freeze my browser tab?

No. The quality search and any dimension-scaling attempts both run in a background Web Worker rather than on the page's main thread, so the tab stays responsive even while working through several attempts to reach a tight target like 30KB.

What happens if my image has a transparent background?

JPEG has no alpha channel, so a transparent PNG compressed with JPEG selected has its transparent areas filled with a solid color instead. If the tool detects transparency in your source and JPEG is selected, it shows a warning with a one-click button to switch to WebP, which keeps transparency intact.

Does EXIF or GPS data survive compression?

No. The image is decoded to raw pixels and re-encoded during compression, so EXIF metadata, including GPS location and camera details, does not carry over to the compressed file.

Is this tool safe to use for identity documents?

Yes. All processing, including decoding and the compression search itself, happens entirely in your browser using WebAssembly and a background Web Worker. Your image file is never sent to any server, never stored and never accessible to anyone other than you. You can confirm this by opening your browser's network inspector while compressing, no outbound request containing your image will appear.

Can I compress more than one image at once?

No, this tool handles one image at a time. For a batch of files that all need to fit the same limit, run each one through individually.

Ready to compress your image?

No sign-up. No uploads. Drop your image above and download the compressed version in seconds.