Confidentiality

Remove metadata from a PDF, a Word file or a photo before sending it

A legal document can leave the firm carrying the name of whoever drafted it, the title of another client’s matter or the coordinates of the house in a photo. This is how you see and remove that data in Word, Acrobat, Windows and Mac, and how you check it has gone.

21 November 2026 · 10 min read · By Guillermo Azcona

Removing metadata means taking out of a file the data that travels with it without being visible: author, company, dates, revisions, comments and, in photos, the camera model and the GPS coordinates. In a Word file you do it with the Document Inspector; in a PDF, with the sanitize option in Acrobat Pro; in a photo, from Properties, Details in Windows. Then open the file you are going to send and check that nothing is left.

What metadata a PDF, a Word file or a photo carries

A file’s metadata is the data that describes it and that you do not see when you open it: who made it, when and with what. INCIBE, Spain’s national cybersecurity institute, defines it as data «that goes with a file or document, describes it and cannot be seen at first sight», and warns that in an office document it may include «the name of the document’s author, the internal path where the file was stored» (our translation).

What it may containSource
Word (.docx)Author, subject, title, who saved it last, creation date, template name, comments, revision marks, versions, hidden text and custom XML dataMicrosoft, Document Inspector
PDFAuthor, keywords and copyright in the metadata; plus attachments, bookmarks, comments, form fields, hidden text, hidden layers and cropped or deleted content the file keepsAdobe, Acrobat help
Photo (JPG or HEIC)Date taken, camera model, whether it has been edited and the GPS coordinates of where it was takenINCIBE

A typical case in a law firm (the details are invented): a lawyer drafts a claim starting from the one for another matter. The text is new, but the Word properties still say «Demanda Martínez contra Aseguradora Norte» in the title, the name of the colleague who made the template under Authors and fourteen hours of editing time. When it is turned into a PDF, the title and author can travel with it. And the photo of the damage attached as evidence carries the latitude and longitude of the client’s home.

According to Microsoft, revisions, comments and versions in a Word document «can enable other people to see the names of people who worked on your document, comments from reviewers, and changes that were made to your document».

How to view a file’s metadata before sending it

A file’s metadata is shown in its properties, and each program shows them in a different place.

How to remove metadata from a Word document

In Word for Windows, metadata is removed with the Document Inspector, under File, Info, Check for Issues, Inspect Document. Tick at least Comments, Revisions, Versions, and Annotations and Document Properties and Personal Information, select Inspect and then Remove All for what you want to clean. Microsoft recommends doing it on a copy, «because it is not always possible to restore the data that the Document Inspector removes».

The full step by step, with what to do first with revision marks and resolved comments, is in Track Changes in Word. Two warnings from Microsoft’s help worth keeping in mind:

In Word for Mac there is no Inspector. Microsoft says so in its help: «Word for Mac doesn’t have a document inspector». Properties are reviewed and deleted by hand under File, Properties, and custom ones one at a time.

When saving the Word file as a PDF

If the document is going out as a PDF, in Save As, with PDF chosen as the type, select Options. According to Microsoft, «if you want to include document properties in the PDF, make sure Document properties is selected»: leave it unticked. Under Publish what, choose Document and not Document showing markup, which puts the revisions into the PDF.

How to remove metadata from a PDF with Acrobat

In a PDF, metadata and the rest of the hidden content are removed by sanitizing the document with Adobe Acrobat Pro. Adobe separates two things: redaction removes the text and images you can see, and «sanitization focuses on removing hidden data from PDFs», such as metadata, embedded content and scripts. It also warns that «redaction removes only visible text and graphics»: metadata is removed separately.

  1. Open the PDF and go to All tools, Redact a PDF.
  2. In the left pane, select Sanitize document.
  3. To remove everything, select Remove all. To choose, select Selectively remove, tick in the hidden information panel only what you want to delete and select Remove.
  4. Save it under another name. What you removed does not disappear until you save: if you close without saving, you have to do it again.

According to Acrobat’s help, sanitizing the whole document removes, among other things, metadata, embedded content and attached files, review and comment data, «hidden data from the previous document saves», obscured text and images, and links, actions and JavaScripts. If the PDF has form fields, removing them flattens them and they can no longer be filled in or signed.

Blacking out a name or a paragraph that is visible is another tool in the same pane: we explain it in how to redact a PDF.

Without Acrobat Pro

Deleting the Author field in a PDF’s properties and saving may not be enough. A PDF can store changes by appending them to the end of the file, with the earlier content still inside: Adobe lists «hidden data from the previous document saves» among what it sanitizes, and ExifTool, which saves its PDF changes this way, warns that they are reversible and that this «is a potential security problem because old information is never actually deleted from the file». If you do not have Acrobat Pro, the most reliable route is to clean the Word file with the Inspector and generate the PDF again without the document properties.

How to remove metadata from a photo (and its location)

On Windows, a photo’s metadata is removed under Properties, Details, Remove Properties and Personal Information. The Remove Properties dialog that opens offers two options:

Microsoft explains that the copy removes the properties it can change «based on the file type», and that the feature «does nothing with the contents of the file itself». If Windows cannot remove some, it warns: «Before sharing these files, you should review them for unwanted personal information». A July 2025 analysis by Digital Confidence, which sells a metadata cleaning tool, concludes that in a JPG it leaves most of the EXIF data, that in a Word file it does not remove comments or revisions and that it does not support PDFs. For photos it is a first step; for a legal document it does not replace the Inspector or Acrobat.

