Skip to content
StartPrivate
Menu
Language: EN

Remove metadata from an Excel workbook

Strip the names, comment threads and folder paths an .xlsx workbook carries, and see for every file what went and what is still found afterwards.

Runs on your device. Files are not uploaded. How to check this yourself

or drop them here

No file chosen yet.

    An Excel workbook can hold the author and last editor, a company name, threaded comments labeled with each commenter's account name, notes, the folder the file was last saved in (often including a Windows user name) and, for old shared workbooks, a log of user names. This tool removes those from .xlsx files, cuts the folder path of a linked file, or of another workbook named in a formula, down to the file name, leaves cell values alone, and lists what it can still find in the cleaned workbook, such as data connections.

    What an .xlsx file keeps about the people who worked on it

    Spreadsheets travel. A budget goes to a client, a parts list goes to a supplier, a data export goes to a regulator. Each of those files can carry a surprising amount of history.

    Threaded comments. Excel for Microsoft 365 has two kinds of annotations. Microsoft explains that threaded comments are labeled with the name of the person signed in to the account, and that this name cannot be changed by typing over it. A reply thread can reveal who on your side discussed a number, and what they said about it.

    Notes. The yellow boxes that older versions called comments are now called notes. Excel labels them with whatever name is set in its options, which is often a full name.

    People list. Workbooks with threaded comments include a list of the people who took part, with their identities.

    Saved location. Excel records the folder the workbook was saved in. On Windows that path commonly runs through the user's profile folder, so it contains the user name.

    Shared-workbook history. The legacy Shared Workbook feature keeps a revision log and a list of the user names who had the file open. Microsoft notes that the Document Inspector cannot remove comments, properties or personal information from a workbook while it is shared.

    Properties. Author, last modified by, company, manager, title, dates, custom properties and any custom XML data a template added.

    Names in less obvious places. A PivotTable records who refreshed it last and when. Scenario Manager stores the user who made each scenario. Custom views in a shared workbook are saved per person. A range that chosen people may edit without the password lists their accounts.

    How to clean an Excel workbook

    1. Choose your .xlsx workbooks with Choose files, or drop them on the page.
    2. Wait for each workbook's result. If the notice Still in the cleaned copy shows up first, read it before anything else.
    3. In the Before and after table, check rows such as Comments, Comment authors, Saved file location, Custom properties and Photos with metadata inside.
    4. Look at the Removed line under the table.
    5. Download the cleaned workbook and open it once to check the sheets look right.

    What is removed

    When a sheet showed its notes through a drawing that held nothing but those notes, the reference to that drawing goes too, so the cleaned file does not ask Excel for a part that no longer exists.

    Paths cut down to the file name

    A link to another workbook is stored with its whole location, for instance C:\Users\dana\Finance\rates.xlsx. The tool keeps rates.xlsx and drops the folders before it. The same happens to the topic of a DDE link, to the file a data connection was imported from, and to a picture description that Excel filled with the picture's original path. Values already in your cells are not affected, but a link shortened like this looks for its file next to the workbook, so Excel may ask where the source is when you update links.

    Formulas are treated the same way in one spot only: where a reference names another workbook. 'C:\Users\dana\Finance\[rates.xlsx]Sheet1'!A1 becomes '[rates.xlsx]Sheet1'!A1, whether it sits in a cell, a defined name, a validation rule, a conditional format, a table column or a chart range. Text between double quotes belongs to what the formula says, so it is left as typed even when it is a path, as in =HYPERLINK("C:\Users\dana\plan.pdf"). The result then lists that path as a folder path still in the copy.

    This has a limit. A path is recognized only where it stands in one piece. If a formula builds a location by joining pieces of text, as in ="C:\Users\" & A1 & "\rates.xlsx", the tool cannot tell that the pieces add up to a path, and it changes nothing. A piece that looks like a path by itself, here "C:\Users\", is still listed in the result; pieces that do not are not.

    Kept, and named in the result

    These stay in the workbook, because removing them would break it or change what it shows. The Still in the cleaned copy box lists each one that is present and the part of the file that holds it:

    Names that the workbook's properties record, for example its author, the person who saved it last or someone who wrote a comment, are searched for in the workbook's own text as well, such as its cells, sheet names and text boxes. Each one that turns up there goes into the box, visible or hidden alike, and you are the one to judge whether it should stay.

    What is not removed

    Cleaning removes metadata. It does not judge or edit your data, so these stay exactly as you left them:

    Only .xlsx files are accepted. Workbooks with macros (.xlsm), binary workbooks (.xlsb) and the older .xls format are not supported; save a copy as .xlsx in Excel first. Files over 300 MB and password-protected workbooks cannot be read. Size is also checked after unpacking: the workbook's XML parts, sheets included, may total 256 MB (pictures are not counted), and a single part or picture may be 64 MB at most; beyond that the page says the workbook is too large instead of risking a crash. A part whose elements sit more than 512 levels inside one another gets the same message; a part read through in a single pass, such as the cells of a sheet, may go to 2,048 levels. Also turned away: a workbook package holding over 10,000 entries, and an element carrying more than 2,000 attributes, namespace declarations included. A part in which one piece of text goes beyond roughly 4 million characters is cleaned all the same and reported as not checked. The whole package, counting pictures and the parts the tool never opens, may unpack to no more than 512 MB. Pictures on a sheet are cleaned if they are JPEG, PNG, WebP or HEIC. Anything else that is embedded, for example a TIFF scan, an EMF drawing or an attached file, is left untouched and named in the result.

    What this tool cannot do

    Read an empty result as "nothing this tool checks for was found". The limits section of the methodology page lists what that leaves out.

    A short check before you send a workbook

    Cleaning deals with the records listed above. A few checks in Excel cover the rest:

    1. Right-click any sheet tab. If Unhide is available, at least one sheet is hidden; unhide it and decide whether it should go.
    2. Open Formulas > Name Manager and look for names that point to other files or to data you meant to remove.
    3. Look for PivotTables and decide whether their source data should travel with the file.
    4. Print preview one page to see what the header and footer say.
    5. Then clean the workbook here and read the result, which shows what was taken out and names the things it still found in the copy.

    Where your workbook goes

    The workbook is unzipped and edited inside the browser tab you are looking at. Cell values, comment text and the names found in the file are not sent to any server, and nothing remains once you close the page. That makes it suitable for financial or client data you are not allowed to upload.

    How the Excel cleaning works

    An .xlsx file is a zip package of XML parts. In a background worker, the tool opens the package with fflate, a compression library fetched from this site when your first Office file is cleaned. From the package's relationships it finds the comment, threaded-comment, person and revision parts, wherever in the package they are stored, and deletes them. Note boxes are taken out of their drawing parts, and a drawing part left with nothing in it goes too, together with the relationships that pointed to it. The saved-path element is removed from the workbook part, and the author, company, dates and link targets are cleared out of the property parts. Pictures placed on sheets are passed to the photo cleaner, which strips their metadata without touching pixels. Cell values and styles are copied unchanged, and so are formulas apart from the folders in a reference to another workbook, before the workbook is repackaged, with every zip entry dated 1 January 1980.

    The repackaged file is then examined by a separate checker that does not reuse the cleaner's own lists. Working through the workbook one part at a time, it compares each relationship, element and attribute with the published definitions of the spreadsheet format. A spot the definitions reserve for a name, an account id, a date of editing, a location or a connection is reported when it still has a value, and so is anything the definitions do not describe. Only what is known and found clean passes; the rest goes into the result's list. To see how the tools are tested and how you can confirm that no upload happens, visit the methodology page.

    FAQ

    Will my formulas still work after cleaning?

    Formulas that stay inside the workbook are not modified, and neither are cell values or formats. A formula or a chart that reads from another workbook keeps the values it last showed, but its reference now holds only that workbook's file name, so Excel looks for the file in the same folder when you update links. Text between quotes in a formula stays exactly as you typed it.

    Why can't I remove my name from a threaded comment in Excel itself?

    Microsoft ties threaded comments to the signed-in account, and its help page says you cannot remove or change that name. Deleting the comment, or cleaning the file here, removes it.

    Are notes removed as well as threaded comments?

    Yes. Both kinds of annotation and their author names are removed.

    Does this unhide or delete hidden sheets?

    No. Hidden sheets, rows and columns are left as they are. Check them in Excel before sharing.

    What is the "saved file location" row?

    It is the folder path Excel stored when the workbook was last saved, such as a path inside a user profile. It is removed. Folder paths found elsewhere are shortened to the file name: in links to other workbooks, in formulas that point into another workbook, and in a picture description that is a path and nothing more.

    What happens to my data connections?

    They stay, because a query or a refresh would stop working without them, and the result lists them under Still in the cleaned copy. A connection string can name a server, a database and an account. If the recipient should not see that, delete the connection in Excel (Data > Queries & Connections) and clean the workbook again.

    Can I clean a CSV file here?

    No. A CSV file is plain text with no hidden properties. What you see in a text editor is everything it contains.

    Sources

    Checked 2026-10-11.

    Last updated: