Compress PDF by Re-encoding Pages

Reduce image-heavy PDFs by rendering and JPEG re-encoding pages. Choose DPI and quality, then compare the actual output size.

Drop files here. Files stay on your device.

Actual page re-encoding

This creates a new PDF from JPEG renders of the selected pages. Lower DPI reduces pixel dimensions; lower quality reduces JPEG size at the cost of visible artifacts. It can help large scanned or image-heavy files. Text-only or already optimized PDFs may grow, so compare originalBytes and resultBytes in the result.

The output keeps the visible crop and orientation as page images, with page dimensions measured in points. It does not retain searchable/vector text, layers, links, forms, bookmarks or original signatures. This is a deliberate raster compression method; retain your original if those features matter.

Quality and limits

Limits: 100 MiB input, 50 selected pages, 20 million pixels per page, 100 million pixels total and 100 MiB of encoded output. Pages render sequentially and processing can be cancelled. If the result is larger, increasing compression is optional; the tool never claims a guaranteed percentage saving.

Local processing and file limits

A source PDF can contain up to 2,000 pages and be up to 100 MiB. Select at most 50 pages to render into the compressed copy. The source stays in your browser. Encrypted or damaged PDFs are rejected, and changing the source or settings clears the old result.

Questions & answers

Will text still be selectable after compression?

No. This mode saves page images. Use the original PDF for text selection or extraction; OCR is a separate task.

Are files uploaded to a server?

No. Files, input text and results stay in your browser. Required engines, fonts and support files load from this site.

Other Languages

Compress PDF by Re-encoding Pages — Base64.sh

Compress PDF by Re-encoding Pages

Reduce image-heavy PDFs by rendering and JPEG re-encoding pages. Choose DPI and quality, then compare the actual output size.

Share:

References

How we make sure

We check this tool with the automated test suites linked below. Example checks are shown in their original language.

Verification method
Inspect re-encoded PDFs, check size reduction for a noisy scan and explicitly verify removal of the original text layer.
Comparison reference
Actual scanned-PDF fixtures, file sizes and text-layer assertions.
Verification scope
Size reduction is not proof of losslessness or identical visual quality.
Test source and cases (select a file to read it)
  • document-tools.test.js
    • PDF rotate preserves all page boxes and modifies each selected page once
    • PDF organizer inserts, duplicates, removes and orders actual page contents across sources

These checks cover the listed examples and boundaries, not every possible input. Round trips and checks using the same library are not independent verification.