Executables & System · Updated · All file signatures

macOS & iOS Mach-O Magic Bytes (CF FA ED FE)

Mach-O (Mach Object) is the native executable, dynamic library (.dylib) and kernel extension format on macOS, iOS, iPadOS, watchOS and tvOS. 64-bit Mach-O binaries start with 0xFEEDFACF—appearing on little-endian Apple Silicon and Intel Macs as CF FA ED FE (and 32-bit binaries as CE FA ED FE / 0xFEEDFACE).

Signature & identification summary

Detected format nameMach-O executable
Hexadecimal magic bytesCF FA ED FE / FE ED FA CF
ASCII / marker preview.... (0xFEEDFACF)
Byte offset0
MIME typeapplication/x-mach-binary
Common extensions & aliases.dylib, .bundle, .so

Check whether your file really is Mach-O.

Drop any file into File Sniff’s free local browser checker to verify its CF FA ED FE / FE ED FA CF signature and spot misleading extensions—without uploading a single byte.

Check a file’s real type ↗︎

Container & byte-layout notes

Inside a macOS Application (.app folder, which Finder presents as a single icon), the actual compiled Mach-O binary sits at Contents/MacOS/<AppName> with no filename extension, accompanied by LC_CODE_SIGNATURE load commands for Apple notarisation and Gatekeeper.

Extension mismatches & common pitfalls

Note that Universal 2 (“fat”) macOS binaries bundling both arm64 and x86_64 slices start with CA FE BA BE before each architecture’s CF FA ED FE Mach-O slice. Never grant Terminal execution permissions to an untrusted Mach-O download.

Which apps open Mach-O files?

PlatformCompatible applications & tools
Mac (macOS)macOS loader (inside signed .app bundles), otool / file / codesign in Terminal
iPhone & iPadiOS kernel loader (App Store signed bundles only)
WindowsInspect only (Hex Viewer)

Free local tools & related guides

Inspect files & folders natively
on Mac, iPhone & iPad.

The native File Sniff app scans entire folders, spots extension mismatches, repairs extensions with Undo on Mac, and exports CSV or JSON reports locally.

Download on the App Store ↗︎