How to remove metadata and hidden information from a PDF with ONLYOFFICE Docs

Last update: November 11th 2026
  • Metadata stores invisible data such as authorship, dates, and server paths that can compromise corporate privacy.
  • There are specialized tools for cleaning PDF files, Office documents, and presentations, preventing the leakage of sensitive data.
  • It is essential to differentiate between the removal of embedded properties and the visual strikethrough of readable content on the page.

Wooden letters forming the word PRIVACY on a red background, representing the protection of personal data and digital privacy.

We sometimes assume that when we send a file, only the recipient will read what we've written. However, the reality is that digital documents carry a kind of invisible baggage called metadata , which stores everything from who created the file to the software version used. This information, though not readily apparent, can be a real headache if it falls into the wrong hands.

For those who use tools like ONLYOFFICE Docs or office suites, it's vital to know how to perform a thorough cleanup. It's not just about removing the author's name, but about ensuring the organization's complete privacy , preventing internal server paths or edit histories from revealing operational secrets that shouldn't leave the office.

What on earth are metadata and why are they a risk?

Laptop computer on a table with a security padlock icon on screen, symbolizing the protection of digital files and documents.

To put it simply, metadata is data that describes other data. If we take a photo, the content is the image itself, but the metadata is the exact GPS coordinates of where it was taken or the phone model. In a PDF or Word document, this translates to the Windows username, the creation date, the organization, and even the revision history.

  How to remove pop-ups and pop-up windows from your browser

The real danger arises when we send these files to clients or suppliers. If we don't clean up these properties, we're essentially giving away valuable information. A classic example was the British dossier on Iraq in 2003, where the embedded revision history exposed the entire editorial chain, causing a significant diplomatic incident due to a simple technical oversight.

How to clean metadata in PDFs with ONLYOFFICE and other tools

Wooden blocks spelling out the word encryption, symbolizing encryption and technical security of hidden information.

If you're working with ONLYOFFICE Docs and want to manage your PDF's information, the first step is to take a look at what's there. To view this data, go to the "File" menu and select "Properties ." Once there, if you want to delete information, you can go to "Additional Metadata ," access "Advanced" mode, and delete line by line the data you don't want anyone to see.

If you're looking for other professional alternatives for PDF files, there are several options depending on the level of control you need:

  • Adobe Acrobat Pro: It has a powerful function called "Protect" that allows remove hidden information through a thorough scan of the document.
  • NitroPDF: It allows you to quickly delete metadata from the protection tab in the section of content writing.
  • Foxit PhantomPDF: It offers a simple path through "Protect" and then "Hidden Data" to mark and delete the specific metadata.
  • Online Tools: There are websites like PDFYeah that automate the process, although you have to have Be careful with confidentiality when uploading sensitive files to external servers.

The Document Inspector in the Microsoft Office suite

Close-up of a laptop screen with text about cybersecurity, focusing on digital hygiene and removing traces from files.

If the original document is a Word, Excel, or PowerPoint file, it's best to clean up the data before converting it to PDF. The Document Inspector is the key tool here. It allows you to find and remove comments, tracked changes, document server properties , and even hidden text (although it doesn't detect white text on a white background).

  How to locate and manage your forgotten online accounts

To use it, simply go to "File," select "Info," and then "Check for Issues ." After running the scan, you can click "Remove All" on any items you consider problematic. In Excel, this is especially useful for deleting hidden sheets or rows and columns containing data you don't want the recipient to see.

Crucial differences: Removing metadata vs. striking through content

This is where many people go wrong. It's important to clarify that removing metadata is not the same as striking through text . Deleting metadata cleans up the file's invisible properties (author, dates, software), but it doesn't erase any words written on the page. If you have a phone number or a confidential name visible, you need a visual strikethrough to make the document less noticeable.

If you only delete the metadata but leave the sensitive text, the data remains. Conversely, if you redact the text with a black box but don't clear the metadata, the original author's name will still appear in the file properties. Ideally, both processes should be performed to ensure complete anonymization.

Advanced tips and technical warnings

Person working on a laptop with secure connection tools, illustrating professional privacy management in the workplace.

For the more technically inclined, tools like ExifTool are fantastic, but they have a catch. Running the command to delete everything in a PDF can be reversed unless a linearization process is used with qpdf . Otherwise, someone with the necessary skills could recover the deleted data.

Another important point is digital signatures . If a document is electronically signed, any modification to the metadata could invalidate the signature. It is essential to check if the file has a signature before cleaning it and, if necessary, re-sign the document once it has been cleaned.

  How to recover a hacked Google account step by step

Data management in spreadsheets and other formats

In the case of ONLYOFFICE Workspace, there's a very useful feature called Custom Filter for .xlsx files. This doesn't delete metadata, but it allows you to share a spreadsheet where users only see the data you've filtered, preventing them from manipulating the view to discover hidden information in other cells.

In Visio, the process is similar to that in Office: you access "Information", choose "Check for Issues", and select "Remove Personal Information" , which cleans up comments and template paths that could be sensitive.

Maintaining the digital hygiene of our files is the best defense against accidental leaks. From using document inspectors in Office to manually cleaning properties in ONLYOFFICE or using specialized PDF software, the goal is always the same: that the recipient receives only the visible content, eliminating any trace of identity or internal infrastructure that could be maliciously exploited.