.pkg
📦 ArchiveBinary

.pkg File — macOS Installer Package

application/x-newton-compatible-pkg

File Inspector

Drop any file to identify its extension and type — runs entirely in your browser

PKG

Drop a .pkg file here or click to choose

Or drop any file to identify its extension

Expected MIME type:application/x-newton-compatible-pkg

Quick Facts

Extension.pkg
Full NamemacOS Installer Package
MIME Typeapplication/x-newton-compatible-pkg
CategoryArchive
TypeBinary
Typical Size1 MB – 5 GB
First Appeared2001

What Is a .pkg File?

PKG files are macOS installer packages that contain software, configuration scripts, and metadata for automated installation on macOS systems. PKG files use a structured format based on XAR (eXtensible ARchive) that includes a Bill of Materials (BOM) listing all files to be installed, JavaScript or shell scripts for pre-installation and post-installation actions, installation check scripts, volume check scripts, and the payload files themselves compressed with gzip or bzip2. The macOS Installer application (installer CLI or Installer.app GUI) processes PKG files, presenting license agreements, destination selection, and installation progress. PKG files support component packages (individual installable units) and distribution packages (meta-packages that bundle multiple component packages with a custom installer UI defined by an XML distribution script). Enterprise deployment tools (Jamf, Munki, MDM solutions) use PKG files extensively for automated software distribution. PKG files are created using pkgbuild and productbuild command-line tools or third-party tools like Packages.app and Whitebox Packages. Apple Developer ID signing is required for PKG files to pass Gatekeeper verification on modern macOS versions.

How to Open .pkg Files

macOS Installer (native)
Suspicious Package (inspection)
pkgutil
7-Zip (extraction)
Pacifist

Related File Extensions

More Archive File Extensions

Other archive formats you might encounter

Browse File Extensions by Category

Explore our reference of 259 file extensions with details, programs, and related formats.