SafePDF

SafePDF is a privacy-focused offline tool for PDF manipulation. Merge, compress, split, and organize your PDF files securely: No internet required, your documents stay local and safe.

Banner

Key features

🔒 Offline / local processing
🔐 Privacy-focused: no data leaks
🔓 Open Source
🗜️ PDF compression with quality presets
✂️ Split / extract pages
🧩 Merge PDFs
🖼️ PDF → JPG conversion
🔄 PDF → TXT conversion
🔄 PDF → DOCX conversion
🔁 Rotate pages
🔧 Repair corrupted PDFs
🛠️ PDF metadata editing

Screenshots

Main Window Operations Window

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.jpg, page_002.jpg, ...

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.