Works
Viewing, inspecting and verifying. You get a byte-level hex and ASCII dump alongside the detected signature, exact size and type analysis. File details, exact byte size and the detected signature are always shown.
If double-clicking a PKG file did nothing useful, that is normal: this extension carries no standard structure, so there is nothing for a generic viewer to hand off to. This page explains the format and gives you a way to read one immediately.
macOS Installer Package is a binary & system format developed by Apple, first appearing in 2001. It is normally produced by macOS software distribution.
A XAR archive with install scripts and a payload. Signed packages are verified by Gatekeeper before anything executes.
| Full name | macOS Installer Package |
|---|---|
| File category | Binary & system |
| MIME type | application/x-newton-compatible-pkg |
| Magic bytes (file signature) | 78 61 72 21 (xar!) |
| Developer | Apple |
| Introduced | 2001 |
| Usually created by | macOS software distribution |
| OpenAnyFile engine | universal hex inspector |
| Opens without upload | Yes — parsed locally in your browser |
OpenAnyFile routes .pkg to its universal hex inspector, which inspects a byte-level hex and ASCII dump alongside the detected signature, exact size and type analysis.
Viewing, inspecting and verifying. You get a byte-level hex and ASCII dump alongside the detected signature, exact size and type analysis. File details, exact byte size and the detected signature are always shown.
Full-fidelity rendering. This extension has no standard structure, so you get a byte-level inspection rather than a rendered view.
Most online viewers work by sending your file to their server, processing it there, and leaving a copy behind on infrastructure you do not control. OpenAnyFile does not. Your .pkg file is read through the browser's local File API and decoded by JavaScript and WebAssembly running on your own machine. There is no upload step and no server-side copy — open your browser's network tab while you do it and watch: the file never appears.
Yes. OpenAnyFile's universal hex inspector runs in your browser, so you can read a PKG file with nothing installed. You get a byte-level hex and ASCII dump alongside the detected signature, exact size and type analysis. It will not replace the original application for editing, but it answers 'what is in this file' in seconds.
Look at the first bytes rather than the extension. A genuine PKG begins with 78 61 72 21 (xar!). Opening the file in OpenAnyFile shows that signature in the file-details panel, so a file renamed to .pkg by mistake is easy to spot.
With OpenAnyFile, yes, because nothing is uploaded. The file is read locally through your browser's File API and never leaves your device, so there is no server copy to leak, log or retain. That matters most for the kind of file people are least willing to hand to a random converter site.
macOS Installer Package — an application/x-newton-compatible-pkg format created by Apple since 2001. A XAR archive with install scripts and a payload. Signed packages are verified by Gatekeeper before anything executes.
Yes — the same engine also opens .dll, .doc, .exe, so you can compare related files without switching tools.
These open with the same engine, so if you have one of these sitting next to your .pkg file, it will open too: