Utility Tools logo

UtilityBox – Free Online Utility Tools

Smart tools for daily tasks — no sign-up needed

File Size Reducer

Compress images and PDFs to a target size in KB or MB.

File Size Reducer — Compress Image & PDF to a Target Size in KB or MB

UtilityBox File Size Reducer shrinks a JPG, PNG or WEBP image — or a PDF — to the size you choose. Type any target in KB or MB, or tap a preset chip (50 KB, 100 KB, 200 KB, 500 KB, 1 MB), and click Reduce Size. For images the tool searches for the highest JPEG quality that fits and only reduces the dimensions when quality alone isn't enough, so the result lands as close under your limit as possible. PDFs are rebuilt page by page as compressed images. If a target can't be reached, you get the smallest version possible and a note saying so. It's ideal for exam and job portals, government forms and email attachments with strict size limits. Everything runs in your browser — no upload, no sign-up and no watermark.

How to Reduce File Size

  1. Drag a file onto the drop zone, or click Browse Files to choose one JPG, PNG or WEBP image or a PDF.
  2. Type a target size and pick KB or MB, or tap a preset chip: 50 KB, 100 KB, 200 KB, 500 KB or 1 MB.
  3. Click Reduce Size. The tool adjusts JPEG quality and, only if needed, the dimensions to land just under your target.
  4. Check the result: original and reduced sizes, the percentage saved and, for images, a preview.
  5. Click Download File to save it, or Reduce another to start again.

Key Features

  • Exact target size — type any value in KB or MB, or use the 50 KB, 100 KB, 200 KB, 500 KB and 1 MB preset chips.
  • Quality-first image compression — a binary search over JPEG quality, with downscaling only when quality alone can't reach the target.
  • PNG and WEBP input — re-encoded as JPEG for a smaller file (transparent areas become white).
  • PDF compression — pages are rendered with PDF.js and rebuilt as a JPEG-based PDF with jsPDF.
  • Honest results — files already under the target are returned unchanged, and if a target is too small you get the smallest possible version with a clear message.
  • Before/after view — Original and Reduced size bars plus a “% smaller” ring.
  • 100% browser-local — your file is never uploaded; no account, no watermark.

Common Use Cases

  • Government and exam portals: Many official forms cap uploads — a photo under 50 KB or a scanned certificate under 200 KB, for example. Set that exact target and download a file that fits, instead of guessing in an image editor.
  • Email and messaging attachments: Phone photos are often several megabytes. Reduce one to 500 KB or 1 MB so it attaches and sends quickly while still looking good.
  • Website and blog images: Smaller images load faster. Compress product photos, thumbnails or hero images to a size budget without installing image-editing software.
  • Scanned PDF documents: Scans saved as PDF can be large. The PDF compressor re-saves each page as a compressed image so the file fits HR, bank or loan-application upload limits.

Frequently Asked Questions

Is this file size reducer free to use?

Yes. It is completely free with no sign-up, no watermark and no daily quota. Compress one file at a time, as many times as you like, directly in your browser without installing any software.

How do I compress an image to 50 KB?

Add your image, tap the 50 KB preset (or type 50 and choose KB), then click Reduce Size. The tool binary-searches JPEG quality and shrinks the dimensions only if needed, keeping the largest result that still fits. When the target can be reached, the output lands at or just under 50 KB.

Can I reduce a file to 20 KB or another custom size?

Yes. Type any number in the target box and choose KB or MB — for example 20 KB. Very small targets force lower JPEG quality and smaller dimensions, so the result can look soft; use the largest size your form or site accepts.

How do I reduce image file size without losing quality?

Choose the largest target your form or site allows. The compressor uses the highest JPEG quality that fits under your limit and only downscales when quality alone isn't enough, so a generous target keeps more detail. If an image already fits at full quality and full resolution, the tool tells you.

Are my files uploaded to a server when I compress them?

No. Everything runs in your browser using the HTML5 Canvas API for images and PDF.js plus jsPDF for PDF files. Your file never leaves your device, so your photos and documents stay private.

Which file formats are supported?

JPG (JPEG), PNG and WEBP images, plus PDF documents. Reduced images are saved as JPEG regardless of the input format, so transparent areas in a PNG or WEBP become white. GIF, TIFF, HEIC, Word and ZIP files are not supported.

How does the PDF compressor work?

Each page is rendered to an image with PDF.js and saved as JPEG inside a new PDF built with jsPDF; the tool tries lower resolutions and JPEG qualities until the file fits your target. Because pages become images, text in the output can't be selected or searched — keep your original if you need that. Scanned and image-heavy PDFs shrink well; small text-only PDFs may not get smaller.

What happens if my target size is smaller than what is achievable?

If the file can't reach your target even at the lowest quality and smallest size the tool tries, you still get the smallest version it produced, with a note that the target was too small for this file. Raise the target a little and try again.

Can I use this tool on mobile?

Yes. It works in modern phone and tablet browsers such as Chrome on Android and Safari on iOS, with no app to install. Tap Browse Files to pick a photo, set a target size, tap Reduce Size and then Download File.