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 name | Mach-O executable |
|---|---|
| Hexadecimal magic bytes | CF FA ED FE / FE ED FA CF |
| ASCII / marker preview | .... (0xFEEDFACF) |
| Byte offset | 0 |
| MIME type | application/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.
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?
| Platform | Compatible applications & tools |
|---|---|
| Mac (macOS) | macOS loader (inside signed .app bundles), otool / file / codesign in Terminal |
| iPhone & iPad | iOS kernel loader (App Store signed bundles only) |
| Windows | Inspect only (Hex Viewer) |
Free local tools & related guides
- Check whether a file really is Mach-O
- Inspect raw bytes in the Hex Viewer
- Guide: How to identify an unknown file type
- Guide: How to Change a File Extension Safely
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.