How to Remove PDF Metadata for Free: Privacy Guide 2026

Learn how to remove hidden metadata from PDF files for free. Discover what personal info your PDFs contain and how to strip it using ExifTool, PDF24, and online tools.

By PeacefulPDF Team

Every PDF you create carries hidden information about you. Your name, the software you used, creation dates, modification history, and sometimes even your computer name are embedded in the file. Most people never realize this data exists, but it is there in every document. If you share PDFs publicly, submit them to organizations, or send them to people you do not know well, that metadata could reveal more than you intend. This guide shows you exactly what is hiding in your PDFs and how to remove it all for free.

What Metadata Do PDFs Contain?

PDF metadata falls into several categories. Here is what might be lurking in your documents:

Document Information Dictionary

This is the standard metadata that most PDF tools can display:

  • Title: The document title, which may differ from the filename
  • Author: Often set automatically from your operating system username or software account name
  • Subject and Keywords: Description tags added during creation
  • Creator: The application that originally created the document (e.g., Microsoft Word, Google Docs)
  • Producer: The software that generated the PDF (e.g., Adobe PDF Library, Chrome PDF Writer)
  • Creation date: Exact timestamp of when the PDF was first created
  • Modification date: Timestamp of the last edit

Extended Metadata (XMP)

Many modern PDFs also include XMP (Extensible Metadata Platform) data, which can contain:

  • Author contact information
  • Editing history and revision details
  • Color profiles and print settings
  • Rights management information
  • Custom organizational metadata

Hidden Content

Beyond formal metadata, PDFs can contain other hidden information:

  • Comments and annotations: Reviewer notes that were hidden but not deleted
  • Tracked changes: Edit history from the original document
  • Hidden layers: Content on layers that are not visible by default
  • Deleted content: Text or images that were removed but remain in the file structure
  • Embedded files: Attachments or embedded documents you may not be aware of
  • Bookmarks: Internal navigation markers that may reveal document structure

Why You Should Remove PDF Metadata

Metadata poses real privacy and security risks in several situations:

  • Job applications: Your resume PDF might reveal it was created by someone else or modified multiple times, raising questions.
  • Legal documents: Metadata can show when a document was actually created versus when it claims to have been created.
  • Business negotiations: Document history might reveal your editing process, internal comments, or collaboration details.
  • Published content: Blog posts, white papers, and public documents carry your software details and potentially your real name.
  • Whistleblowing or anonymous submissions: Metadata is the easiest way to identify an anonymous author.
  • FOIA requests: Government documents released under FOIA often still contain metadata about the original authors.

How to View PDF Metadata First

Before removing metadata, it is useful to see what is actually there. Here are quick ways to check:

  • Adobe Acrobat Reader: Open the PDF, go to File then Properties (or press Ctrl+D). The Description tab shows standard metadata.
  • Mac Preview: Open the PDF, press Command+I to see document info.
  • Online metadata viewers: Tools like metadata2go.com let you upload a PDF and see all its metadata without installing anything.
  • ExifTool: The command-line tool that shows every piece of metadata in the file, including XMP data that other tools miss.

Method 1: Remove PDF Metadata with ExifTool (Most Thorough)

ExifTool by Phil Harvey is the most powerful free metadata removal tool available. It strips all metadata categories including XMP, document info, and custom fields.

Installing ExifTool

  • Windows: Download the Windows executable from the ExifTool website. Rename it to exiftool.exe and place it in your PATH.
  • Mac: Install via Homebrew: brew install exiftool
  • Linux: Install via package manager: sudo apt install libimage-exiftool-perl (Debian/Ubuntu) or sudo dnf install perl-Image-ExifTool (Fedora)

Removing All Metadata

  1. Open a terminal or command prompt
  2. Navigate to the folder containing your PDF
  3. Run the command: exiftool -all= yourfile.pdf
  4. ExifTool creates a backup and strips all metadata from the file
  5. Verify by running: exiftool yourfile.pdf (should show minimal or no metadata)

The original file is automatically saved with a backup extension. The modified file has all metadata fields cleared.

Removing Specific Metadata Fields

