FAQ

FAQ: macOS (Finder) Tags Mechanism and This App’s Implementation Details

1. What are macOS Finder Tags, and where are they stored?

Finder tags are part of a file’s metadata. They are not written into the file’s content itself but rather into the file’s extended attributes (xattr), primarily under the key:

The value is a binary plist, essentially an array of tags. Each tag element contains a tag name and a color index, with color indices ranging from 0 to 7 (0: no color, 1: gray, 2: green, 3: purple, 4: blue, 5: yellow, 6: red, 7: orange).

Therefore:


2. About the Legacy Extended Attribute com.apple.FinderInfo

com.apple.FinderInfo is one of the earlier mechanisms used by macOS/Finder:

More specifically:


3. Multilingual Issues: Why Does the Same Color Appear as “Different Tags” on Different Language Systems?

macOS writes localized tag name strings:

To the system, these are considered two distinct tags. This app retrieves default color tag names using system APIs, so the results depend on the system’s locale settings (“System Settings → General → Language & Region / Interface Language,” set to “Automatic” to follow the current system language). If the system language differs from the app’s language setting, inconsistent tag names may appear.


4. Why Should the App’s Settings Match Finder’s Tag Configuration?


5. How Is Tag Metadata Stored Across Different Disks and Network Locations? (APFS / AppleDouble / NTFS ADS)

5.1 APFS (Local Disk) — Native xattr Storage (Most Reliable)

APFS natively supports extended attributes, so tag metadata is stored directly within the file’s xattr.

5.2 Locations That Do Not Fully Support xattr — AppleDouble (._OriginalFileName)

When the target file system or protocol cannot reliably preserve xattr (commonly FAT32, exFAT, and network drives such as SMB/WebDAV/NFS), macOS stores the metadata in an AppleDouble companion file:

Visibility:

Important Note (A Common Cause of Lost Tags):

5.3 SMB Connections to NTFS: Possible Use of ADS (Alternate Data Streams)

When accessing NTFS via SMB and under specific server/protocol configurations, macOS may bypass creating ._ files and instead write metadata into NTFS’s ADS (Alternate Data Streams):


6. How Can You View a File’s Tag xattr?

Using the command-line tool xattr is inconvenient: It does not handle or display com.apple.metadata:_kMDItemUserTags, which is a binary plist attribute. You must use the -px option to output it correctly in hexadecimal format.

It is recommended to use third-party tools:


7. What Is the Relationship Between Spotlight and Tags? Do Tags Depend on Spotlight?


8. What Does This App’s “Enhanced Indexing” Do?

When Spotlight cannot cover certain locations (external disks, network drives, privacy-excluded directories, etc.), this app provides enhanced indexing: