Compress to a target size

Compress JPEG to 300KB

Compress JPEG files to 300KB or under. Set the size, and the encoder searches for the highest quality that fits. Runs entirely in your browser.

Drop images here

or · drop a folder · paste from clipboard

Your images never leave your device
KB or smaller
Advanced

Upload forms are the usual reason people need a specific file size. Job portals, exam registrations, government forms, and CMS uploaders all tend to reject anything over a fixed limit, and they rarely tell you how to get under it. This tool takes the limit as the input: you say 300KB, and it finds the highest quality that still fits.

Rather than making you guess at a quality slider and re-export repeatedly, the encoder runs a search — it encodes, measures the result, and narrows in on the best quality that stays under 300KB. It normally settles within four to six attempts, and the result is always at or below your limit, never over it.

Most photographs reach 300KB with their dimensions untouched. If your image is very large — a 12-megapixel phone photo, say — the tool may scale it down as well, since that produces a far better-looking result than compressing alone. The output dimensions are always displayed.

How to compress jpeg to 300kb

  1. Drop your JPEG files onto the box above.
  2. The target is already set to 300KB — change it if you need a different limit.
  3. Wait for the search to finish, then download the result.

Frequently asked questions

Are my images uploaded to a server?

No. The conversion runs inside your browser using WebAssembly, so the image data never leaves your device. That also means there is no queue, no account, and no file size cap imposed by a server.

Will the file be exactly 300KB?

It will be at or just under 300KB — never over. Compression cannot hit an exact byte count without padding the file, so the tool targets the largest size that still respects your limit. In practice results land within a few percent of the target.

Why did the dimensions change?

When a size limit cannot be met by compression alone, the tool reduces the resolution too. Below roughly 0.35 bits per pixel an image starts to look smeared, so past that point shedding resolution gives a visibly better result than pushing quality lower.

Can I convert several images at once?

Yes. Drop in as many files as you like — or a whole folder — and they are processed in parallel across your CPU cores. When they finish you can download them individually or grab everything as a single ZIP.

Related tools