pdfcpu

Go 언어로 만든 명령어 도구, PDF 관련 프로젝트예요. 전 세계 개발자 8,895 명이 스타(좋아요)를 눌렀어요. 설치파일이 있어서 코딩을 몰라도 바로 쓸 수 있어요. 마지막 수정은 5일 전이에요.

✅ 코딩 몰라도 OK⭐ 8,895 명령어 도구PDF개발 라이브러리

원문 소개: PDF tooling for Go and the command line.

바로 쓰기

내 상황에 맞는 방법을 하나 고르세요.

① 설치파일 바로 받기 · v0.16.4, 2026.10.28

🪟 윈도우 내 기기 추천

pdfcpu_0.16.4_Windows_i386.zip · 6.5 MB받기
pdfcpu_0.16.4_Windows_x86_64.zip · 6.8 MB받기

🍎 맥 내 기기 추천

pdfcpu_0.16.4_Darwin_arm64.tar.xz · 5.2 MB받기
pdfcpu_0.16.4_Darwin_x86_64.tar.xz · 6.1 MB받기

🐧 리눅스 내 기기 추천

pdfcpu_0.16.4_Linux_arm64.tar.xz · 5.1 MB받기
pdfcpu_0.16.4_Linux_armv7.tar.xz · 5.4 MB받기
pdfcpu_0.16.4_Linux_i386.tar.xz · 5.7 MB받기
pdfcpu_0.16.4_Linux_x86_64.tar.xz · 6.1 MB받기

📦 기타 내 기기 추천

pdfcpu_0.16.4_Js_wasm.tar.xz · 6.7 MB받기

윈도우에서 "PC 보호" 창이 뜨면 '추가 정보 → 실행'을 누르세요. 출처가 이 공식 저장소인 파일만 받으세요.

브라우저에서 바로 열기 · 설치 없음

내 것으로 가져오기

git clone https://github.com/pdfcpu/pdfcpu.git

git clone: 개발자가 코드를 받는 명령어예요. 수정 내역까지 함께 받아져요.

한눈에 보기

인기⭐ 8,895 스타 · 🍴 644 포크
무료 여부Apache-2.0
무료이고 회사·상업용으로 써도 돼요. 출처(저작권 표시)만 남기면 돼요.
만든 언어Go
최신 버전v0.16.4 · 2026년 10월 28일
활동만든 날 2017.6.19 · 최근 수정 5일 전 · 열린 이슈(질문) 111개
공식 사이트pdfcpu.io/

설명서 (README)

만든 사람이 쓴 원문 설명서예요. 영어가 어렵다면 한국어로 번역해서 보기 →

pdfcpu: PDF tooling for Go and the command line

Test Coverage Status Go Reference License Sponsor

pdfcpu is a PDF processing library and command-line tool written in Go. It supports validation, optimization, encryption, signing, document assembly, content extraction, and other common PDF operations.

pdfcpu supports PDF versions through PDF 2.0 (ISO 32000-2). PDF 2.0 validation support is basic and continuously improving.

  Horst Rutter, the maintainer of pdfcpu, is a member of the PDF Association.


Installation

Command-line interface Go API
CLI Installation instructions API Installation instructions

Usage

CLI

Validate a PDF:

pdfcpu validate input.pdf

Merge two PDFs:

pdfcpu merge merged.pdf in1.pdf in2.pdf

Go API

See API documentation for usage examples.

Local images in create and form input

Local images in create, form fill, and JSON/CSV form multifill are confined to an allowed directory.
API callers must set conf.LocalImageRoot to enable them. The CLI defaults to its working directory and localImageRoot in config.yml selects another root.

See local image access for configuration examples, path restrictions, migration instructions and security limitations.


Features

  • Validate, optimize, split, trim, and merge PDFs
  • Extract and manipulate images, fonts, and metadata
  • Encrypt and decrypt PDFs
  • Resize and rotate pages
  • Add and remove stamps and watermarks
  • Validate signature integrity, report signature evidence, and remove signatures
  • Manage attachments and portfolios

Examples

Selected examples:

         

       

 


Commands

Complete list of supported commands:

annotations attachments booklet
bookmarks boxes certificates
change owner password change user password collect
config create crop
cut decrypt encrypt
extract fonts form
grid images import
info keywords merge
ndown nup optimize
pagelayout pagemode pages
permissions portfolio poster
properties resize rotate
signatures split stamp
trim validate viewerpref
watermark zoom

Motivation

pdfcpu aims to provide comprehensive PDF processing capabilities implemented in Go for both individual files and automated batch processing.

It focuses on correctness, robustness and independence from external dependencies.


Focus

  • comprehensive PDF processing functionality
  • minimal external dependencies
  • predictable and stable behavior

Documentation

CLI

  • Command help: pdfcpu [command] --help

Go API


Contributing

Contributions are welcome. See the contributing guidelines and the complete list of contributors.

Reporting PDF issues

For triage, we use Adobe Acrobat Reader and macOS Preview as practical compatibility references.
Reports are especially helpful when a PDF opens in either application but cannot be processed by pdfcpu, as these cases may reveal opportunities to improve validation or parser compatibility.
If neither application can open the PDF, it is unlikely that pdfcpu will be able to process it reliably.

Start by validating the file:

pdfcpu validate -vv <file.pdf>

Include the command, its verbose output, and a sample PDF with the report.
Please submit only files that you have permission to share and that contain no confidential information or personal data.


Security

Please do not report security vulnerabilities through public GitHub issues.
See the security policy for private reporting instructions.


Code of Conduct

This project is released with a Contributor Code of Conduct. By participating, you agree to abide by its terms.


Disclaimer

Use of pdfcpu assumes compliance with all applicable copyrights for any processed PDF content, including embedded resources such as fonts and images.

Gopher artwork by Renee French


License

Apache License 2.0


자주 묻는 질문

pdfcpu 무료로 쓸 수 있나요?

네, Apache-2.0 라이선스로 공개된 오픈소스예요. 무료이고 회사·상업용으로 써도 돼요. 출처(저작권 표시)만 남기면 돼요. 깃허브 저장소에서 누구나 내려받을 수 있어요.

pdfcpu 설치는 어떻게 하나요?

최신 버전 v0.16.4(2026년 10월 28일 공개)의 윈도우·맥·리눅스·기타용 설치파일을 이 페이지 '설치파일 바로 받기'에서 눌러 받으면 돼요. 받은 파일을 실행하면 설치가 시작돼요.

코딩을 몰라도 pdfcpu 쓸 수 있나요?

네, 바로 실행할 수 있는 설치파일(윈도우·맥·리눅스·기타)을 제공해서 코딩을 몰라도 쓸 수 있어요. 일반 프로그램처럼 내려받아 더블클릭하면 돼요.

pdfcpu 인기는 어느 정도인가요?

깃허브 스타 8,895개, 포크 644개를 받은 프로젝트예요. 2017년에 만들어졌고 마지막 수정은 5일 전이에요. 스타가 1만 개를 넘으면 전 세계적으로 검증된 인기 프로젝트로 봐요.

복사했어요