Skip to main content

Compress a string to under 100KB (the toughest size target)

100KB is what most government portals demand. This Base64 Encoder / Decoder guide explains how to actually hit it without making the file unusable.

It happens more often than you'd think: a string that needs to be under 100KB.

100KB is about a one-page Word document or a phone snapshot at low resolution. It's tighter than the average phone snapshot and a long way from a raw scanner output. Getting there cleanly is doable, but the defaults most software ships with are tuned for archival quality, not for hitting a hard upload limit.

Open the tool: Base64 Encoder / Decoder — Browser-only. Nothing is sent to a server.

What 100KB actually looks like

For context — 100KB of a string is roughly about a one-page Word document or a phone snapshot at low resolution. If the original string is dramatically larger, expect a visible quality drop. If it's only marginally over, you'll hit 100KB without compromising the look.

How to hit the 100KB target with Base64 Encoder / Decoder

  1. Open Base64 Encoder / Decoder. No install, no signup.
  2. Drop the string on the upload area. Base64 Encoder / Decoder reads it locally — the file never goes to a server.
  3. Choose the most aggressive preset available. For tight size targets, you want maximum compression. The middle setting won't get you to 100KB on the first pass.
  4. Check the output size badge. Base64 Encoder / Decoder shows the result size next to the download button. If it's still above 100KB, run it through a second time with the aggressive preset.
  5. If you need exactly 100KB, accept slightly more aggressive compression than feels comfortable. Most viewers will not notice; the upload portal will.

When the first pass isn't enough

Some strings fight back. Three reliable second-pass tricks:

  • Downsize first, then compress. If the string has more resolution than the final use needs, reduce dimensions before re-encoding. Half the pixels = a third the file size, with no visible loss for screen viewing.
  • Strip embedded metadata. EXIF, color profiles, thumbnails, and history layers can add 10–30% to the size with zero visual impact. Base64 Encoder / Decoder strips them automatically on aggressive presets.
  • Convert format on the way down. If the string is in a lossless format, switching to a lossy one (where appropriate) often beats any in-format compression. Base64 Encoder / Decoder suggests the right output format based on what you're optimising for.

Use the tool

Base64 Encoder / Decoder →

Free, no account required, no watermark.

Why 100KB is such a common target

It's not a coincidence. Most upload forms — government portals, university applications, job-board file uploads — settled on 100KB or thereabouts because it's the largest size that still loads quickly on mobile networks worldwide. Knowing how to hit 100KB reliably solves about 60% of all "my file is too big" situations.

Frequently asked questions

Will Base64 Encoder / Decoder change the file extension?

Only if you ask it to. By default it keeps the original extension and only changes the bytes inside. The output drops in cleanly anywhere the original would have.

Will compressing to 100KB look bad?

It depends on the source. A string that started at 100MB of natural content will look fine. One that started at 50× the target will show visible compression artifacts.

Does Base64 Encoder / Decoder support batches?

Yes — drop multiple strings at once and they all hit the 100KB target. Useful when a portal asks for multiple documents within the same per-file cap.

Why can't I just zip it?

Modern strings are already compressed internally. Zipping rarely saves more than 1–2% on a string. The fix is changing the encoding inside the file, which is what Base64 Encoder / Decoder does.

Related guides


Ready to try it?

Run it in your browser: Base64 Encoder / Decoder. Free, no account required, no watermark.


Last reviewed May 2026. File-size limits, portal requirements, and software defaults change over time — always verify with the destination platform before uploading time-sensitive documents. References to third-party services and products are for descriptive purposes only and do not imply any partnership or endorsement.