All articles
How-to6 min13 April 2026

Compress an Image to a Specific Size: 100 KB, 200 KB, 500 KB

Most image compressors give you a quality slider and let you guess. But sometimes you need to hit an exact file size — a job application that accepts portraits under 100 KB, a government form requiring documents under 200 KB, a website CMS with a 500 KB upload limit, or a social media platform that rejects images above a specific size. This guide explains how to compress images to a specific file size with precision, using only your browser, without any upload.

Why Hitting a Specific File Size Is Harder Than It Looks

JPEG and PNG compression does not have a direct 'output file size' setting. JPEG compression works by reducing quality in steps — a quality setting of 80 might produce a 150 KB file from one image and a 250 KB file from another, depending on the image's complexity (number of colours, amount of detail, resolution). This means there is no single quality value that guarantees a specific output size. The only reliable approach is iterative: compress at a quality level, check the output size, adjust, and repeat. Browser-based tools can do this loop in milliseconds on your own device.

Quality-to-File-Size Reference Table for JPEG

This table shows approximate output sizes for a typical 3 MP smartphone photo (3000 × 2000 px original, ~8 MB raw). Quality 95%: ~1.5–2 MB. Quality 85%: ~500–800 KB. Quality 75%: ~250–400 KB. Quality 65%: ~150–250 KB. Quality 55%: ~100–150 KB. Quality 40%: ~60–100 KB. Quality 25%: ~30–60 KB. Quality 10%: ~15–30 KB. These ranges vary significantly by image content — a photo of a blue sky compresses much more efficiently than a crowd scene with thousands of distinct colours. Use these as starting points, not guarantees.

Step-by-Step: Compress an Image to Under 100 KB

Target: 100 KB output for a passport photo, ID card, or job application form. Step 1: Open MiniFiles image compressor in your browser. Step 2: Upload your image (processed locally — never sent to any server). Step 3: If your image is larger than 800 × 600 px, resize it first (custom dimensions are a Pro feature in MiniFiles, or use your device's photo editor). Most official forms that require images under 100 KB also specify maximum dimensions (e.g. 800 × 600 px or 400 × 300 px). Check the form requirements. Step 4: Set quality to 60%. Check output size in the preview. Step 5: If still above 100 KB, reduce to 50%. If well below 100 KB, increase to 70% for better quality. Step 6: Download. The entire process takes under 30 seconds. Passport photos can typically be compressed to under 50 KB at quality 55–60% with no visible degradation when printed at A6 size.

Step-by-Step: Compress an Image to Under 500 KB

Target: 500 KB for website uploads, email attachments, or CMSes with strict upload limits. Step 1: Start at quality 80%. This usually produces 300–600 KB from a typical smartphone photo. Step 2: If above 500 KB, try 70%. If the image is extremely high resolution (e.g. 5000+ px wide), resize to 2000 px wide first — this alone often reduces file size by 75% without any quality reduction. Step 3: Check output. Most smartphone photos land under 500 KB at 75–80% quality after resizing to 2000 px. Step 4: For product photos or images where quality matters, 80% is the minimum recommended setting for professional use.

Common File Size Requirements and What Settings to Use

Government and visa forms (passport photo under 100 KB): quality 55–65%, resize to form-specified dimensions (usually 400–800 px). LinkedIn profile photo (under 8 MB): quality 85%, no resize needed. Email attachment (under 1 MB): quality 75%, resize to 1200 px wide. WhatsApp image quality (bypass compression): send as Document. Job CV photo (under 200 KB): quality 65%, resize to 400 × 400 px. Property listing photo (under 2 MB): quality 85%, 1600 px wide. Website blog image (under 150 KB): quality 80%, 800–1000 px wide. E-commerce product (under 300 KB): quality 82%, 1200 × 1200 px.

PNG vs JPEG: Choosing the Right Format for Size Targets

JPEG is almost always the right choice when you need to hit a small file size target. PNG is lossless, which means it can't be compressed below a certain floor without converting to JPEG. A high-resolution PNG photo might be 10 MB and compress to 7 MB with lossless PNG optimisation — but converting to JPEG at quality 80% might bring it to 300 KB. If your target is under 500 KB and you're starting from a PNG, convert to JPEG first. MiniFiles supports PNG-to-JPEG conversion during compression as a Pro feature. The exception: logos, icons, screenshots with text, and images with transparent backgrounds — keep these as PNG because JPEG does not support transparency and introduces visible artifacts in flat-colour graphics.

Key takeaways

  • JPEG compression has no direct target-size setting — achieving a specific file size requires iterating quality settings and checking output.
  • Reference: 3 MP photo at quality 55–65% typically produces 80–150 KB; at quality 75–80% typically produces 250–500 KB.
  • Resizing dimensions before compressing is often more effective than reducing quality — halving dimensions reduces size ~75%.
  • Common targets: under 100 KB for government forms (quality 55–65%), under 500 KB for website uploads (quality 75–80%).
  • PNG photos should be converted to JPEG to achieve small file size targets — PNG lossless compression has a floor.
  • MiniFiles processes all compression locally in the browser — no upload, no file size limits from server constraints.

Frequently asked questions

How do I compress an image to exactly 100 KB?

JPEG compression doesn't have a direct 'target file size' mode. Start at quality 60% and adjust up or down based on the output. For a typical 3 MP photo at 800×600 px, quality 55–65% usually produces 50–100 KB. Resize the image first if dimensions are larger than required.

What quality setting gives 200 KB output?

For a typical smartphone photo (12 MP), quality 65–70% at full resolution usually produces 200–300 KB. If you resize to 1200 px wide first, quality 75–80% typically produces 150–250 KB. Exact output depends on image complexity.

Can I compress a PNG to under 100 KB?

PNG is lossless, so compression has limits. If your PNG is a photo, convert it to JPEG (using quality 55–65%) to reach under 100 KB. If it's a graphic with flat colours and transparency, use PNG8 (indexed colour) compression. MiniFiles quantises PNGs to an indexed palette by default; converting to JPEG is a Pro feature.

Does resizing reduce file size more than compressing?

Often, yes. Halving the dimensions (e.g. from 4000 × 3000 to 2000 × 1500) reduces file size by approximately 75% — more than most quality reductions. Resize first, then adjust quality for fine-tuning.

Try it now — free

Compress PNG, JPEG, and PDF files in your browser. No upload, no installation.

Compress images