← Mac Change Notes

What Finder’s Where From Metadata Really Shows

Select the file in Finder, press Command-I, and expand More Info. Where from may show a saved source URL. It is optional, editable metadata—not a verified download history or proof that the file is safe.

In this article

Start with the exact file in Finder

Inspect the item you actually want to identify. A downloaded archive, a document extracted from it, and an exported copy are separate objects. A useful source on one does not establish what is stored on the others.

If Where from appears, read the whole value before treating it as a website name. It might point directly to a downloadable file, to the page that linked to it, or to a service handling an attachment. You do not need to open the document or run an installer to read this field.

Apple’s metadata attribute reference defines kMDItemWhereFroms as an array describing where an item was obtained. Its examples include a download URL and information associated with an email. That definition is broader than “the website that created this document.” The reference is archived; it defines the field, rather than promising every current app will populate it.

Record the filename and path alongside the value. If you send the value to support, inspect it for private attachment identifiers or access tokens first. A full URL can disclose more than the public domain name.

Why there can be two addresses—or none

The downloading application contributes this information. A useful implementation example is Chromium’s current Mac origin-metadata code. It builds a list from a nonempty source URL and, when available, a referrer URL. The storage format is a binary property list associated with the file.

This explains why a file-server address and a page address can coexist. It does not mean two downloads occurred. Chromium describes the metadata work as best effort, so the implementation is not a guarantee about every download, browser, or file transfer.

Keep these questions separate:

QuestionUseful evidence
What source strings are attached to this copy?The readable Where from value or direct attribute lookup
What did my browser download earlier?That browser’s available download records
Who signed an application?Its code-signing information
Are two files’ contents identical?A comparison of the relevant file bytes

A missing label cannot answer all four questions. Neither can a familiar-looking domain in a present label.

Read the stored attribute without changing it

For an indexed lookup, Terminal provides this built-in command:

mdls -name kMDItemWhereFroms "/path/to/file"

Replace the quoted placeholder with the selected file’s real path. Typing the command through its final space and dragging the file from Finder is one way to insert that path. mdls reports metadata; it does not supply a historical download log.

To inspect the named extended attribute directly, use:

xattr -px com.apple.metadata:kMDItemWhereFroms "/path/to/file"

This prints hexadecimal data. If it succeeds, the following read-only pipeline decodes the property list:

xattr -px com.apple.metadata:kMDItemWhereFroms "/path/to/file" | xxd -r -p | plutil -p -

The options are documented in the Mac’s man xattr, man xxd, and man plutil pages. Here -p prints the attribute, -x requests hexadecimal output, and the later commands decode and display it. We verified this exact pipeline in the test below.

If the first command reports an error, keep that error. An absent attribute, an incorrect path, and denied access are different outcomes. A later property-list parsing error does not turn an unsuccessful read into evidence that the file has no source. Our binary plist guide explains the format separately.

Our test: the label changed, the contents did not

On December 5, 2026, we created one 68-byte text file on macOS 15.7.5, build 24G624. It was a new local fixture, not a file downloaded from either URL below. No personal documents or security settings were changed.

We recorded its content hash, then attached a deliberately synthetic Where from value. We replaced that value with another synthetic label and inspected the file again.

StageDirect attribute resultFile contents
Newly created local fileAttribute absent68 bytes
First label assignedhttps://example.com/source-aSame 68 bytes and SHA-256
Label replacedhttps://example.com/source-bSame 68 bytes and SHA-256

The read-only decoding pipeline returned the second label. The important result is that changing the attached source string did not change the text file’s contents. A label can therefore be a useful clue without authenticating the claimed origin.

In this same observation, mdls returned kMDItemWhereFroms = (null) at all three stages, including while direct attribute reads found the labels. We did not diagnose the indexing state or measure a refresh delay. The bounded conclusion is that this null result did not prove the attribute was absent.

This test does not characterize every browser, filesystem, or transfer method. It demonstrates two interpretation limits on one controlled local file. For the broader distinction between content checksums and other file properties, see same SHA-256, different Mac metadata.

If the source is missing, preserve what remains

Use a short recovery worksheet before altering the item:

  1. Record which copy you inspected and whether Finder showed a value.
  2. If you need a technical check, record the mdls result and the direct attribute result separately.
  3. Look for an earlier copy or the original downloaded archive, if you already have one.
  4. Check your own available browser downloads, email attachment, or project notes for an independent source record.
  5. Keep an unresolved source marked unknown rather than filling it with a plausible guess.

Adding a remembered URL would create a new annotation; it would not recover proof of the original download. Likewise, a successful read does not require deleting or rewriting any metadata.

Finally, do not confuse Where from with the quarantine attribute. A source string, a quarantine tag, and an actual macOS security warning are different evidence. Keep the exact copy, the observation method, and the remaining uncertainty together when deciding what to inspect next.