PixKit
Free · 100% local · No sign-up

Compress images to an exact size

Shrink JPG, PNG and WebP to a target file size without uploading. PixKit finds the best quality that fits your KB budget and shows the result before you download.

Drop images to start editing

Add one or many — PNG, JPG & WebP. Or paste with /Ctrl + V

Browse all 36 tools
No upload — fully private Free & unlimited Works offline

How does the image compressor hit an exact file size?

You type a size in KB and PixKit binary-searches the JPG or WebP quality setting, re-encoding locally until it finds the highest quality that fits under your target. The estimated size is shown before you download, and nothing is uploaded — the entire search runs in your browser.

A private image toolkit, not just a watermark remover

Clean the Gemini sparkle, then finish the job — crop, resize, convert and adjust without uploading a single pixel.

Lossless watermark removal

Reverse-alpha math restores the true pixels under the Gemini logo — no blur, no AI guesswork.

Crop & resize

Crop to any aspect ratio with draggable handles, then resize to exact pixels or quick scales.

Convert & compress

Export to PNG, JPG or WebP with a quality slider and a live file-size estimate.

100% private

Every tool runs locally with undo/redo. Nothing is uploaded — it even works offline.

Compress an image to a KB target in 3 steps

Type a number, check the estimate, download.

Add your image

Drop, paste or pick an image — or a whole folder if you need to shrink a batch.

Set a target size

Open Export, choose JPG or WebP (PNG is lossless and can't target a size), and type your limit — for example 200 — into the "Compress to … KB" field.

Check and download

The estimated size updates live in the export footer. When it looks right, click Download — batches come out as a ZIP.

When an exact KB size matters

Upload forms with hard caps

Job portals, government sites and application forms often reject anything over 100–500 KB. Set the exact limit and pass validation the first time.

Email attachments

Keep a batch of photos under your provider's message cap instead of bouncing or auto-splitting emails.

Faster web pages

Squeeze hero images and thumbnails to a byte budget so pages load quickly and pass Core Web Vitals.

Messaging and forums

Meet avatar and attachment limits on Discord, Slack, forums and CMSs without trial-and-error exporting.

Archiving

Shrink a folder of full-size photos to a fraction of the space before backing them up or sharing them.

Frequently asked questions

Everything about compressing images with PixKit.

How do I compress an image to a specific size?+
Drop your image in, open Export, pick JPG or WebP, and type a target in the Compress to … KB field. PixKit finds the best quality that fits, shows the estimate, and you download.
How does the target-size compression work?+
It's a binary search over the encoder's quality setting: PixKit encodes, measures the bytes, and narrows the quality range up or down until it finds the sharpest version under your KB limit — all locally.
Which format compresses best?+
WebP usually gives the smallest size at a given quality, followed by JPG. PNG stays lossless and is best for graphics and transparency.
Why can't PNG hit a target KB size?+
PNG is a lossless format with no quality dial, so there's nothing to search over. Pick JPG or WebP to target a size — or keep PNG and use Resize to reduce dimensions instead.
Will it reduce quality?+
Compression trades some quality for size, but PixKit maximizes quality for your target. For lossless results, keep PNG and use Resize to cut dimensions instead.
Can I compress a whole folder to one size limit?+
Yes. Drop a folder, set one KB target in the export dialog, and every included image is compressed to fit it — then the whole set downloads as a ZIP (or a multi-page PDF).
Does the compressor run on my device or a server?+
Entirely on your device. Encoding, the size search and the preview all happen in your browser, so nothing is uploaded and it keeps working offline.

Free online image compressor

PixKit compresses images to a precise file size, free and fully in your browser. Enter a target in kilobytes and it binary-searches the optimal quality so your image is as sharp as possible while staying under the limit — ideal for email attachments, faster websites, and upload caps.

How the target-size search works

Image encoders take a quality setting, not a file size — so "compress to 200 KB" normally means guessing. PixKit removes the guesswork: it encodes your image at a mid quality, checks the byte size, then repeatedly halves the search range up or down until it lands on the highest quality that still fits under your target. Because encoding is local and fast, the whole search takes a moment even on large photos.

Smart, lossy-or-lossless

Choose WebP or JPG for the smallest sizes with a quality slider, or keep PNG for lossless graphics. PNG can't target a KB size — it has no quality dial — so for hard size limits pick JPG or WebP, and use Resize first if the dimensions are larger than you need. The live size estimate updates as you change settings.

Private, instant, and batch-ready

No PixKit media upload, account, or render queue. Compression happens locally, with per-image and session memory guards for large inputs. One KB target can apply to every accepted image at export, and the set downloads as a ZIP.

Image Compressor: local vs. cloud tools

PixKitTypical online tools
Where your image is processedOn your device — nothing is uploadedUploaded to the tool's servers
Price, accounts & limitsNo sign-up or usage credits; browser safety limits applyFree-tier caps, accounts, paywalls
Speed on large filesNo upload or queue; speed depends on the deviceUpload, wait in queue, download
Works offlineYes — installs as a PWANo connection, no tool
Size controlExact KB target via a quality binary searchFixed presets — the final size is a surprise
Before you downloadLive size estimate updates as you change settingsSize revealed only after processing
Whole foldersOne KB target applied to every image, exported as a ZIPBatch compression usually paywalled

Pairs well with

More free image tools

One private editor, a tool for every job — all 100% local, no upload.