.VPK

VPK File

Valve Pak
Ask a question
QUICK ANSWER

A VPK file is a Valve Pak - the archive format Source-engine games (TF2, Portal 2, Left 4 Dead, Dota 2, CS) use to store models, textures, sounds and maps. Open one for modding with the free GCFScape or Valve's vpk.exe. Do not delete or rename a game's VPK files; it breaks the installation. Note: PS Vita homebrew also uses .vpk, but that is a separate ZIP-based format.

Developer: Valve Corporation Category: Game Files MIME: application/octet-stream
OPENS ON Windows Linux
Related: .OBB · .PAK · .ROFL · .PACKAGE

On this page

19k+ extensions indexed
Last reviewed Jul 31, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the VPK file format?

A .vpk file, also known as a Valve Pak file, is an uncompressed archive used to package game assets for Valve's Source engine. The .vpk can contain a master directory that stores materials, models, particles, choreography scenes, sounds, and other file types. The .vpk format is a successor to the older .GCF content format, replacing it as the standard packaging system for Source-engine titles such as *Counter-Strike: Global Offensive*, *Team Fortress 2*, and *Left 4 Dead 2*.

The .vpk file comprises a master directory file and one or more numbered VPK archive files. The directory file (typically named pak01_dir.vpk) carries a 4-byte little-endian magic signature (34 12 AA 55 at offset 0) and an index of every asset - its extension, path, filename, per-file CRC-32 checksum, and which numbered archive holds its data. The numbered archives (pak01_000.vpk, pak01_001.vpk, …) hold raw, uncompressed asset bytes with no header of their own; individual archives are typically capped near 200 MB. Assets such as .VMT material files or .VTF textures can also store a small preload block of up to 65,535 bytes inline in the directory entry itself.

The .vpk file is created using the command-line tool vpk.exe included in the Source SDK, and the file can be stored as part of a VPK package that spans multiple archives. Two format versions exist: Version 1 (header plus directory tree) and Version 2, which adds MD5 checksums and an optional RSA signature block for package-level integrity verification. Third-party tools such as GCFScape and Crowbar allow browsing, extracting, and repacking .vpk archives on Windows.

Security & safety

RISK: MEDIUM

The main risk is self-inflicted: deleting, renaming or carelessly editing a game's .vpk files breaks or corrupts the installation - never remove them to 'free space'; use Steam to uninstall instead. Downloaded VPK mods are a second concern: a VPK is just an asset container that doesn't auto-run code, but mod packages can ship alongside scripts or executables, so get mods from reputable sites for that game and back up the original .vpk before replacing it. For PS Vita .vpk homebrew, only install from trusted sources - homebrew runs with system access.

Format details

in a nutshell
FULL NAMEValve Pakaka Valve Package, Source engine VPK archive
DEVELOPERValve Corporationsince 2010 (Source engine; replaced the older GCF content packaging)
CATEGORYGame Files
MIME TYPEapplication/octet-stream
TYPEUncompressed game-asset archive for Valve's Source engine (binary, directory + data)
This extension is also used by…
  • PlayStation Vita VPK package - A ZIP-based homebrew app/game package for the PS Vita, installed with VitaShell - unrelated to Valve.
  • Visual Paradigm / other app exports - A few unrelated applications have reused .vpk for their own package files; identify by the originating program.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
3412AA55
ASCII
4··U
The signature 0x55AA1234 appears as bytes 34 12 AA 55 at offset 0, but ONLY in the directory file (typically named *_dir.vpk). The numbered archive files (pak01_000.vpk, pak01_001.vpk …) that hold the actual data have no header and are raw concatenated assets indexed by the _dir file. Bytes 4-7 give the format version (1 or 2).

Programs that open VPK files

Windows3 apps
GCFScape Free Open the pak01_dir.vpk; browse the file tree and Extract assets. The standard VPK/GCF viewer for Source games.
vpk.exe (Source SDK) Free Valve's command-line tool: vpk x pak01_dir.vpk to extract, or vpk <folder> to create a VPK. Ships with the Source SDK / games on Steam.
Crowbar Free For modders who then need to decompile the extracted Source models (.mdl) into editable form.
Linux1 app
vpk (Source SDK CLI) Free Use the Linux vpk binary shipped with Source games: vpk x pak01_dir.vpk to extract.

