Open DS_Store files in your browser
The hidden file a Mac's Finder leaves in every folder it opens, which turns up in ZIPs, on USB sticks and in Git repositories. See what one remembers right here. Nothing leaves your device.
Or drop it anywhere on this page
What you'll see
Your .DS_Store opens as the folder Finder remembers: its view, its window and each item it kept a note of.
- The folder's view • Icons, list or columns, and its window
- Each item • Its place among the icons or its size
- Comments • What Get Info's Comments box holds
- Every record as a tree • Nothing in it runs
About DS_Store
A Mac's Finder writes a .DS_Store, short for Desktop Services Store, in each folder you open, to remember how you left it: the view, the window's size and place, where each icon sits, the background and the order. It's hidden on a Mac, so it goes along unseen into ZIPs, onto USB sticks and network shares, and into Git repositories.
Inside is a B-tree of records in the blocks of a buddy allocator: each record a file's name, a four letter code like Iloc for an icon's place or cmmt for its comment, and a value. The folder's own records keep its view settings as small property lists.
Filepeek reads every record: the folder's view, window, icon size, grid, background and comment, each item it remembers with its place among the icons or its size, and the comments left on them in Get Info. Every record shows as a tree too, and nothing in it runs.
A Mac's Finder settings (.DS_Store)
.ds_store
Format
- MIME type
- application/octet-stream
- Made by
- Apple
Inside the file
- Holds
- A folder's view and its items
- Each record
- A name, a code and a value
- Settings
- Property lists, for the view
- Made by
- Finder, on every Mac
Opens in every browser
Filepeek reads .DS_Store files in Chrome, Edge, Firefox and Safari, on any computer or phone. On their own, browsers only download them.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open DS_Store
- WindowsNo app opens it
- MacFinder writes it • No app opens it
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
What is a .DS_Store file?
Finder's notes on how you left a folder: its view, its window and where each icon sits. A Mac makes one in each folder it opens and hides it.
Can I delete .DS_Store files?
Yes. Only the folder's view is lost, which Finder sets back to how it starts and writes again the next time it opens the folder.
Why is there a .DS_Store in my ZIP or on my USB stick?
A Mac hides them, so they go along unseen when a folder is zipped or copied to a drive, and into a Git repository unless its .gitignore names .DS_Store.
Why does a .DS_Store name files that aren't in its folder?
It keeps a record for each item whose place or comment Finder saved, and a record can stay after its file is gone or when the folder is copied without it.
How do I stop my Mac making .DS_Store files?
On network shares and USB drives, defaults write com.apple.desktopservices DSDontWriteNetworkStores true, and DSDontWriteUSBStores true, typed in Terminal stop it. On the Mac's own disk Finder always writes them.