Skip to main content
TOP free online tools Your Workbench
English

Compress PDF —Selective DPI & Asset Optimization

Free online compress pdf —selective dpi & asset optimization. Process data instantly in your browser. No upload, no signup, fully private.

Local browser processing — zero server uploads
Drop PDF file here or click to browse100% local browser optimization — your PDF is never uploaded

Strips metadata and repacks compressed object streams while keeping forms editable.

How to Use

  1. Paste or type your text into the Compress PDF —Selective DPI & Asset Optimization input area above.
  2. Configure any format or mode options to generate the result in real time.
  3. Click Copy to copy the formatted result to your clipboard, or Reset to clear the workbench.

What is Compress PDF —Selective DPI & Asset Optimization?

Compress PDF — Selective DPI & Asset Optimization is a client-side PDF optimizer built on pdf-lib that shrinks and cleans PDFs directly in your browser by rebuilding the object graph, compressing PDF 1.5+ object streams, stripping document metadata, and optionally flattening AcroForm fields. Users handling confidential contracts, resumes, or forms can trim file bloat without uploading PDFs to remote compression servers.

How It Works

After dropping or selecting a PDF, loadPdfFromBlob() verifies the "%PDF" header magic bytes locally and counts pages. Choosing one of three optimization profiles—72 DPI Screen/Maximum Trim, 150 DPI eBook/Balanced, or 300 DPI Lossless Cleanup—or toggling individual checkboxes creates a fresh PDFDocument via copyPages(), drops orphaned objects/incremental edits, optionally clears metadata and flattens forms, and saves with useObjectStreams.

Common Use Cases

  • Metadata privacy sanitization — strip PDF Title, Author, Creator, and Producer tags locally before sharing external documents
  • Incremental-save cleanup — rebuild bloated PDFs edited repeatedly in desktop viewers to drop orphaned revision objects
  • Form flattening & archival — flatten fillable AcroForm fields under the 72 DPI / Maximum Trim profile before submission
  • Zero-upload file trimming — inspect exact before/after byte savings and download the cleaned PDF offline
Technical Details

Powered by pdf-lib (PDFDocument.create + copyPages + save({ useObjectStreams })). Presets toggle stripMetadata, useObjectStreams, and flattenForms. Note: optimizes PDF object structure/streams/metadata/forms without lossy image re-rasterization; password-encrypted PDFs are rejected.

FAQ

Is this Compress PDF —Selective DPI & Asset Optimization free?

Yes, completely free. No signup required.

Does this tool upload my data?

No. All processing happens locally in your browser. Your data never leaves your device.