Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

View and Delete File Metadata: A Step-by-Step Guide

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can view and delete most file metadata on Windows, macOS, and Linux using built-in tools or free official utilities. Metadata includes hidden details like the date created, author name, GPS coordinates, and camera settings. Deleting it helps protect your privacy before sharing files. The exact steps vary by operating system, so follow the section for your device.

What You'll Need

  • Access to the file whose metadata you want to view or remove.
  • For Windows: a PC running Windows 10 or 11 (steps are similar in older versions).
  • For macOS: a Mac running macOS Catalina or later (steps are similar in older versions).
  • For Linux: a file manager like Nautilus (GNOME), Dolphin (KDE), or Thunar (XFCE).
  • Optional but recommended: a backup copy of the file before deleting metadata, especially if you're unsure.

Step-by-Step

Windows: View Metadata

  1. Open File Explorer (press Win + E) and navigate to the file.
  2. Right-click the file and select Properties.
  3. Go to the Details tab. You'll see categories like Origin, Content, and Camera (if applicable).

Windows: Delete Metadata

  1. In the Details tab, click the Remove Properties and Personal Information link at the bottom.
  2. Choose one of two options:
    • Create a copy with all possible properties removed – makes a new file with no metadata, leaving the original untouched.
    • Remove the following properties from this file – lets you select specific properties to delete. Check the boxes for the ones you want gone, then click OK.
  3. Click OK to apply. If you chose the copy option, the new file appears in the same folder with “- Copy” in its name.

macOS: View Metadata

  1. Open Finder and locate the file.
  2. Select the file, then press Command + I (or go to File > Get Info).
  3. The Info window shows basic metadata like creation date and file size. For more detailed metadata (e.g., camera settings), open the file in Preview and go to Tools > Show Inspector (or Command + I in Preview).

macOS: Delete Metadata

  1. There's no built-in button to strip all metadata at once. The simplest method is to export a copy without metadata:
  2. If it's an image, open it in Preview, then go to File > Export.
  3. Uncheck the box that says Include metadata (if available) or choose a format that strips it (like JPEG). Then click Save.
  4. For documents (like PDFs), use Preview to open the PDF, then go to File > Export and uncheck Include metadata if the option appears.
  5. If the option isn't available, use a third-party tool (see Tips).

Linux: View and Delete Metadata

  1. Open your file manager (e.g., Nautilus).
  2. Right-click the file and select Properties (or File > Properties).
  3. Look for a Metadata tab or a Details section. In Nautilus, you may need to click the three-dot menu and choose Properties to see all tabs.
  4. To delete metadata, you can use the command line with exiftool (a free tool). Open a terminal and type: exiftool -all= filename.jpg (replace filename.jpg with your file). This removes all metadata and creates a backup file with _original appended.
  5. If you don't have exiftool, install it via your package manager (e.g., sudo apt install exiftool on Ubuntu).

Common Mistakes

  • Deleting metadata on a copy instead of the original – if you use the “create a copy” option on Windows, you might forget which file you're sharing. Make sure you share the copy, not the original.
  • Assuming all metadata is removed – some file types (like PDFs) may keep metadata in hidden layers. Always double-check after removal by viewing properties again.
  • Using the wrong tool for the job – on macOS, the built-in export may not strip all metadata for every format. Test the resulting file.
  • Overwriting the original without backup – if you strip metadata and then save, you can't undo it unless you have a backup.
  • Ignoring file system metadata – things like creation date and last modified date are not removed by the methods above; they are stored by the operating system and can't be deleted without special tools (and may be illegal to falsify in some contexts).

Tips

  • Use a dedicated tool for bulk removal – for multiple files, download ExifTool (free, cross-platform) and run a command like exiftool -all= *.jpg in the folder.
  • Check metadata before sharing – after removing metadata, re-open the file's properties to confirm it's clean.
  • Use “Share” options that strip metadata – some apps (like Microsoft Office) have a “Check for Issues > Inspect Document” feature that removes hidden data. Use that before sending.
  • On macOS, use Preview to export as a new file – this often drops metadata even if you don't see the checkbox.
  • For photos, consider a privacy-focused app – apps like “ImageOptim” (free) on macOS can strip metadata and compress images.
  • Remember that metadata can be re-added – if you upload a file to a service, it may add its own metadata. Strip it again if you re-download.

Troubleshooting

I can't see the “Remove Properties” button on Windows

This button appears only on files that have metadata. If it's grayed out, the file may have no removable metadata, or the file type doesn't support it (e.g., plain text files). Try a different file.

macOS Preview doesn't show an “Include metadata” checkbox

This option appears only for certain formats (like TIFF). For JPEG, you can export as JPEG and it will usually strip metadata. If not, use a third-party tool like ExifTool.

ExifTool isn't found on Linux

Make sure you installed it correctly. On Ubuntu, run sudo apt install exiftool. On Fedora, use sudo dnf install exiftool. If you're on a different distribution, search for “exiftool” in your package manager.

I deleted metadata but the file size didn't change

That's normal – metadata is usually a tiny fraction of the file size. The removal is still effective.

Some metadata remains after removal

Some file types (like PDFs) may have metadata embedded in multiple places. Use a specialized PDF cleaner or re-save the PDF via a printer (e.g., “Print to PDF” on Windows or macOS) to create a clean copy.

Frequently Asked Questions

Does deleting metadata affect the file's quality?

No. Metadata is separate from the actual content (pixels, text, audio). Removing it doesn't change the file's appearance or functionality.

Can I delete metadata from a file on my phone?

Yes, but the steps depend on the operating system. On Android, you can use a file manager app like “Files by Google” to view details, but to delete metadata, you'll need a third-party app like “Photo Exif Editor”. On iPhone, the built-in Photos app doesn't offer metadata removal; you can use a shortcut or export via a third-party app like “Exif Metadata” (free).

Is it illegal to remove metadata?

No, it's not illegal to remove metadata from your own files. However, falsifying metadata (e.g., changing the creation date to deceive) could be illegal in some contexts, like legal evidence or copyright claims. Always be truthful about the origin of files.

Will removing metadata prevent someone from tracing the file back to me?

It removes most identifying information, but the file's content itself may still contain clues (e.g., your face in a photo). Also, file system metadata like creation date is not removed by these methods. For absolute anonymity, you'd need to also change the file's name and use a tool that alters timestamps.

Can I remove metadata from multiple files at once?

Yes. On Windows, you can select multiple files, right-click, and choose Properties – but the “Remove Properties” option only works on one file at a time. For bulk removal, use ExifTool (command line) or a GUI tool like “Metadata Cleaner” (free, open-source).

Do cloud services like Google Drive or Dropbox add metadata?

Yes, when you upload a file, the service may add its own metadata (e.g., upload date, owner). You can't remove that from the service's side, but you can download the file and strip metadata again if you need to share it elsewhere.