Remove __MACOSX from ZIP

Drop a ZIP made on a Mac to remove the __MACOSX folder, .DS_Store and ._ files. Every other file is kept exactly as it was, and the clean ZIP is checked before you download it.

Drag & drop files here, or

ZIP Up to 1 GB • Processed in browser • Nothing leaves your device

Runs in your browser

Only the Mac Files Go

The __MACOSX folder, .DS_Store, ._ files and Mac volume folders are removed. Your files and folders, even empty ones, stay with their names, dates and permissions.

Copied, Then Checked

Kept files are copied as they are, without compressing them again. The clean ZIP is opened again and every file is checked against the original before the download appears.

Privacy-First

The ZIP is rebuilt in your browser. Nothing is uploaded or stored, and closing the tab discards it.

Advertisement

How it works

What is removed

The __MACOSX folder and everything in it; .DS_Store files in any folder; AppleDouble ._ files that sit next to your files, removed only when their content is Mac file data; and the volume folders a Mac creates when you zip a whole drive (.Spotlight-V100, .fseventsd, .Trashes, .TemporaryItems, .DocumentRevisions-V100). Thumbs.db, ehthumbs.db and desktop.ini go too while the Windows box is ticked.

What is kept, and how

Every other entry is copied into a new ZIP without being compressed again, so its bytes are the same as before. Names, dates, file comments, the ZIP comment and Unix permissions, such as the executable flag on a script, are kept. Folders you made stay, even empty ones. File names are written as UTF-8 with the flag Windows reads.

The re-check

Before the download appears, the new ZIP is opened again with checksums on. It must hold exactly the kept files, each with its original CRC-32 checksum and size, and none of the removed kinds. If anything does not match, no download is offered and your original stays as it is.

When a ZIP is left alone

A password-protected ZIP is refused: its files cannot be copied without the password. A ZIP whose file names use an old character set instead of UTF-8 is refused too, because rebuilding could change those names. A ZIP with no Mac files is reported as clean, and a ZIP with nothing but Mac files gives no download. ZIPs inside the ZIP are not opened.

Where these files come from and what they can reveal: what is the __MACOSX folder in a ZIP.

Frequently Asked Questions

What is the __MACOSX folder in a ZIP?

When you compress a folder in the macOS Finder, the Mac stores extra file data, such as Finder tags and resource forks, in a hidden __MACOSX folder inside the ZIP. A Mac folds it back in when it unzips; Windows and Linux show it as a folder full of ._ files.

Is it safe to delete __MACOSX and .DS_Store?

For sharing, yes. .DS_Store only remembers how a Finder window was laid out, and the __MACOSX files hold Mac extras such as tags, colour labels and the quarantine flag. Your documents, photos and code do not need them on any system.

How do I remove __MACOSX from a ZIP without a Mac?

Drop the ZIP on this page. It removes the __MACOSX folder, .DS_Store and ._ files in your browser, on Windows, Linux, a Chromebook or a phone, and gives you a clean copy to download.

Does it change my other files?

No. Every other file is copied without being compressed again, with its name, date, comment and Unix permissions. The clean ZIP is opened again and each file is checked against the original before the download is offered.

Why is a ._ file still in my ZIP?

A ._ file is removed only when its content is Mac file data. A file you named ._config yourself is kept. Files inside the __MACOSX folder are always removed.

Can it remove Thumbs.db and desktop.ini too?

Yes. These Windows files are removed while the box under the upload area is ticked. Untick it to keep them.

Does it work on password-protected or very large ZIPs?

A password-protected ZIP is refused, because its files cannot be copied without the password. ZIPs over 1 GB, or with more than 100,000 entries, are too large for a browser tab. ZIPs inside the ZIP are not opened.

How do I stop the Mac adding these files?

Finder adds them when it compresses a folder. The zip command in Terminal adds no __MACOSX folder, and zip -r archive.zip folder -x "*.DS_Store" also leaves out .DS_Store. To clean a ZIP you already have, run zip -d archive.zip "__MACOSX/*" "*.DS_Store".

Are my files uploaded?

No. The ZIP is read and rebuilt in your browser, nothing is sent to a server, and closing the tab discards it.