PDFFlare

Compress Image to Specific Size in KB — Free & Browser-Based

Compress image to specific size (KB) — JPG, PNG, WebP, or HEIC. Iterative quality search + auto-downscale to hit your exact target. Free, browser-only.

Compress an image to a specific size in KB — for government forms that demand “max 100 KB,” for job-portal uploads with a 200 KB ceiling, for ATS systems that silently reject anything bigger. PDFFlare's tool runs entirely in your browser: it tunes JPEG/WebP quality (and auto-downscales dimensions if needed) until your photo lands at or under the target. No upload, no watermark, no signup.

Most online compressors give you a single quality slider and leave the size guessing to you. That doesn't work when a form requires a specific limit — you upload, get rejected, try a different slider position, repeat. PDFFlare does the search for you. Type 50, 100, or 200 KB and the encoder iterates until the file fits, returning the highest possible quality that satisfies your constraint.

Need a different image task? Use Resize Image for explicit pixel dimensions, or Convert Image to switch between formats without targeting a specific size.

Drop your image here

JPG, PNG, WebP, or HEIC up to 50 MB

How to Compress Image to KB

  1. Upload your image

    Drop a JPG, PNG, WebP, or HEIC file (iPhone photos) into the upload box. The image stays in your browser — nothing is uploaded to a server.

  2. Pick the target size in KB

    Type the size you need (e.g., 50, 100, 200) or click a preset chip. Government forms, job portals, and ATS uploads often specify an exact ceiling.

  3. Click compress and download

    PDFFlare binary-searches the JPEG/WebP quality to hit your target. If the smallest quality is still too big, dimensions are auto-reduced. You get the smallest possible file that meets the limit.

When Do You Need to Compress an Image to a Specific Size?

Government forms and visa applications: Passport, visa, driving licence, and tax-form portals almost always have a strict KB ceiling — “photo must be under 100 KB.” Anything bigger is silently rejected.

Job portals and ATS uploads: LinkedIn easy-apply, government job sites, and corporate ATS systems often cap profile photos and document scans at 200–500 KB. Compress once, upload everywhere.

Email attachments: Email providers cap message size (Gmail at 25 MB, Outlook at 20 MB). When you're sending a folder of photos, compress each to 500 KB and you'll fit 40+ in one email without bouncing.

Web performance and SEO: A 3 MB hero image kills your Largest Contentful Paint. Target 100–200 KB for hero photos, 50 KB or less for thumbnails — your Lighthouse score will thank you.

Why Use PDFFlare to Compress to a Specific Size?

Target-Aware Quality Search

Binary-search on the JPEG/WebP quality slider so you get the highest possible quality that still fits your target — no manual trial and error.

Auto Downscale Fallback

If even quality 10% is too big, dimensions are reduced progressively until the file fits. Aggressive targets still produce a usable image.

JPG, PNG, WebP, and HEIC In

iPhone HEIC photos are auto-decoded. PNG transparency gets a clean white background on JPEG output.

100% Browser-Based

No upload. Your photo never leaves your device — safe for ID photos, passport scans, and other sensitive files.

Frequently Asked Questions About Compress Image to KB