Open PACK files in your browser
A Git repository's history, packed. See its commits, tags and branches and the files of its newest commit, right here. Nothing leaves your device.
Or drop it anywhere on this page
What you'll see
Your pack opens as the history it holds, every object unpacked in your browser.
- Commits • Authors, dates and messages
- Tags and a bundle's branches
- The newest commit's files • Their sizes
- Its checksum, checked
About PACK
A .pack file is where Git keeps a repository's history: every commit, tree, file and tag, each packed with zlib and many kept as a change to an object like it. Git writes packs into .git/objects/pack with an .idx beside each, sends one with every clone and fetch, and git gc packs loose objects into them.
A pack starts with PACK, its version and how many objects it holds, each with its type and size, and ends with a SHA-1 of everything before it. A git bundle puts the branches and tags it carries and the commits it needs first ahead of a pack, so a repository can travel as one file.
Filepeek unpacks every object and works out each change, then shows the commits with their authors, dates and messages, the tags, the branches a bundle carries, the files of the newest commit and the pack's checksum, checked. A bundle opens by its first line, whatever its name.
Git pack file
.pack
Format
- MIME type
- application/octet-stream
- Made by
- The Git project
- Released
- 2005
Inside the file
- Starts with
- PACK
- Holds
- Commits, trees, files, tags
- Packing
- zlib and deltas
- Index
- An .idx beside it
Opens in every browser
Filepeek reads a Git pack or bundle in Chrome, Edge, Firefox and Safari. On their own, browsers download them, and reading one usually takes Git.
- YouChromeOpens through Filepeek
- YouEdgeOpens through Filepeek
- YouFirefoxOpens through Filepeek
- YouSafariOpens through Filepeek
Apps that open PACK
- WindowsGit reads it in a terminal • No app opens it
- MacGit reads it in Terminal • No app opens it
- iPhone and iPadNo app opens it
- AndroidNo app opens it
Questions
How do I open a git bundle?
Drop it on this page, whatever its name: Filepeek knows a bundle by its first line and shows its branches and tags, the commits it needs first and every commit it carries. git clone notes.bundle makes a repository of it.
Why are some objects changes to objects the pack doesn't carry?
A thin pack, which fetches and incremental bundles send, keeps some objects as changes to objects the receiving repository already has. Without that repository, those objects can't be put back together.
Can I get a file out of a pack?
Filepeek lists the newest commit's files with their sizes. In a repository, git unpack-objects unpacks every object, and git cat-file prints one.
How do I check a pack isn't damaged?
Filepeek checks the SHA-1 at its end against everything before it. git verify-pack -v, given the .idx beside it, checks every object too.