How to Compress a File to an Exact Size in KB

To compress a file to a specific size, open Compress to an Exact Size, pick Compress PDF or Compress Image, and type the size you need, such as 137 KB. TypeorDrop lowers the quality only as far as needed to fit, and the result screen shows the new size before you download. It works for PDFs and images (JPG, PNG, WebP), not for Word, Excel or video files.

Why forms ask for an exact size

Upload forms for jobs, visas, exams and bank accounts often set a hard limit: "PDF under 200 KB", "photo between 20 and 50 KB". The form simply rejects anything bigger, so you need a file that is *under* the limit, and as sharp as the limit allows.

Presets help when your limit is 100 KB or 1 MB, but forms also ask for 87 KB or 3 MB. So TypeorDrop takes any number you type.

Presets or a custom size?

Both work the same way: the tool tries stronger settings step by step and stops at the first result that fits, so you keep as much quality as the target allows.

How to compress a file to an exact size

  1. Open Compress PDF or Compress Image, whichever matches your file.
  2. Choose your file. Free accounts can upload up to 25 MB per image and 50 MB per PDF.
  3. Under the size options, pick a preset or choose Custom and type your number.
  4. Click the compress button and wait for the result.
  5. Check the result screen: it shows the original size, the new size and whether your target was reached. Open the file and zoom in on small print before you send it.

Compress to your exact size →

What happens if the target is too small?

Sometimes a file cannot reach the size you ask for. TypeorDrop does not fail in that case, and it never makes the file bigger.

So a target that is too small costs you a "not reached" message, not a damaged or larger file. Then raise the target a little, or use the tips below.

Tips for PDFs

For real test results on a 100 KB target, see How to Compress a PDF to 100 KB. This post doesn't repeat them.

Tips for images

Troubleshooting

The result says the target was not reached. You got the smallest version possible. Try a larger target, or send fewer pages (PDF) or a smaller photo (image).

The file came back the same size. It was already small, already compressed, or mostly text. The tool never returns a bigger file than the one you uploaded.

"This PDF is password-protected." Open it with its password, save a copy without one, and upload that.

FAQ

Can I compress a file to exactly 100 KB?

You can set 100 KB as the target, and the result will be at or under it. The tool stops at the first setting that fits, so the file is usually a bit below the number, not exactly on it.

What if the form wants a size between two numbers, like 20 to 50 KB?

Set the larger number, 50 KB, as the target. The result is at or under it, and usually only a little below.

Will the quality drop?

A smaller file always loses some detail. TypeorDrop lowers it only as far as the size needs, so a 1 MB target keeps pictures sharp and a 50 KB target makes them softer.

Is it free?

Yes. You can run 2 jobs a day without an account and 10 a day with a free account. Pro removes the daily limit and ads and raises the upload size to 100 MB per file.

Are my files kept?

Uploaded files are deleted when the job is done, and results are kept for 7 days. If you are signed in, you can find the result again in History during that time.

Ready to try it? Open Compress to an Exact Size and type your number.