SafePDF — Privacy‑First PDF Toolkit

Merge, compress, split, convert and repair PDFs locally — no internet required. Your documents stay on your device.

SafePDF application banner showcasing privacy-focused PDF operations interface

Key features

🔒

Offline Processing

All operations run locally — your files never leave your device.

🔐

Privacy‑Focused

Minimal telemetry and clear consent controls for optional cookies.

🔓

Open Source

Source code available on GitHub under GPL‑3.0.

🗜️

Smart Compression

Multiple quality presets and image controls to balance size and quality.

✂️

Split & Extract

Split by page, ranges, or export single pages quickly.

🧩

Merge PDFs

Combine multiple PDFs, reorder pages before exporting.

🖼️

Export Images

Export pages as high‑quality AVIF/JPG images for previews and processing.

🔄

Text Conversion

Convert PDFs to searchable text or DOCX for editing.

🔁

Rotate Pages

Rotate single pages or whole documents non‑destructively.

🔧

Repair PDFs

Attempt recovery of corrupted files and salvage readable pages.

🛠️

Metadata Editing

Edit title, author, and other PDF metadata quickly.

⚙️

CLI & Automation

Automate tasks with CLI examples for batch processing.

Screenshots

SafePDF main application window showing PDF operation options SafePDF operations interface displaying file selection and processing controls

Operations

PDF Compression

Reduce PDF file size using selectable quality presets. Suitable for email and storage.

  • Presets: Low / Medium / High
  • Adjust images DPI and JPEG quality
  • Output: new compressed PDF

CLI-style example: python pdf_operations.py compress --input file.pdf --quality medium

Split / Separate

Split a PDF into single pages or custom page ranges (e.g. "1-3,5,7-9").

  • Modes: Per-page, Range
  • Output: separate PDF files named by page or range

UI: select page ranges or "split all pages".

Merge PDFs

Combine multiple PDF files into a single document. (Merge UI available in-app.)

  • Drag & drop multiple files
  • Reorder pages/files before merging

CLI-style example: python pdf_operations.py merge out.pdf in1.pdf in2.pdf

PDF → JPG

Export each PDF page as a high-quality JPG image. Good for previewing or image processing.

  • Configurable DPI (default 200)
  • Per-page JPEG quality setting
  • Output: folder with page_001.avif, page_002.avif, ...

Uses PyMuPDF/Pillow for reliable rendering.

Rotate Pages

Rotate all or selected pages by 90°, 180° or 270° clockwise.

  • Apply to single page, page range, or whole document
  • Save as new PDF (non-destructive)

Example: choose rotation angle and target pages, then run.

Repair Corrupted PDFs

Attempt recovery of damaged PDFs using relaxed parsing and page-by-page salvage.

  • Best-effort recovery — some content may be lost
  • Outputs recovered pages as a new PDF

If a file is partially readable, the tool extracts readable pages into a new file.