Tools

Home
Image ResizerImage CompressorCrop ImageWatermark
JPG to PNGPNG to WebPImage to Base64
Merge PDFCompress PDF

Compress Image to 30KB

Upload any JPG, PNG, or WebP image and automatically reduce its file size to 30KB or less

Your files never leave your browser
JPEG usually gives the smallest files. PNG cannot be quality-compressed.
Drop your image here
JPG, PNG, or WebP — Max 50MB — 100% Private
Compressing...
Original size—
Compressed size—
Reduction—
Output dimensions—

Drop a JPG, PNG, or WebP file in, pick your output format, and get a version that fits under 30KB — the tool automatically dials quality up and down until it finds the sharpest result within the limit. Great for passport photos, exam forms, and any upload field with a strict file size cap. And everything runs in your browser. Nothing gets uploaded.

How It Works

Upload Image
➔
Binary Search Quality
➔
Download ≤30KB

The tool draws your image onto a hidden HTML5 canvas, then exports it at different quality levels. It starts at 50% quality and checks the resulting file size. Too big? It drops quality. Too small with room to spare? It bumps quality up. This back-and-forth narrows down the sweet spot in about 10–15 rounds, giving you the sharpest possible image that still fits under 30KB.

Examples

Passport Photo for Online Application

Government portal requires photo under 30KB. Original shot from phone camera.

INPUT
passport-photo.jpg 3024 × 4032 px 1.8 MB
OUTPUT
passport-photo-compressed.jpg 3024 × 4032 px 29.4 KB (quality: 3%)

Product Thumbnail for E-commerce Listing

Marketplace caps listing thumbnails at 30KB. The seller has a clean product shot on white background.

INPUT
shoe-photo.png 800 × 800 px 342 KB
OUTPUT
shoe-photo-compressed.jpg 800 × 800 px 28.7 KB (quality: 18%)

Exam Registration — ID Card Scan

University exam form says "upload ID scan, max 30KB, JPEG only." The scan was saved as a high-res PNG.

INPUT
id-card-scan.png 2480 × 1570 px 1.1 MB
OUTPUT
id-card-scan-compressed.jpg 2480 × 1570 px 29.8 KB (quality: 5%)

Who Uses This

📝 Job Applicants

Shrinking photos and ID scans to fit strict upload limits on government and corporate portals.

📚 Students

Compressing passport photos for exam registration forms that cap images at 30KB.

🛒 Online Sellers

Getting product images under marketplace file size limits without losing too much clarity.

💻 Web Developers

Creating lightweight placeholder images and tiny thumbnails for faster page loads.

Common Mistakes

Choosing PNG when you need tiny files

PNG is lossless — it won't throw away data to shrink. A 1000×1000 PNG almost never fits in 30KB. Switch to JPEG or WebP for aggressive compression.

Expecting perfect quality at 30KB

30KB is really small. A full-resolution 4000px photo crammed into 30KB will look blocky. Resize the image to 400–600px first, then compress. You'll get much sharper results.

Not checking the dimensions requirement too

Some forms want both a size limit AND specific dimensions (like 200×200 or 600×400). This tool compresses the file size but does not change resolution. Resize your image first if the form specifies pixel dimensions.

Technical Details

Frequently Asked Questions

How do I compress an image to exactly 30KB?

Upload your image and select JPEG as the output format. The tool runs a binary search on quality settings, testing different levels until the output lands at or just under 30KB. You'll get the highest quality possible within that limit.

Will compressing to 30KB ruin my image quality?

It depends on the original size. A 500×500 photo compressed to 30KB still looks decent. A 4000×3000 photo squeezed into 30KB will show visible artifacts. For best results, resize your image to smaller dimensions first — 400 to 800 pixels wide is a good range — then compress.

Is my image uploaded to a server?

No. The compression happens entirely in your browser using the Canvas API. Your image stays on your device the whole time. Nothing is sent anywhere. You could disconnect from the internet and it would still work after the page loads.

What image formats work with this tool?

You can upload JPG, PNG, WebP, BMP, and TIFF files. For output, pick JPEG for the smallest file size, WebP for a good balance, or PNG if you need lossless (though PNG rarely hits 30KB for anything larger than a small icon).

Why can't the tool compress my PNG to 30KB?

PNG uses lossless compression — it won't throw away pixel data to make files smaller. If your source image has lots of colors and detail, a PNG output simply can't fit in 30KB. Switch to JPEG output instead. JPEG uses lossy compression, which is the only realistic way to hit 30KB for most photos.

Share: