PDF Utilities

Compress or Resize PDF

Resize and compress PDF documents to a specific target file size. Reduce resolution dynamically to fit under a maximum KB limit, or add binary padding safely to hit an exact file size target. 100% private.

Select & Resize Options

Files stay in your browser. Nothing is uploaded to any server.

How It Works

Optimize PDF File Sizes Privately in Your Browser

Many government job portals, application websites, and admission tools restrict PDF uploads to specific file sizes (e.g. must be strictly under 100KB, or exactly 200KB). Compressing or resizing your document locally protects your file details from leaking to external servers.

Local Canvas Compression

If you choose "Under Size", the tool renders each page of your PDF to a canvas at an automatically selected scale (DPI) and JPEG quality. It then re-assembles the pages using pdf-lib. This creates a optimized copy of your PDF, drastically reducing size.

Safe PDF Padding

If you choose "Exact Size", the tool first compresses your PDF to slightly below the target size. It then reads the binary stream and appends padding bytes after the End-Of-File (%%EOF) marker. PDF readers read the document structure perfectly, but operating systems count the full padded bytes.

No Server Uploads

Everything runs client-side in your browser using JavaScript. No document content, text, or signatures are sent to external databases. Your privacy remains 100% protected, making it safe for ID cards and tax records.

Frequently Asked Questions

Are padded PDFs valid files?

Yes. The PDF specification states that PDF viewers must start parsing the file from the cross-reference table and ignore everything trailing the `%%EOF` marker. Appended padding bytes will not break the document validity.

Does compression affect text selection?

Yes. The canvas compression method converts PDF pages into image layers to achieve extreme file size reductions. This means vector text layers become flattened. If you need searchability, use "Low Compression" or keep your original file.

What is the maximum compression ratio?

Our tool can compress 10MB scanned documents down to less than 200KB. However, if a document contains dozens of pages, shrinking it to 50KB may degrade image details. Choose a larger target size for large documents.