Compress a File to an Exact Size

Upload forms often reject a file by a few KB. Enter the size you need and the tool shrinks your picture or PDF to fit, or pads it to exactly that size.

Free • No signup • Your files never leave your device

1. Choose your file

2. Target size

1 KB = 1024 bytes. "Exactly" adds invisible padding when the file is already smaller than the target.

3. Download

Your smaller file will appear here.

Everything happens in your browser. Your file is not uploaded.

How to use it

  1. Choose a JPG, PNG, WebP or PDF.
  2. Pick the target size, and Under this size or Exactly this size.
  3. Click Make it this size and download the result.

Tips for the best result

  • For a Word or Excel file, save it as a PDF first, then compress the PDF.
  • PDF pages are saved as pictures to reach small sizes, so text can no longer be selected.
  • Pictures are shrunk by lowering quality first, and by reducing dimensions only if needed.
  • If a file is already under the limit, it is returned unchanged unless you choose Exactly.

Pick a common size

Frequently asked questions

Is my file uploaded?

No. Everything runs in your browser, so your file never leaves your device.

Can it compress a PDF to 100 KB?

Usually yes, for scans and photo PDFs. Pages become pictures, so the text can no longer be selected or searched. Very long PDFs (over 20 pages) are not supported yet.

What does Exactly this size mean?

The tool compresses to fit, then adds invisible padding so the file is exactly the size you entered. The content is unchanged.

Is 1 KB 1000 or 1024 bytes?

1024 bytes, the same as most computers and upload forms use.

Can it compress Word, Excel or ZIP files?

Not directly. Save Word and Excel files as PDF first. ZIP files cannot be shrunk this way.

More free tools