Compress PDF

FREE

Reduce PDF file size while maintaining quality. Choose your compression level.

Upload File
File & Options
Compressing PDF...
Original
Compressed
Savings
Ready to download
Download
Error:

3 Compression Levels
Choose between low, medium, and high compression
Quality Preserved
Smart compression that balances size and quality
Secure
Files auto-deleted after processing
Fast
Most files processed in seconds
Size Report
See before/after size and savings percentage
REST API
Automate PDF compression via API
curl -X POST https://www.bastiantechnologies.com/api/pdf/compress \
  -H "X-API-Key: your_api_key" \
  -F "pdf=@document.pdf" \
  -F "level=medium"
# level: low | medium | high
const fd = new FormData();
fd.append('pdf', file);
fd.append('level', 'medium');
const r = await fetch('/api/pdf/compress', {
  method: 'POST',
  headers: { 'X-API-Key': 'your_api_key' },
  body: fd
}).then(r => r.json());
import requests
r = requests.post("https://www.bastiantechnologies.com/api/pdf/compress",
  headers={"X-API-Key": "your_api_key"},
  files={"pdf": open("doc.pdf", "rb")},
  data={"level": "medium"})
Method: POST
URL: https://www.bastiantechnologies.com/api/pdf/compress
Body Type: Form-Data
Fields: pdf (binary), level (low|medium|high)
Results vary by file content. Image-heavy PDFs typically see 40-80% reduction. Text-only PDFs may see 10-30%. High compression offers the most reduction at some quality cost.
Yes. Text compression is lossless — only image quality may be reduced at high levels. Use "Low" if you need to preserve high-resolution images.
50MB per file for browser use. For larger files, use the REST API with an API key which supports files up to 200MB.