FILE SECURITY / FIELD GUIDE

How to Encrypt Files & PDFs on iPhone in 2026

How to encrypt PDFs, tax documents, ID scans, and private files on iPhone in 2026 using AES-256-GCM on-device encryption, and how to handle original copies safely.

Encrypting PDFs and sensitive files on iPhone with AES-256-GCM
THE QUICK ANSWER

The iOS Files app does not let you password-protect arbitrary folders or encrypt individual local files behind a separate password. To encrypt PDFs, documents, and sensitive files on your iPhone, import them into Octoshield’s File Vault, where every imported file, its thumbnail, and its filename entry in the catalog index are encrypted locally using AES-256-GCM in 512 KB chunks—then delete the unencrypted original from Files or Downloads.

Why the iOS Files app is not a private document vault

The built-in iOS Files app is a convenient file manager for everyday downloads and iCloud Drive folders, but it offers almost no privacy boundary once your iPhone is unlocked. You cannot right-click a folder in iCloud Drive or 'On My iPhone' and assign a password to it, and files stored in Downloads or iCloud Drive are indexed by Spotlight search and accessible to anyone holding your unlocked phone.

While iOS does allow you to add a basic open-password to an individual PDF using the native Print → Share trick, that still leaves the PDF’s filename visible in the Files app, only works on PDFs (not Word docs, spreadsheets, ZIP archives, audio recordings, or raw images), and syncs the file across iCloud Drive.

When you want to store tax returns, employment contracts, medical records, passport scans, or recovery documents on your iPhone behind a true cryptographic lock, you need a dedicated file vault that encrypts both the file contents and the filenames at rest.

Comparing ways to protect sensitive files and PDFs on iPhone
Protection CapabilityiOS Files App (Standard)iOS PDF Password LockOctoshield Encrypted File Vault
File types supportedAll files (unprotected UI)PDF documents onlyPDFs, images, videos, docs, and arbitrary files
Encrypts filenames & thumbnailsNo — visible in Files & SpotlightNo — filename stays visible in FilesYes — catalog index & thumbnails encrypted with AES-256-GCM
Separate password from iPhone passcodeNoPer-PDF password (manual each time)Single vault PIN, Passphrase, Pattern, or Safe Dial
Cloud sync exposureSyncs in iCloud Drive by defaultSyncs in iCloud Drive if saved thereStrictly local on iPhone; excluded from backups
Cryptographic algorithmStandard iOS filesystem protectionStandard PDF document encryptionAES-256-GCM (512 KB chunks) + HKDF-SHA256 + Keychain binding

How Octoshield encrypts your imported files on-device

Octoshield treats documents and files as first-class citizens alongside photos and videos. When you select one or more files from the iOS document picker, Octoshield streams each file in 512 KB chunks through an AES-256-GCM authenticated cipher. Each chunk receives its own authentication tag so any bit-level corruption or tampering is immediately detected.

Crucially, Octoshield does not leave a plaintext database of your document titles sitting in its app folder. A random 256-bit master key—unlocked by combining your PBKDF2-SHA256 stretched secret with a device-bound iPhone Keychain key—uses HKDF-SHA256 to derive independent keys for each file, its preview thumbnail, and the encrypted catalog index.

Whether you lock the vault with a long alphanumeric passphrase, a numeric PIN, a 3×3 pattern, or a safe-style combination dial, your filenames and file contents remain unreadable on disk whenever the vault is locked.

  1. Open Octoshield on your iPhone and unlock your vault (or complete first-time setup with a PIN, Passphrase, Pattern, or Safe Dial).
  2. Tap the Import (+) button and choose the File Importer option to open the native iOS document picker.
  3. Select one or multiple PDFs, scans, spreadsheets, or other files from 'On My iPhone', iCloud Drive, or connected storage providers.
  4. Wait for the chunked encryption import to complete, then tap an imported file inside the vault to verify that it previews cleanly.

Important: Importing a file does NOT delete the original in Files

Because iOS sandboxes third-party apps from silently erasing documents out of iCloud Drive or third-party cloud providers, importing a file through the iOS document picker always creates a new encrypted copy inside Octoshield while leaving the source file untouched in its original folder.

If you import a confidential tax PDF from your iCloud Drive Downloads folder into Octoshield and walk away, the unencrypted original is still sitting in iCloud Drive, still syncing to your Mac, and still showing up in Spotlight search.

Once you have verified that your document opens properly inside Octoshield, open the iOS Files app, delete the unencrypted original from its source folder, and then open Files → Browse → Recently Deleted to permanently remove it there as well. Also check Mail or Messages if the file originally arrived as an attachment.

How document previews, scratch files, and backup exclusions work

Transparency about how iOS renders documents is essential to real security. While Octoshield decrypts photos and streams videos directly in memory, certain complex document formats (such as multi-page PDFs or Office documents rendered by iOS system viewers) require a temporary decrypted scratch file inside the app’s local temporary directory while you are actively viewing the page.

Octoshield minimizes this exposure window by automatically wiping and unlinking all temporary preview scratch files the moment you close the document preview or lock the vault—and locks the vault automatically if you switch apps or lock your screen.

Finally, never use Octoshield as your sole copy of an irreplaceable document without a backup plan: because the vault is bound to your iPhone’s hardware Keychain and excluded from iCloud and computer backups, losing your phone or forgetting your vault secret means those files cannot be recovered. Keep a separate encrypted archive (such as an APFS Encrypted external drive) for critical legal or tax records.

Your private files. A safer space.

Download for free

Frequently asked questions

01Does importing a PDF from iCloud Drive encrypt the copy still in iCloud Drive?+

No. Octoshield imports and encrypts a separate local copy inside the app. The original file in iCloud Drive remains unencrypted until you manually delete it in the Files app and empty Files’ Recently Deleted folder.

02Can Octoshield encrypt an entire folder in place inside the Files app?+

No. iOS sandboxing does not allow third-party apps to encrypt Apple’s Files folders in place. Instead, you select multiple files in the picker and import them into Octoshield’s encrypted vault storage.

03Are the filenames of my PDFs hidden when the vault is locked?+

Yes. Octoshield encrypts its catalog index as well as the file contents and thumbnails, so document titles like `2026-Tax-Return.pdf` are never stored in plaintext on disk.

04What happens when I export or share a file out of Octoshield?+

Exporting decrypts a copy of the file and hands it to the destination you choose (such as Mail, AirDrop, or the Files app). Once exported, that external copy is no longer protected by Octoshield’s vault.

05How should I back up important PDFs if Octoshield is excluded from iCloud backups?+

Keep an independent backup of irreplaceable documents on an encrypted computer drive or encrypted archive you control, and always export your vault files before switching to a new iPhone.

Explore Octoshield file encryption Compare 14 photo vaults Free browser privacy tools

iOS menus can vary slightly by iOS version. Octoshield instructions describe the current local app implementation engineered by TengrX. Check the App Store listing for the version available to download.

THE OCTOSHIELD FIELD GUIDE

Keep exploring.

All guides
Octoshield’s green-eyed octopus mascot
YOUR NEXT SMALL RESET

A cleaner camera roll.
A more private iPhone.

Keep what matters. Protect what’s personal.

Download for freeFree to download · For iPhone