On a Mac, the Photos app removes the location from Image, Location, Hide Location, according to Apple’s help. Preview’s help explains how to see the location but not how to delete it, so check the copy you are going to send by opening it in Preview.

How to check that the metadata has gone

To check that the metadata has gone, open the properties of the final file, the one you are going to attach, not those of the original.

  1. A PDF: in Acrobat, Document properties, Description, and then Additional Metadata, Advanced, which shows everything embedded in the file.
  2. A Word file: run the Inspector again; it should find nothing in the categories you cleaned. On a Mac, File, Properties.
  3. A photo: Properties, Details on Windows, with no GPS data; on a Mac, Tools, Show Location Info in grey.
  4. Any file: ExifTool, free and open source, lists the metadata it finds in a photo, a PDF or a Word file from the command line (exiftool file.pdf). It is handy for reading; for deleting in a PDF, remember what we said above.

Websites that remove metadata for free ask you to upload the file. INCIBE advises against them, «because you will have to send or upload your documents with sensitive information to a third party» (our translation), and adds that you do not know whether they will treat them confidentially. What to ask any outside service before it touches a client’s document is in client confidentiality and GDPR when using AI.

What removing metadata does not solve

Removing metadata cleans what is hidden in the file, but not what can be read on the page.

With ablalo you replace names, DNI and NIE, NIG, IBAN, bar numbers and addresses in a text, a Word file or a PDF (also scanned) with tags such as [PERSONA 1], on your computer and without uploading the document. It does not black out text or remove metadata: that is done as this article explains. Nor does it hide health or trade union membership data, so it has to be reviewed.

If the document is going to a Spanish court through LexNET, the electronic filing system of the Spanish courts, clean the metadata before preparing the final PDF: which formats and sizes it accepts is in LexNET maximum file size and formats.

In short

To remove metadata from a Word file, use the Document Inspector on a copy (on a Mac, by hand under File, Properties) and untick Document properties when saving it as a PDF. In a PDF, sanitize the document with Acrobat Pro from Redact a PDF, because deleting the author and saving can leave the old data inside. In a photo, create a copy without properties on Windows or, on a Mac, hide the location in Photos. Then open the file you are going to send and check its properties: none of these tools removes everything.

Sources: Microsoft, Remove hidden data and personal information by inspecting documents, presentations, or workbooks, Save or convert to PDF or XPS in Office desktop apps, Inspect document (Word for Mac) and Remove Personal metadata from Files to Protect Your Privacy (TechNet Magazine); the Windows labels, checked in Windows 11. Adobe, About redacting and sanitizing PDFs in Acrobat Pro, Sanitize PDFs in Acrobat Pro (updated 22 October 2026), Removing sensitive content from PDFs (the list of what it removes, in the version of the help saved on archive.org on 14 August 2025) and View document metadata. Apple, View information about PDFs and images in Preview on Mac, See where a photo was taken using Preview on Mac and Add titles, captions and more to photos and videos on Mac. INCIBE, Qué son los metadatos y cómo eliminarlos (in Spanish, updated 3 December 2024). Phil Harvey, ExifTool, PDF Tags. Digital Confidence, Remove Properties and Personal Information, a Misleading Feature (July 2025). Checked on 21 November 2026.

Frequently asked questions

What does removing metadata from a PDF mean?

Removing from the file the data that travels with it without showing on the pages: author, keywords, copyright and other document information and, sometimes, comments, attachments or content from earlier saves. The text you read in the PDF does not change.

How do you view the metadata of a PDF?

In Acrobat, under Document properties, Description tab; Additional Metadata and Advanced show everything embedded. On a Mac, in the Preview Inspector. Windows File Explorer does not show the author or title of a PDF.

How do you remove metadata from a PDF on a Mac?

With Acrobat Pro for Mac, as on Windows: All tools, Redact a PDF and Sanitize document. Apple’s Preview help explains how to view a PDF’s information, but not how to delete it.

How do you remove metadata from a Word document on a Mac?

Word for Mac has no Document Inspector: properties are deleted by hand under File, Properties, and custom ones one at a time. Before that, accept or reject the changes and delete the comments, as explained in Track Changes in Word.

How do you remove metadata from a photo?

On Windows, right-click, Properties, Details, Remove Properties and Personal Information and Create a copy with all possible properties removed. On a Mac, the Photos app hides the location with Image, Location, Hide Location. Check the copy before sending it.

Is it safe to remove PDF metadata online for free?

Those websites ask you to upload the file, and INCIBE, Spain’s national cybersecurity institute, advises against them because a document with sensitive information goes to a third party and you do not know how they will handle it. With a client’s document, do it on your own computer with Word and Acrobat.

Replace names with tags before sharing a document

ablalo replaces names, DNI and NIE, NIG, IBAN, bar numbers and addresses in a text, a Word file or a PDF (also scanned) with tags such as [PERSONA 1], on your computer. It is built for documents in Spanish. It does not hide health or trade union membership data: review it before sending. 14-day trial, no card.

See how it works

No card · Windows and Mac · Spanish speech recognition

← Back to the blog