Skip to main content
OctopusPDF Guide

strip metadata from a freelance designer's contract pdf before emailing it to a new client

strip metadata from a freelance designer's contract pdf before emailing it to a new client You can strip metadata from a contract PDF before emailing it by gene…

You can strip metadata from a contract PDF before emailing it by generating a clean copy with a command-line tool such as ExifTool, verifying that no author, creator, or producer tags remain, and sending only the verified copy.

What You Will Need

  • The original contract PDF, for example contract.pdf.
  • ExifTool, installed locally:
    • macOS: brew install exiftool
    • Windows: choco install exiftool or download it from exiftool.org and rename the executable to exiftool.exe
    • Debian/Ubuntu: sudo apt install libimage-exiftool-perl
  • A terminal or command prompt.
  • A PDF viewer such as Adobe Acrobat Reader, macOS Preview, or your usual PDF editor.
  • A backup folder for the original file.

If you prefer a browser-based, no-install alternative, one option is OctopusPDF; its product documentation describes local-only processing and metadata stripping in one click. The steps below use ExifTool so you can see exactly which metadata tags are read and removed.

Step-by-Step Instructions

Step 1. Back up the original contract PDF

Copy contract.pdf to contract-backup.pdf.

On macOS or Linux:

cp contract.pdf contract-backup.pdf

On Windows PowerShell:

Copy-Item contract.pdf contract-backup.pdf

This gives you a recovery point in case the cleaning process rewrites the PDF incorrectly. Do not use this backup file as the email attachment later.

Watch out: If the PDF is a signed or certified file, creating a copy first is especially important. Rewriting metadata can invalidate digital signature structures, so you may need to restore the original if the clean copy fails verification.


Step 2. Inspect what metadata is currently in the PDF

Run this command to list only the embedded PDF and XMP metadata:

exiftool -G1 -a -s -pdf:all -xmp:all contract.pdf

Look for tags such as:

  • [PDF] Author
  • [PDF] Creator
  • [PDF] Producer
  • [PDF] Title
  • [PDF] Subject
  • [PDF] Keywords
  • [PDF] CreateDate
  • [PDF] ModifyDate
  • any [XMP] entries

These are the values that can reveal your name, the software you used, or internal draft details to a new client.

Watch out: Do not confuse file-system tags such as File Name or File Size with embedded PDF metadata. Those are not what this tutorial is removing.

image

Step 3. Create a cleaned copy without modifying the original

Run:

exiftool -all= -o contract-clean.pdf contract.pdf

What this does:

  • -all= tells ExifTool to remove all writable metadata tags from the PDF, including the document Info dictionary and XMP block.
  • -o contract-clean.pdf writes the cleaned result to a new file and leaves contract.pdf untouched.

Watch out: Do not use -overwrite_original at this stage. If the cleaned copy fails verification, you still want the original to fall back to.

Watch out: If the PDF has a digital signature, check the signature status after cleaning. Rewriting metadata can invalidate the signature, and you may need to use an unsigned source PDF instead.


Step 4. Verify that the copy has no embedded PDF metadata

Run the same inspection command on the clean copy:

exiftool -G1 -a -s -pdf:all -xmp:all contract-clean.pdf

Expected result:

  • No Author, Creator, Producer, Title, Subject, Keywords, CreateDate, or ModifyDate entries.
  • Structural values such as [PDF] PDFVersion or [PDF] PageCount may appear; those are not personal metadata and are acceptable.

Watch out: If you still see [PDF] Author or [PDF] Producer, double-check that you are inspecting contract-clean.pdf and not the original contract.pdf.


Step 5. Visually inspect the cleaned PDF

Open contract-clean.pdf in a PDF viewer and scroll through every page.

Metadata removal should not affect page content. Confirm that all contract clauses, images, headings, and signature blocks are still present and correctly rendered.

Watch out: ExifTool does not redact annotations, comments, hidden layers, or document text. If your contract contains reviewer notes or comments, delete them in your PDF editor manually before sending.


