No description
- JavaScript 45.9%
- CSS 33.9%
- HTML 20.2%
| .gitignore | ||
| app.js | ||
| index.html | ||
| pdf.png | ||
| README.md | ||
| styles.css | ||
PDF Compressor - Offline
Compress image-based PDFs to exact target sizes. Runs 100% in your browser - no uploads, no tracking.
What It Does
- Compresses PDFs to specific file sizes (e.g., 200 KB, 500 KB)
- Works completely offline - files never leave your device
- Best for scanned documents and image-heavy PDFs
- Preserves original PDF metadata
How to Use
- Open
index.htmlin any modern browser - Drop your PDF file on the page (or click to browse)
- Choose a target size (150 KB, 200 KB, 500 KB, or custom)
- Click "Start Compression"
- Download your compressed PDF
Technical Stack
- PDF.js - PDF rendering (Apache 2.0)
- PDF-Lib - PDF creation (MIT)
- Pica - High-quality image resizing (MIT)
Privacy
All processing happens in your browser. No data is collected, uploaded, or stored anywhere.
Made by Nithin Ram Kalava