Skip to content
cosmodev ~/tools/pdf-compress

PDF 압축

Images & Media

브라우저에서 PDF 파일 크기를 줄여 보세요 — 무손실 최적화와 함께 내장 이미지를 위한 JPEG 품질 슬라이더를 제공합니다. 아무것도 업로드되지 않습니다.

This tool's interactive UI hasn't been wired up yet.

(문서는 영어)

What it does

Shrinks a PDF in two passes, entirely in your browser. A lossless pass always runs (object-stream serialization plus a metadata strip). When you lower the quality slider below 1.00, embedded JPEG images are decoded and re-encoded at that quality — the usual win for photo-heavy files. Nothing uploads.

How to use

  1. Drop a PDF onto the drop zone. Its page count and size show on the file row.
  2. Pick an image quality between 0.60 and 1.00. 1.00 runs the lossless pass only.
  3. Press Compress. The summary shows total before/after and a per-image accounting.
  4. Press Download compressed PDF to save the result.

Examples

  • A 12 MB scanned brochure at quality 0.80 — each scanned page is one large JPEG, so the slider dominates: typically a large reduction.
  • An exported report that is all text and vectors: the lossless pass re-serializes it; the size moves a little or not at all.
  • A PDF whose images are PNG-style (FlateDecode): they are listed as “kept — not a JPEG image” and stay byte-for-byte.

Good to know

  • Text, vectors, and fonts are never re-encoded — the slider affects embedded JPEG images only, at their original pixel dimensions.
  • Images that would grow (or barely change) are kept as-is and listed as such; a corrupt embedded image is skipped, never fatal.
  • Already-optimized PDFs may not shrink; the tool says so honestly instead of pretending.
  • Password-protected PDFs need unlocking first — you will see a clear error.
소스 코드14개 언어

100% 클라이언트 측 · 데이터는 브라우저 밖으로 나가지 않습니다. 도움이 되었나요? 팀원에게 공유해 보세요.