If you want to keep some metadata but remove specific fields:

  • Remove author only: exiftool -Author= yourfile.pdf
  • Remove creation date: exiftool -CreateDate= yourfile.pdf
  • Remove all XMP data: exiftool -xmp:all= yourfile.pdf
  • Remove producer info: exiftool -Producer= yourfile.pdf

Method 2: Remove PDF Metadata with PDF24 (Easiest)

PDF24 provides both an online tool and a desktop application for removing PDF metadata, making it accessible to everyone.

Using PDF24 Online

  1. Go to tools.pdf24.org/en/remove-pdf-metadata
  2. Upload your PDF file by dragging and dropping or clicking to browse
  3. PDF24 automatically displays the current metadata
  4. Click the Remove Metadata button
  5. Download the cleaned PDF

The online version is completely free with no file size limits and no watermarks. Files are processed on European servers and deleted after processing.

Using PDF24 Creator Desktop (Windows)

  1. Download and install PDF24 Creator from the official website
  2. Open PDF24 Creator and load your PDF
  3. Navigate to the document properties or metadata section
  4. Select the option to clear or remove all metadata
  5. Save the cleaned PDF to your computer

Method 3: Remove PDF Metadata with PDF Redaction Tools

For documents that need thorough sanitization beyond just metadata removal, redaction tools offer complete cleaning:

Using LibreOffice Draw

  1. Open the PDF in LibreOffice Draw
  2. Go to File then Properties
  3. Delete all metadata fields (title, author, subject, keywords)
  4. Uncheck the option to apply user data
  5. Export as PDF with the cleaned metadata

LibreOffice also has a security option in the PDF export dialog to automatically clear metadata when exporting.

Using Ghostscript

Ghostscript is a free command-line tool that can create a completely clean PDF by re-rendering it:

  1. Install Ghostscript (gs) from your package manager or the official website
  2. Run: gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=clean.pdf input.pdf
  3. The output file will have minimal metadata
  4. Use ExifTool to verify and remove any remaining fields

Method 4: Browser-Based Methods

Print to PDF Trick

A surprisingly effective method that requires no special tools:

  1. Open the PDF in your web browser (Chrome, Firefox, or Edge)
  2. Press Ctrl+P to open the print dialog
  3. Select Save as PDF as the printer
  4. Click Print or Save
  5. The new PDF will have minimal metadata

This method strips most metadata because the browser re-renders the PDF from scratch. The trade-off is that links, form fields, and bookmarks are lost in the process.

Google Drive Method

  1. Upload the PDF to Google Drive
  2. Open it with Google Docs (this converts it)
  3. Download as PDF by going to File then Download then PDF Document
  4. The downloaded PDF has Google metadata instead of your personal metadata

This method is useful for text documents but may alter formatting for complex layouts.

Batch Metadata Removal

If you need to clean metadata from multiple PDF files:

  • ExifTool batch: Run exiftool -all= *.pdf in a folder to process all PDFs at once
  • PDF24 batch mode: The desktop version supports batch processing of multiple files
  • Script automation: Create a shell script or batch file that runs ExifTool across folders of PDFs

Verifying Metadata Has Been Removed

Always verify that metadata removal was successful before sharing the file:

  1. Open the cleaned PDF in a different program than you used to clean it
  2. Check the document properties (Ctrl+D in most viewers)
  3. Run ExifTool on the cleaned file to see if any fields remain
  4. For maximum assurance, use a metadata viewer website that shows XMP data

Some tools leave behind minimal system metadata like page count and PDF version number, which is normal and not a privacy concern.

Best Practices for Privacy-Conscious PDF Sharing

  • Clean before sharing: Make metadata removal part of your routine before sending any PDF externally.
  • Use consistent filenames: Rename files to something generic before sharing to avoid filename leaks.
  • Check for hidden content: Use the redaction tools in PDF24 or ExifTool to find and remove hidden layers and annotations.
  • Consider the full chain: If you received a PDF from someone else, it may contain their metadata too. Clean before forwarding.
  • Automate the process: Set up a folder action or script that automatically strips metadata from PDFs placed in a specific directory.

Removing PDF metadata is a simple but powerful privacy step. Whether you use ExifTool for maximum thoroughness, PDF24 for convenience, or the browser print-to-PDF trick for a quick fix, there is a free method that fits your workflow. Make it a habit, and your documents will never reveal more than you intend.