Repair & Security

How to Check PDF Security & Permissions Offline (2026)

๐Ÿ“… 2026-05-06 โฑ 7 min read ๐Ÿ“ท 3 screenshots
How to Check PDF Security & Permissions Offline (2026)

Before sharing or processing a PDF, it’s important to know its security status. Is it encrypted? Can recipients print or copy the content? What encryption level is used? Checking PDF security offline is fast and keeps your files private.

What to Check in PDF Security

A complete PDF security audit covers:

  • Encryption type and key length โ€” 40-bit RC4, 128-bit AES, 256-bit AES
  • Open password โ€” is a password required to view the file?
  • Permissions password โ€” what restrictions are in place?
  • Permission details โ€” printing, copying, editing, commenting, form filling
  • Metadata โ€” author, creation date, modification date, software used
  • JavaScript โ€” does the PDF contain scripts?
  • Embedded files โ€” are there hidden attachments?
  • Digital signatures โ€” is the document signed and are signatures valid?

Top 5 Free Offline PDF Security Checkers

ToolPlatformsEncryption InfoPermissionsMetadataFree Tier
PDFgearWin / MacYesYesYesUnlimited
qpdf --show-encryptionWin / Mac / LinuxYesYesPartialUnlimited (open source)
PDF24 CreatorWindowsYesYesYesUnlimited
exiftoolWin / Mac / LinuxPartialPartialYesUnlimited (open source)
pdfinfo (Xpdf)Win / Mac / LinuxYesYesYesUnlimited (open source)

PDF security check

Method 1: PDFgear โ€” Visual Security Inspector

PDFgear provides the most user-friendly way to check PDF security through its Properties dialog.

How to check:

  1. Open the PDF in PDFgear
  2. Go to File โ†’ Properties โ†’ Security tab
  3. Review the security information:
    • Security method (None, Password, Certificate)
    • Encryption level (40-bit, 128-bit, 256-bit)
    • Permissions (printing, copying, editing, etc.)
    • Whether the document has a permissions password set

For password removal after checking, see our Best Offline PDF Password Remover guide.

Method 2: qpdf โ€” Command-Line Security Audit

qpdf provides detailed encryption and permission information from the command line.

Check encryption:

qpdf --show-encryption input.pdf

Output example:

R = 6
User password = (not set)
Owner password = (set)
Permissions:
  Print: allowed
  Modify: not allowed
  Extract: not allowed
  Annotate: allowed
  Fill forms: allowed
  Accessibility: allowed
  Assemble: not allowed
  Print high-res: allowed
Encryption: AES-256

Check linearization and structure:

qpdf --check input.pdf

This reports any structural issues, encryption details, and whether the PDF is linearized (optimized for web viewing).

Method 3: pdfinfo โ€” Fast Metadata and Security Check

pdfinfo (part of the Xpdf toolkit) provides a quick summary of PDF properties including security.

Usage:

pdfinfo input.pdf

Output includes:

Title:          Quarterly Report Q1 2026
Author:         Finance Department
Creator:        Microsoft Word
Producer:       PDFgear
CreationDate:   2026-01-15
ModDate:        2026-03-20
Tagged:         yes
Pages:          42
Encrypted:      yes (print:yes copy:no change:no addNotes:yes)
Page size:      612 x 792 pts (US Letter)
File size:      2,450,621 bytes
PDF version:    1.7

The “Encrypted” line tells you exactly what permissions are set.

Method 4: exiftool โ€” Comprehensive Metadata Analysis

exiftool extracts every piece of metadata from a PDF, including security information that other tools miss.

Usage:

exiftool input.pdf

Useful metadata includes:

  • Author, creator, producer software
  • Creation and modification timestamps
  • PDF version
  • Page count and dimensions
  • Encryption status
  • Embedded fonts and images count
  • XMP metadata (rights management, workflow info)

exiftool is particularly useful for forensic analysis โ€” it can reveal editing history, software versions, and sometimes the original author even if metadata was partially scrubbed.

Common Security Issues to Watch For

1. Weak Encryption

PDFs encrypted with 40-bit RC4 can be cracked in seconds. If you find weak encryption, re-encrypt with 256-bit AES using PDFgear.

2. No Open Password with Restrictions

If a PDF has a permissions password but no open password, the restrictions can be removed by anyone using qpdf. This is a common configuration mistake.

3. Hidden JavaScript

PDFs can contain JavaScript that executes when the file is opened. This is a potential security risk. Check for scripts and disable JavaScript in your PDF reader.

4. Embedded Files

PDFs can contain hidden file attachments. These might be legitimate (embedded fonts, supporting documents) or could contain malware. Check for unexpected embedded files.

For redacting sensitive metadata, see our Best Offline PDF Redaction Software guide.

Frequently Asked Questions

How do I know if a PDF is encrypted?

Open it in PDFgear and check File โ†’ Properties โ†’ Security. If “Security Method” shows anything other than “No Security,” the PDF is encrypted. You can also use qpdf --show-encryption or pdfinfo from the command line.

Can I see PDF permissions without the password?

Yes. Permission settings are stored in the PDF’s encryption dictionary and can be read without the owner password. Use qpdf --show-encryption or PDFgear’s Properties dialog.

What does “Encrypted: yes (print:yes copy:no)” mean?

The PDF has a permissions password. Anyone can open and print it, but copying text and images is restricted. The restrictions can be removed with tools like qpdf.

Is it safe to open a PDF with unknown security settings?

Exercise caution. Use PDFgear in sandboxed mode, disable JavaScript in your PDF reader, and scan the file with antivirus software. PDFs can contain malicious JavaScript, embedded files, and exploit payloads.

How do I remove all security from a PDF?

Use PDFgear’s “Remove Security” feature or qpdf’s --decrypt flag. See our Best Offline PDF Password Remover guide for step-by-step instructions.

Can I check PDF security on Mac without installing software?

Preview shows basic security info (File โ†’ Get Info). For detailed security auditing, install PDFgear (free) or use the command-line tools qpdf and exiftool via Homebrew.