# Archive Filename Fix — ZIP Mojibake & Mac Clutter Repair

Names garbled when a ZIP made on Japanese Windows is opened on a Mac, or \_\_MACOSX folders and split voiced marks when a Mac ZIP is opened on Windows: drop the ZIP and both are fixed. Names are rewritten as UTF-8 and clutter is removed; compressed data is copied without recompression. See the names before and after side by side. Several ZIPs at once, all on your device.

- URL: https://tools.itlibra.com/en/archive-filename-fix
- On-device・No upload
- Last updated: 2026-11-27

## How to use

1. Drop the ZIPs you want to repair or click “Choose files” (several allowed). Repair starts right away.
2. Under “Repair settings” choose which clutter to remove (each kind on/off), whether to fix split voiced marks, whether to wrap everything in one folder and whether to verify contents. After changing settings press “Apply settings and redo”.
3. Open “Details” of a ZIP to compare names before and after. Changed parts are highlighted, and removed or left-out entries are listed with the reason.
4. If auto-detection of the encoding is wrong, use “Compare encodings” in the details: see how the same names read under each encoding and press “Use this” on the row that reads correctly. This is per ZIP.
5. Save one repaired ZIP at a time with “Save repaired ZIP”, or everything with “Save all as ZIP” (repaired ZIPs plus report.csv).

## Use cases

- A ZIP made on Japanese Windows shows garbled names on a Mac — repair it and pass it on
- A ZIP from a Mac litters Windows with a “\_\_MACOSX” folder and “.\_” files — remove them
- A ZIP made on a Mac shows “か゛” instead of “が” on Windows — fix the split voiced marks
- A ZIP spills files everywhere when extracted — wrap it in a single folder
- Tidy deliverables in bulk and keep a record of the changes (report.csv)

## What it does

### Five fixes in one step

File-name encoding, clutter removal, split voiced marks (NFD → NFC), wrapping in a folder and re-creation with UTF-8 flags happen in a single pass. No unpack-delete-repack.

### Encodings side by side

The encoding is detected from the UTF-8 flag, the Unicode Path field and the bytes. If it is wrong, a table shows the same names read under each encoding so you can pick again per ZIP.

### Clutter you can pick per kind

The top-level \_\_MACOSX folder, Mac resource forks (“.\_” files with AppleDouble content and a same-named file beside them), .DS\_Store, Thumbs.db and desktop.ini can each be removed or kept independently. Clutter hidden behind “../” paths is found too.

### No recompression, verified before re-packing

Compressed data is copied as it is, so contents and timestamps do not change. By default each file is decoded once first to check CRC-32 and size, and damaged files are left out and reported. The written ZIP is read back to confirm names and UTF-8 flags.

### See exactly what changed

Names before and after side by side with the changed part highlighted. Counts of removed and renamed entries, Zip Slip sanitising and warnings for what could not be repaired (such as encrypted files), and a report.csv.

### Batch processing

Repair many ZIPs at once and save them individually, or as one ZIP (a ZIP of ZIPs) holding the repaired ZIPs and report.csv.


## Supported formats

### Input

- ZIP (ZIP64, Shift\_JIS names, UTF-8 names, the ZIP part of self-extracting EXEs)
- Up to 100 files

### Output

- ZIP (UTF-8 file names with the flag)
- report.csv (UTF-8 with BOM)
- A ZIP of ZIPs for several files


## Capability matrix

