본문으로 건너뛰기

PDF 압축

PDF를 더 작게 만들어요. 더 크게 만드는 일은 없어요.

기기에서 처리됨

이 도구는 브라우저 안에서만 실행돼요. 파일은 절대 업로드되지 않으며, 브라우저의 네트워크 탭에서 직접 확인할 수 있어요. 직접 확인해 보세요. 브라우저의 네트워크 탭을 열어 두고 지켜보면, 남은 작업이 있는지 묻는 작은 요청 하나만 보여요. 도구 이름과 해시뿐이고, 파일은 절대 포함되지 않아요.

이 도구가 하는 일

Two different things make a PDF smaller, and this tool does both in turn. The structural pass repacks the file's objects and recompresses its streams, which is lossless and usually saves 10 to 25 per cent on a document nobody has optimised before. The image pass re-encodes the pictures at a lower resolution, which is where the large reductions on a scan come from, and it is lossy. Both results are measured against the original, and if neither won you get your own file back rather than a slightly bigger one labelled compressed.

The trigger is almost always a limit somewhere else: a mail server that bounces attachments over 25 MB, an application portal that stops at 2 MB, or a 40 MB scanned contract that has to reach someone on a phone connection.

작동 방식

  1. Drop the PDF onto this page. Files up to 300 MB are accepted.
  2. Pick a level. Light is structure only and changes nothing you can see; Balanced re-encodes images at 150 dpi; Strong drops to 100 dpi for getting a scan under an attachment limit.
  3. Choose Custom to set the numbers yourself - resolution between 72 and 300 dpi, quality between 30 and 95 per cent.
  4. Open advanced options if you also want the images turned grey, the metadata stripped, or a filled form flattened first. Each makes the file smaller.
  5. Press Compress. The result reports the size before and after, and how many pages were re-encoded.

The structural pass is qpdf rewriting the file with object streams, compressed cross-references and every flate stream recompressed at level 9. Nothing about the page content changes, so it always runs whatever level you picked. On a file that has already been through a good optimiser it saves nothing at all, which is a real outcome rather than a failure.

The image pass works by re-rendering. A browser cannot reach inside a PDF and re-encode the pictures in place, so every page is drawn at the resolution you chose and written back as a JPEG. That would normally cost you the text, so the text is read out with PDF.js first and drawn back over the images in an invisible layer, keeping words selectable and searchable. What this route cannot carry across is links, form fields and annotations - if you need those, use Light.

The rule this tool will not break is that it never hands back a bigger file. An already-optimised document, and one whose images are stored more efficiently than a fresh JPEG of the same page, both genuinely come out larger. When that happens the original bytes are returned untouched and the result says the file was already optimised, because a compressor that grows your file and reports success is worse than no compressor.

Knowing where the size sits will save you a disappointment. In a scan it is the images, so Strong can take 40 MB to under 5 MB. In a text report it is the embedded fonts and the structure, so 10 to 20 per cent is a good result and re-encoding its few images changes very little.

Everything runs on your device. qpdf and PDF.js are compiled to WebAssembly and run in Web Workers, so a 300 MB scan is processed without a byte being sent anywhere.

이 도구가 할 수 없는 일

  • Anything above Light re-encodes the images, which is lossy - fine print in a scan softens, and the loss cannot be undone from the output file.
  • A document that has already been optimised may not shrink at all. In that case the original is returned unchanged and the result says so.
  • When the image pass wins, the pages are rebuilt from pictures, so links, form fields and annotations are not carried over. The text layer is, invisibly.

자주 묻는 질문

파일이 얼마나 작아지나요?
안에 무엇이 들어 있는지에 따라 달라요. 스캔 문서는 이미지라서 균형 단계로 원래 크기의 4분의 1, 강함 단계로 10분의 1 아래까지 줄어드는 경우가 많아요. 텍스트 문서는 글꼴과 구조라서 무손실 처리로 10~25퍼센트 정도 줄고 그 이상은 얻을 게 별로 없어요. 결과에 두 수치가 함께 표시되니 더 강한 단계를 시도할지 판단할 수 있어요.
문서가 그대로 제대로 보이나요?
가벼움 단계에서는 파일 구조만 바뀌기 때문에 보기에 완전히 똑같아요. 균형 단계는 이미지를 150dpi로 다시 인코딩하는데, 화면에서는 아주 잘 읽히고 인쇄도 쓸 만해요. 강함 단계의 100dpi는 스캔본을 자세히 들여다보면 티가 나지만 읽기에는 문제없어요. 원본을 지우기 전에 결과물 한 페이지는 확인해 보세요.
파일이 전혀 작아지지 않은 이유는 뭔가요?
이미 최적화된 파일이기 때문이에요. 최신 프로그램에서 내보냈거나 압축기를 한 번 거친 파일은 더 묶어낼 것이 남아 있지 않아요. 이 도구는 조금 더 커진 파일에 성공 메시지를 붙여 돌려주는 대신, 원본을 그대로 주고 그 사실을 알려줘요.
압축하면 텍스트 검색이 안 되나요?
아니요. 이미지 처리가 실행될 때 페이지를 교체하기 전에 텍스트를 먼저 추출하고, 이미지 위에 보이지 않게 다시 그려요. 그래서 선택과 검색, 복사가 그대로 돼요. 이 경로에서 사라지는 것은 링크와 양식 필드, 주석이고, 그래서 가벼움 단계가 따로 있어요.
압축하려면 파일을 업로드해야 하나요?
아니요. 압축은 브라우저 안에서 이뤄지고, qpdf와 PDF.js가 웹 워커에서 WebAssembly로 실행돼요. 개발자 도구를 열어 네트워크 탭으로 바꾸고 무언가를 압축해 보세요. 나가는 요청이 하나도 없고, 페이지가 한 번 로드된 뒤에는 오프라인에서도 작동해요.
메일 용량 제한 아래로 내리려면 어느 단계를 써야 하나요?
균형 단계로 시작해서 표시된 용량을 보세요. 그래도 제한을 넘으면 강함 단계를 시도하고, 그것으로도 부족하면 고급 옵션에서 이미지 회색조 변환을 켜세요. 컬러 스캔본이라면 보통 3분의 1이 더 줄어요.

관련 도구