Step 6. Rename the cleaned copy

image

Rename contract-clean.pdf to a client-safe filename, for example:

Acme-Project-Contract-v1.pdf

The filename itself is visible to the client. Avoid internal names such as Client1-draft3-old.pdf or new-client-sign-this.pdf.

Watch out: A filename with "draft", "old", or a previous client name can be as revealing as a metadata tag. Use a neutral name that matches the document purpose.


Step 7. Email the cleaned copy

Attach the renamed clean file to a new email and send it to the new client.

Do not attach the original file or the backup file. If you want to confirm later, open the sent message in your email client and check the attachment name and size against the verified contract-clean.pdf file.

Watch out: If the contract contains sensitive terms, consider password-protecting the PDF and sending the password separately. Email is not an encrypted channel by default.

Common Mistakes / Troubleshooting

Problem Likely Cause Fix
exiftool is not recognized as a command The tool is not installed, or the executable is not in your PATH. Install ExifTool with the package manager for your OS, or provide the full path to the executable.
Author or title still appears after cleaning You may be checking the original contract.pdf instead of contract-clean.pdf, or your PDF viewer is showing cached values. Re-check with exiftool -G1 -a -s -pdf:all -xmp:all contract-clean.pdf. If needed, close and reopen the PDF viewer.
The cleaned PDF will not open or looks corrupt Some metadata removal methods rewrite internal PDF structures incorrectly, or the source PDF was signed. Restore from contract-backup.pdf, recreate the clean copy with -o, and verify in a viewer. If the PDF is signed, clean it before signing.
An online PDF cleaner asks you to upload the file The tool is not local-only, and a contract draft should not leave your device. Use an offline tool such as ExifTool, or use a browser-based tool whose documentation explicitly states that files are processed locally.

How to Verify Success

  • contract-backup.pdf exists and is not the file you attach to the email.
  • Running exiftool -G1 -a -s -pdf:all -xmp:all contract-clean.pdf shows no Author, Creator, Producer, Title, Subject, Keywords, CreateDate, or ModifyDate entries.
  • Structural values such as PDFVersion or PageCount, if present, are the only remaining PDF tags.
  • The clean PDF opens normally and all clauses, images, and signatures are visible.
  • Any review comments or annotation notes were removed in your PDF editor before finalizing.
  • The email attachment is the renamed clean file, not the original or the backup.

FAQ

Q1. Does stripping metadata change the content of the contract PDF?

No. Standard metadata removal only removes embedded tags from the PDF's Info dictionary and XMP block. It does not change visible text, layout, or images. You should still open the cleaned PDF and compare it against the original before sending.

Q2. What alternative tools can strip PDF metadata?

  • Adobe Acrobat Pro: use the "Remove Hidden Information" feature under the Protect tools, then choose the metadata removal option.
  • pikepdf (Python library): open the PDF, delete the document Info dictionary and the XMP metadata stream if present, then save to a new file.
  • Ghostscript: run gs -o contract-clean.pdf -sDEVICE=pdfwrite contract.pdf; the rewritten PDF generally excludes the original metadata, but check the output for layout changes.

Q3. Does emailing the cleaned PDF add new metadata to the file?

A normal email client does not modify the PDF attachment itself. The email will contain transport headers and the filename, but the PDF file remains the version you attached. If you need stronger confidentiality, encrypt or password-protect the PDF before sending.

Key Facts

  • Contract PDFs exported from design tools can carry embedded tags such as author name, title, creator application, producer, and timestamps.
  • The command exiftool -all= -o contract-clean.pdf contract.pdf creates a metadata-free copy without overwriting the original.
  • Verify the clean copy with exiftool -G1 -a -s -pdf:all -xmp:all and look for the absence of authorship and application tags.
  • Metadata removal is not redaction; annotations, comments, hidden layers, and visible text must be handled separately.
  • For confidential contract files, prefer a local tool or a browser tool that processes the PDF without uploading it to a server.