Technical details

deep spec
Magic bytes34 12 AA 55 at byte offset 0 (little-endian 0x55AA1234); present only in the `_dir.vpk` directory file - numbered data archives carry no header
Archive structureSplit into one `*_dir.vpk` index file plus numbered data archives (`*_000.vpk`, `*_001.vpk`, …) holding raw concatenated asset bytes
CompressionNone - assets stored uncompressed for direct, low-latency streaming by the Source engine
EncodingBinary, little-endian byte order throughout
Format versionsVersion 1: 4-byte magic, version uint32, tree size, then directory tree. Version 2 adds data-section size, per-archive MD5 blocks, overall MD5 section, and an RSA signature section
Per-file integrityCRC-32 checksum per file entry in both versions; Version 2 additionally stores MD5 hashes per data archive block and an optional RSA-2048 signature covering the full package
Directory tree layoutThree-level index keyed by file extension → path → filename; each leaf entry stores archive number, data offset, data length, preload byte count, and CRC-32
Preload dataEach directory entry may embed up to 65,535 bytes of file content inline, eliminating an archive seek for very small assets
Data archive sizeIndividual numbered archives typically capped at ~200 MB each; a complete game's VPK set can total many gigabytes
Indexed asset typesTextures (`.vtf`), materials (`.vmt`), models (`.mdl`), maps (`.bsp`), sounds, particle systems, choreography scenes (`.vcd`), and other Source engine resource types
Platform supportWindows, macOS, Linux, and Android (via Source engine ports)
MIME typeapplication/octet-stream
DeveloperValve Corporation (Source engine content pipeline)
Predecessor formatReplaced the older GCF and NCF content packaging formats used in earlier Steam/Source engine versions
Official creation tool`vpk.exe` (Windows Source SDK) or `vpk` CLI (Linux Source SDK); third-party tools include GCFScape and Crowbar
Released2010 (Source engine; replaced the older GCF content packaging)
Latest versionVPK directory format version 2 (adds per-file CRC and signature sections); v1 still in use
Specificationdeveloper.valvesoftware.com

VPK conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with VPK files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about VPK files.

Frequently asked questions

How do I open a VPK file?
For a Source game's VPK, use the free GCFScape: open pak01_dir.vpk and browse/extract the assets. Valve's command-line vpk.exe also extracts (vpk x pak01_dir.vpk). A PS Vita .vpk is different - install it with VitaShell.
Can I delete VPK files to free up space?
No. VPK files hold a Source game's core content; deleting or renaming them breaks the game. If you need space, uninstall the whole game through Steam.
Why are there pak01_000.vpk, pak01_001.vpk and a pak01_dir.vpk?
The _dir file is the index; the numbered files hold the actual data split into chunks. Open the _dir file in GCFScape - it ties all the numbered archives together so you see the full file tree.
How do I extract models/textures from a VPK for modding?
Open pak01_dir.vpk in GCFScape and extract the files you need (.mdl models, .vtf/.vmt textures). To edit a model, decompile the extracted .mdl with Crowbar; to view a texture, open the .vtf in VTFEdit.
Is a Source VPK the same as a PS Vita VPK?
No. Despite the shared extension, the Source-engine Valve Pak (an uncompressed asset archive) and the PS Vita homebrew VPK (a ZIP-based app package) are unrelated formats with different tools.
How do I make my own VPK?
Use Valve's vpk.exe: point it at a folder of assets (vpk <folder>) and it builds a pak##_dir.vpk plus numbered archives. Follow the specific game's mod guide for the correct folder layout.

References

1Valve Developer Wiki - VPK (file format)developer.valvesoftware.com
2Valve Developer Wiki - VPK tool (vpk.exe)developer.valvesoftware.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.CRDOWNLOADChrome Partial Download File
4.PARTPartial Download File
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.PRDXSoftMaker Presentations Document
10.EXEWindows Executable (Portable Executable)

Related extensions

.OBBAndroid Opaque Binary Blob (APK Expansion File)
.PAKGame Resource Package (PAK)
.ROFLLeague of Legends Replay
.PACKAGEThe Sims / Maxis DBPF Package (game content & mods) - dominant meaning
.XSBXACT Sound Bank
.SAVSaved Game File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z