Mach-O Viewer
Drop a macOS or iOS program, .dylib, framework binary or .o file to see what otool, nm and codesign would tell you, without a Mac and without uploading it.
- Files are processed locally. Nothing is uploaded to a server.
How it works
Drop the binary onto the box above. In an app bundle it is the file with the app’s name inside Contents/MacOS/ (macOS) or Payload/App.app/ (iOS). You can also drop the whole .ipa, zipped .app or .dmg and click the binary in the file list.
Read the summary: architectures, platform and minimum OS version, identifier, Team ID, who signed it, hardened runtime, UUID, linked libraries and how many symbols it exports and imports.
Open the sections you need, filter the symbol lists, or download the symbols as an nm-style text file or CSV, the entitlements as a plist, the UUIDs, or one architecture of a universal binary on its own.
What the Mach-O viewer shows
- Slices: every architecture in a universal (fat) binary, such as arm64, arm64e and x86_64, with its size, UUID and minimum OS. Each slice can be saved on its own, like
lipo -thin. - Platform: macOS, iOS, Mac Catalyst, tvOS, watchOS or visionOS, the minimum version, the SDK it was built with and the linker version.
- Linked libraries: every dylib and framework it loads, whether it is required, weak or re-exported, and its version, plus the
@rpathsearch paths. This is whatotool -Lprints. - Code signature: identifier, Team ID, signing certificate, CDHash, hardened runtime, ad hoc or linker signing, and the entitlements as XML.
- Symbols: exported symbols from the exports trie, imported symbols with the library each comes from, and the full symbol table when it was not stripped, with a filter box. Names are shown as stored (Swift and C++ names stay mangled).
- Sections: every segment and section with its size and entropy, plus whether the code is encrypted by the App Store.
Match a crash log to its dSYM
Crash reports name each binary by its UUID. Drop the app binary or the dSYM’s DWARF file here to read the UUID for each architecture, the same value dwarfdump --uuid prints. If the UUIDs differ, that dSYM cannot symbolicate the crash.
App Store binaries
Apps downloaded from the App Store are encrypted with FairPlay. The viewer says so, and still shows what stays readable: libraries, imported symbols, the exports dyld needs, the signature and the entitlements. Section contents and Objective-C class names cannot be read from an encrypted binary.
Frequently asked questions
Frequently asked questions
Can I open a Mach-O file on Windows or Linux?
Yes. This page reads Mach-O files in any modern browser, so you can check a macOS or iOS binary from Windows, Linux or a Chromebook. Nothing is uploaded.
How do I find the UUID of a binary or dSYM?
Drop it here. The UUID of each architecture is shown in the summary and can be downloaded as a text file. It is the same value that dwarfdump --uuid and crash reports use.
Is this the same as otool and nm?
It covers the questions people use them for most: otool -L (linked libraries), otool -l (load commands such as the minimum OS and rpaths), nm (symbols) and codesign -d (identifier, Team ID, CDHash, entitlements). It does not disassemble code.
Why are the symbol names so long and strange?
Swift and C++ encode type information into symbol names (name mangling). They are shown as stored in the file. Run them through swift demangle or c++filt to read them.
Does it check that the signature is valid?
No. It reads who signed the binary and the hashes in the signature, but does not verify the certificate chain or the code hashes. macOS and iOS do that when the code runs.
Which files does it open?
Mach-O programs, dylibs, bundles, kernel extensions, object files and dSYM DWARF files, both 64-bit and 32-bit, thin or universal. Old PowerPC binaries are recognised but only their type is shown.