What is the PAK file format?
A .pak file is a game resource archive capable of storing multiple files - textures, models, maps, sounds and scripts - within a single package. The format is most closely associated with id Software's *Quake* engine (1996), which defines a binary layout identifiable by the four-byte magic signature PACK at the start of the file.
A .pak archive may occur in a compressed or uncompressed version. The original Quake layout is uncompressed; other engines that reuse the .pak extension may apply ZLIB or other compression schemes instead.
The .pak extension is not a single standardized format - id Software, Valve, Unreal Engine and many indie studios all use it with different, often undocumented internal structures. Related formats used across similar games include .pk3 (the Quake III variant, essentially a ZIP archive), .vpk (Valve Source Engine), and .wad (the earlier id Software level pack).
PAK files are often used by game developers who place in them all elements necessary to run a game. Because the internal layout depends entirely on the originating engine, .pak files can usually be opened with game-aware tools such as Dragon UnPACKer, QuArK or PakExplorer; variants that are plain ZIP files can be opened directly by 7-Zip.
Security & safety
RISK: MEDIUMThe number-one risk is self-inflicted: deleting, renaming or wrongly editing a game's .pak files breaks or corrupts the installation - never touch them to "free space"; uninstall the game instead. Downloaded PAKs (mods) are a second concern: a PAK is just an asset container, but mod packages can ship alongside executables or scripts, so get mods only from reputable sites for that game and back up the original .pak before replacing it. The container itself does not auto-run code, but malformed PAKs have occasionally exposed parser bugs in game engines.
Format details
in a nutshellPrograms that open PAK files
Technical details
deep spec| Format type | Binary game asset archive; no single universal specification |
| Primary magic bytes | PACK (hex 50 41 43 4B) at offset 0 - Quake/id Software variant only |
| Header size (Quake variant) | 12 bytes: 4-byte magic + 4-byte directory offset + 4-byte directory size, little-endian |
| Directory entry size (Quake variant) | 64 bytes per file: 56-byte null-padded filename + 4-byte data offset + 4-byte data length |
| Byte order | Little-endian (Quake/id Software variant) |
| Compression | Quake PAK stores files uncompressed; other engine variants may use ZLIB, zstd, or proprietary schemes |
| MIME type | application/octet-stream |
| Asset types stored | Textures, 3-D models, level maps, audio samples, shaders and scripts |
| Engine variants | id Software/Quake, Valve Source Engine, Unreal Engine, S.T.A.L.K.E.R., and many custom indie engines |
| Identification requirement | Engine context is needed; the .pak extension alone does not determine the internal layout |
| Max filename length (Quake variant) | 56 characters per directory entry |
| Nesting support | Files accessed by internal path strings; no recursive container support in the Quake variant |
| Related formats | .pk3, .vpk, .wad, .bsa, .big, .dat |
| Tool compatibility | Game-aware extractors (Dragon UnPACKer, QuArK, PakExplorer, GCFScape) required; 7-Zip handles ZIP-based variants only |
| Released | 1996 (id Software Quake PAK is the best-known early use) |
PAK conversions
Community Q&A
asked by usersNo questions yet - be the first to ask about PAK files.