winapfs logo

Mac disks on Windows, as ordinary drive letters

Plug in an APFS-formatted drive and open it in Explorer. Free, open-source software that reads Mac volumes, with experimental write support.

Windows 10 / 11 x64 · about 4 MB · includes WinFsp · GPL-2.0

Experimental software, use at your own risk. winapfs is beta and writing to APFS is experimental: a bug could corrupt a volume and lose data. Back up anything you care about before connecting a disk, and before enabling writes. Disks mount read-only by default.

Features

Mounts automatically

A background service mounts APFS volumes when you connect a disk, remembers pinned drive letters, and unmounts cleanly on eject and shutdown.

Dashboard and tray app

See live read and write speed and capacity, safely eject, switch read-only or read-write, pin letters and run Verify Disk.

Faithful to the Mac

Mac file names (even with characters Windows forbids), compressed files, symlinks, extended attributes and timestamps.

Encrypted volumes

Read FileVault and encrypted APFS volumes with the password or recovery key. Optionally save it in Windows Credential Manager.

Disks and images

Several volumes per container, GPT disks with 512- or 4096-byte sectors, and raw .img disk images.

Nothing proprietary

The Linux APFS driver runs in user mode through WinFsp. winapfs adds no kernel driver of its own.

Status

CapabilityState
Reading files, metadata, attributes, links, compression✅ Stable, checked against manifests made on macOS
Encrypted volumes✅ Read-only
Writing to unencrypted volumes🧪 Experimental. Physical-disk writes are opt-in
Writing to encrypted volumes, snapshots⏳ Planned
Writing to Fusion drives, Time Machine, macOS system volumes⛔ Refused

On every push to main, CI sends nine test images written by winapfs, including some written during simulated crashes and on a full disk, to macOS. Apple's fsck_apfs checks them, macOS writes to them, and it checks them again. See the runs. Writes to real disks have not been checked by Apple's tools.

Install

All-in-one (recommended)

Installs WinFsp 2.2 and winapfs in one step.

winapfs-0.8.0-x64-setup.exe

MSI only

If WinFsp 2.x is already installed.

winapfs-0.8.0-x64.msi

The installers are not code-signed yet, so SmartScreen may warn you (“More info” → “Run anyway”). Check your download against SHA256SUMS. All releases.

  1. Run the installer.
  2. Connect your APFS disk. It appears under This PC, read-only.
  3. Click the winapfs tray icon to manage it. To uninstall, use Settings → Apps.

Command line

winapfs list                       # APFS disks, partitions and volumes
winapfs mount disk.img *           # mount an image, no admin needed
winapfs mount-all --ask            # every volume; ask for passwords
winapfs ctl set Backup DriveLetter M:
winapfs ctl eject Backup           # flush, unmount and eject
winapfs-fsck \\.\PhysicalDrive2    # check a container (read-only)

How it works

User mode
Explorer and your appsSee a normal drive letter
Windows file calls
Windows kernel
WinFsp driverPasses file requests to user mode
requests
User mode: winapfs
winapfs front-endMaps create, read, rename, streams, reparse points and security onto an APFS reader
unencrypted
linux-apfs-rwLinux APFS driver: read, experimental write
kernel API calls
kshimThe Linux kernel APIs it needs, in user mode
block I/O
encrypted
ApfsLibFrom apfs-fuse: read-only
block I/O
APFS disk or imagePhysical drive or raw .img file
Outlined boxes are the parts written for winapfs. Replies travel back up the same path.

linux-apfs-rw is built with a few marked patches. Encrypted volumes are read with ApfsLib from apfs-fuse. winapfs-fsck, a Windows port of apfsck from apfsprogs, checks containers.

How a write stays recoverable

  1. Last checkpointThe saved state points to the current blocks.
  2. Copy on writeChanges go into free space. The checkpoint's blocks are left alone.
  3. New checkpointSaving it switches to the new state.
Simplified. Grey is existing data, purple is newly written. This design means a crash or pulled cable before step 3 should leave the last checkpoint intact. Writing is still experimental: keep a backup.

FAQ

Is it safe to write to my disk?

Don't rely on it without a backup. Writing is off by default and experimental. Copy-on-write transactions are designed so that a crash or pulled cable leaves the last checkpoint intact. If you only need to copy files off, stay read-only.

How do I turn on writing?

Choose Read-write for the volume in the tray, or use --rw on the command line. Physical disks also need Allow writing to disks (--allow-disk-writes).

Why won't my volume mount read-write?

winapfs refuses if the disk wasn't ejected cleanly from the Mac, or if the volume is encrypted, sealed, a Time Machine backup, another macOS-owned role, or part of a Fusion drive. For an unclean disk, eject it properly on the Mac or use read-only.

What are the other limitations?

Hard links can't be created from Windows, and existing ones show as separate files. macOS owners aren't mapped to Windows accounts. Compressed files are rewritten uncompressed when changed.

How do I report a bug?

Open an issue with your Windows version and winapfs list output. For write problems, add winapfs-fsck output. Never send disk images containing private data.