| Feature | Support | Notes |
| --- | --- | --- |
| File-name encoding repair | Supported | UTF-8 flag, Unicode Path, auto-detection (UTF-8 / CP932 / CP437), manual override (also GBK, Big5, EUC-KR) |
| Side-by-side encoding candidates | Supported | Per ZIP: sample readings and the number of invalid names |
| Clutter removal (per kind) | Supported | Top-level \_\_MACOSX, Mac resource forks (.\_ + AppleDouble content), .DS\_Store, Thumbs.db, desktop.ini. A deeper folder named \_\_MACOSX and ordinary .\_ files are kept |
| Split voiced marks (NFD → NFC) | Supported | On by default |
| Wrap everything in one folder | Supported | Optional; skipped if everything is already inside one folder, whatever its name |
| Re-create with UTF-8 flags (no recompression, CRC check) | Supported | Verification can be switched off (faster) |
| Batch processing and a ZIP of ZIPs | Supported | Up to 100 files at a time; a ZIP of ZIPs up to 1 GiB of repaired ZIPs in total |
| Before → after list and report.csv | Supported | First 50,000 entries per ZIP in both (the CSV gets a cut-off row and a column with the saved ZIP name) |
| Zip Slip sanitising, symlink exclusion | Supported | Warned about and written in a safe form |
| Repair encrypted ZIPs | Not supported | Encrypted files are left out with a warning. Remove the password first |
| Repair damaged or split ZIPs | Not supported | A ZIP whose central directory cannot be read cannot be opened |
| Non-ZIP formats (tar.gz, 7z, RAR) | Not supported | Name repair (rebuilding the archive) works on ZIP only. Archive Studio can list and extract tar.gz, 7z and RAR, but nothing here rebuilds them with repaired names |
| Browse contents, extract single files, create archives | Not supported | Those are Archive Studio features |
| Offline use | Supported | Works without a connection once loaded |

## Limits & notes

- Up to 100 files can be added at once. ZIPs are processed one after another.
- One ZIP can hold up to 2 GiB unpacked in total and 300,000 entries. Files compressing by more than 1000:1 are left out.
- “Save all as ZIP” takes up to 1 GiB of repaired ZIPs in total; above that, save them one by one.
- A repaired ZIP is held in browser memory until it is saved, so near 2 GiB it may fail on devices with little memory.
- Encrypted files, symbolic links and damaged files are not put into the repaired ZIP (the count is shown as a badge in the list and in the details, and confirmed before saving; a ZIP whose includable files are all encrypted gives an error instead of an empty ZIP). Compression methods other than Deflate and Stored cannot be verified, so those files are copied as they are and flagged “unverified”.
- “Before” names are what you see when opening without an encoding (UTF-8 names as they are, others read as CP437). Appearance differs by environment.
- Modification times, compressed data and file attributes are copied as they are. The ZIP comment is not carried over.

## Privacy & safety

Files are never uploaded: your browser reads and processes them on your device. File names, contents and before/after names are not sent, stored or included in analytics (only numbers such as counts). Safe for confidential ZIPs.

## FAQ

### Why are file names in my ZIP garbled?

A ZIP can only say whether names are UTF-8 through a flag. Japanese Windows writes names in Shift\_JIS (CP932) without the flag, so macOS and newer tools read them as another encoding. This tool detects the encoding from the bytes, fixes the names and re-creates the ZIP with UTF-8 flags, so it does not garble anywhere.

### Is it safe to delete \_\_MACOSX and .\_ files?

Only the top-level \_\_MACOSX and “.\_” files that have AppleDouble content and a same-named file beside them are removed. They are copies of extended attributes (resource forks) that macOS adds when zipping, and are useless on Windows and Linux. The real files are unchanged; only Mac-specific attributes (labels, comments) are lost. Other files that start with “.\_”, and a folder named \_\_MACOSX deeper down, are kept as your own data.

### Why does “か゛” appear with a detached mark?

A Mac may store “が” as “か” plus a combining mark (NFD), and Windows shows them apart. Normalising to NFC gives the single character “が” that Windows normally uses. This tool fixes it by default.

### What if auto-detection picks the wrong encoding?

Open the details of the ZIP: “Compare encodings” shows the same names read under every encoding. Press “Use this” on the row that reads correctly and only that ZIP is redone. GBK, Big5 and EUC-KR are available too.

### Can it repair password-protected ZIPs?

No. Encrypted files are left out of the repaired ZIP with a warning, and passwords are never cracked. Use a ZIP without the password.

### Does it also fix garbled text inside a CSV in the ZIP?

No. This tool repairs file and folder names. If the text inside a CSV or text file is garbled, extract it and use the CSV encoding fixer.

### Can I browse a ZIP or take out single files?

This tool is only for repairing and passing on. Browsing, preview, extracting single files, extracting to a folder and creating archives are in Archive Studio, which uses the same engine.
