Free online PKG to ZIP converter
Extract Apple PKG contents into a broadly compatible ZIP archive.
Convert PKG to ZIP online - free
Your file is processed instantly and deleted as soon as you download it.
Import a file from a URL
Paste a direct link to the file. We download it to our server and it is converted exactly like an upload.
How it works
-
1/3
Upload your .pkg file
Click to browse to select your file you want to convert or simply drag & drop your file into selected area.
-
2/3
Perform .pkg to .zip conversion
After successful file upload, click to convert when you are ready.
-
3/3
Download converted .zip file
Conversion result is ready to download.
How to convert pkg to zip file
- Archives
- Rating: 3.0/5
A recipient may need ZIP because a file manager, archive system, or sharing workflow accepts ZIP but cannot inspect an Apple installer package. Extracting a PKG into ZIP exposes its files, but putting the untouched PKG inside a ZIP is the correct option when installation, signing, or verification must remain possible.
What the PKG format is
In the Archives category, .pkg usually identifies an Apple Installer package for macOS, produced by tools such as pkgbuild and productbuild. A modern flat PKG commonly uses the XAR container format and can contain distribution metadata, PackageInfo, a bill of materials, installation scripts, component packages, and compressed Payload archives.
Apple uses PKG files for macOS applications, system components, developer output, and managed enterprise deployment. A package can contain several component packages, so extracting it may show installer metadata and package structure rather than the final directory tree installed on a Mac. Other systems also use the .pkg extension; check an unfamiliar file with file package.pkg before choosing a method.
What the ZIP format is
.zip is a general-purpose archive format that bundles files and folders with optional compression. Finder, Windows File Explorer, Linux archive tools, and most file-management applications can open ZIP without macOS package-management software.
ZIP is useful for inspection, transfer, submission to systems that accept only ZIP, and broad-compatibility storage. It is not an installable replacement for PKG: a ZIP made from extracted package contents does not supply the Installer metadata, payload handling, scripts, package receipts, or usable signing and distribution logic of the original.
How to convert PKG to ZIP on macOS
- Work on a copy of the original and confirm its type with
file package.pkg. For an Apple package, list the outer container withxar -tf package.pkg. - Create a destination directory and expand the package recursively with
mkdir expanded-package, followed bypkgutil --expand-full package.pkg expanded-package. This option expands nested component packages where supported. - If the installed macOS version does not support
--expand-full, usepkgutil --expand package.pkg expanded-package. This may leave component packages or payload archives inside the expanded result. - Create a ZIP containing the resulting directory with
ditto -c -k --sequesterRsrc --keepParent expanded-package package.zip. - Check the archive with
unzip -t package.zip, then open it and verify that it contains the intended files.
If pkgutil fails but xar -tf identifies an XAR container, create an empty destination and run mkdir xar-contents, then xar -xf package.pkg -C xar-contents. ZIP will contain the package’s internal files, not an equivalent installer.
How to convert PKG with an archive utility
On Windows or Linux, open the file in a desktop utility that supports XAR, such as a current 7-Zip build. If it recognizes the PKG, choose Extract and write the contents to a new folder; then select that folder, choose Add to archive, set the format to zip, and create the output. The command-line equivalent is 7z x package.pkg -oexpanded-package, followed by 7z a -tzip package.zip expanded-package.
PKG recognition varies by archive utility and build. A failed 7-Zip extraction does not establish that the file is corrupt; use pkgutil or xar on macOS when possible.
Using the built-in online converter
You can convert the file on 101convert.com for free without installing software: upload the PKG, select ZIP, start the conversion, and download the result. Do not upload packages containing credentials, certificates, proprietary software, personal data, licensed material, or unreleased files; local extraction avoids sending those contents to a third party.
Quality and compatibility limits
Extracting and recompressing a PKG does not preserve installer behavior. Scripts become ordinary files, and package signatures, receipts, distribution logic, ownership, permissions, ACLs, extended attributes, hard links, symbolic-link behavior, and payload metadata may be lost or changed. A ZIP reader on Windows or Linux may also ignore macOS-specific metadata or display it as extra files.
Already-compressed payloads can make the resulting ZIP larger than the original PKG. Use the original PKG when installation fidelity, signature validation, permissions, or package receipts matter.
To distribute the installer without changing it, put the untouched file inside a ZIP rather than extracting it: ditto -c -k --keepParent package.pkg package-wrapper.zip, or use Finder’s Compress command. The PKG remains intact inside the wrapper, but the recipient must extract it before using macOS Installer.
PKG vs ZIP: format comparison
How the PKG and ZIP formats compare on the properties that matter most for this conversion.
| Property | .PKG macOS installer package | .ZIP ZIP archive |
|---|---|---|
| Compression | Lossless | Both |
| Compression ratio | — | Medium |
| Encryption | No | Yes |
| Split archives | No | Yes |
| Recovery record | No | No |
| Operating system support | Limited | Wide |
| Typical file size | Large | Medium |
| Open standard | No | Yes |
| Introduced | — | 1989 |
| Developer | Apple | Phil Katz / PKWARE |
| MIME type | — | application/zip |
Information about file extensions and file types is provided by File-Extensions.org
The database currently does not contain any direct pkg file converter links.
Frequently asked questions
Is the PKG to ZIP converter free?
Yes, converting PKG to ZIP on 101convert.com is completely free. No registration, email address or installation is required. If you need a higher file size limit or want to convert more files at once, see our plans.
How large can my PKG file be?
You can upload PKG files up to 30 MB and convert up to 1 files at once in a single batch. With a paid plan the limit is up to 1000 MB per file and 1 files at once, see our plans.
What happens to my uploaded files?
Files are processed automatically and deleted from our servers within a few minutes after conversion. We never view or share your files.
Do I need to install any software to convert PKG to ZIP?
No. The PKG to ZIP conversion runs entirely online in your browser and works on Windows, Mac, Linux, Android and iPhone.
Did the conversion fail?
In most cases, the cause is an incorrect file format. Please upload a valid PKG file for this PKG to ZIP conversion. Occasionally, the issue may be on our side. We analyze recurring conversion failures and disable or fix the converter if we detect a defect.
Can every .pkg file be converted to .zip?
No, only .pkg files whose internal contents can be read and extracted can be repackaged as .zip. The .pkg extension is used for several different package formats, and some are not ordinary archives.
Are .pkg files smaller after conversion to .zip?
The ZIP result may be smaller, larger, or about the same size because the outcome depends on the files' existing compression and the ZIP settings. Files that are already compressed often gain little from being repackaged.
Why does my .pkg fail when I try to convert it to .zip?
It usually fails because the .pkg is a platform-specific installer or uses a package structure that the extraction method does not recognize. A package that requires special handling, permissions, or integrity checks cannot simply be renamed or treated as a standard archive.
Additional formats for
pkg file conversion
Reverse conversion
Convert to zip from
other formats
- apk to zip
- 7zip to zip
- 7z to zip
- img to zip
- exe to zip
- tar.zst to zip
- war to zip
- wab to zip
- torrent to zip
- vcf to zip
- ace to zip
- 001 to zip
- 002 to zip
- 003 to zip
- 004 to zip
- 7-zip to zip
- 7z.001 to zip
- a00 to zip
- ace to zip
- adf to zip
- aia to zip
- alz to zip
- ar to zip
- arc to zip
- arj to zip
- b1 to zip
- bin to zip
- boe to zip
- bz2 to zip
- c00 to zip
- cab to zip
- cbt to zip
- cbz to zip
- cpgz to zip
- cpio to zip
- crypt10 to zip
- crypt12 to zip
- crypt9 to zip
- czip to zip
- db to zip
- deb to zip
- dps to zip
- egg to zip
- enc to zip
- enc4 to zip
- gz to zip
- ha to zip
- hqx to zip
- htmlz to zip
- ipa to zip
- ipz to zip
- iso to zip
- jar to zip
- jpa to zip
- lha to zip
- lhz to zip
- lit to zip
- ll to zip
- lzh to zip
- lzo to zip
- nba to zip
- nbf to zip
- nco to zip
- nfp to zip
- paq8 to zip
- part to zip
- pax to zip
- pea to zip
- pf to zip
- piz to zip
- pkgf to zip
- ppz to zip
- pup to zip
- pzip to zip
- rar to zip
- rar5 to zip
- rpm to zip
- rzr to zip
- sb to zip
- sb2 to zip
- sbe to zip
- sfs to zip
- sfx to zip
- sit to zip
- sitx to zip
- tar to zip
- tar.bz2 to zip
- tar.gz to zip
- tar.xz to zip
- tar.z to zip
- taz to zip
- tbz to zip
- tbz2 to zip
- tgz to zip
- tmp to zip
- tpz to zip
- tsk to zip
- txz to zip
- uu to zip
- uue to zip
- vhd to zip
- vsf to zip
- wba to zip
- wia to zip
- wim to zip
- wjf to zip
- wsz to zip
- xap to zip
- xapk to zip
- xar to zip
- xpi to zip
- xsn to zip
- xz to zip
- z to zip
- z01 to zip
- z02 to zip
- zab to zip
- zi to zip
- zip2 to zip
- zipx to zip
- zix to zip
- zoo to zip
- zpaq to zip
- zst to zip