VPK Extractor
Drop a _dir.vpk file (and its numbered _000, _001 ... parts) to browse everything inside, preview textures and scripts, and extract single files, a folder or a search as a ZIP. Only the file list is read up front, so even multi-gigabyte game packages open at once. Everything stays in your browser; nothing is uploaded.
How to open and extract a VPK file
- 1
Find the VPK
Game packages sit in the game folder, for example tf/tf2_misc_dir.vpk, csgo/pak01_dir.vpk or game/dota/pak01_dir.vpk. Addon VPKs are often a single file.
- 2
Drop the _dir file and its parts
Select pak01_dir.vpk together with the numbered parts you need. The _dir file holds the list; the parts hold the data. You can browse without the parts.
- 3
Browse, search and preview
Click through folders or search every path. Tap a file to preview VTF textures, images and text files, with a CRC check against the package.
- 4
Extract
Save one file, the folder you are in, or every search match as a ZIP that keeps the original paths.
The VPK format at a glance
VPK (Valve Pak) is the package format of Source and Source 2 games. This is how it is laid out and what the tool reads.
| Header | A signature (0x55AA1234), the version (1 or 2) and the size of the directory tree. Version 2 adds the sizes of the checksum and signature sections. |
|---|---|
| Directory tree | Files grouped by extension, then folder, then name. Each entry has a CRC32, an archive index, an offset and a length, plus optional preload bytes. |
| _dir.vpk | Holds the tree and sometimes small files itself (archive index 0x7FFF, stored right after the tree). |
| _000.vpk, _001.vpk ... | The numbered parts hold the file data. Big games have dozens to hundreds of them. |
| Single-file VPK | Addons and custom content VPKs keep tree and data in one file; just drop it. |
| Previews | VTF textures, PNG, JPG, GIF and BMP images, and text files (VMT, CFG, LUA, RES, TXT, VDF, KV3). Other files can be saved and opened in other tools. |
| Source 2 files | CS2, Dota 2 and Half-Life: Alyx packages open and extract the same way; their compiled _c files (vtex_c, vmdl_c) download but do not preview. |
| Limits | Packages of any size browse instantly; one ZIP is capped at 1 GB because the browser builds it in memory. |
Why there are so many pak01_ files
A large game splits its content over many archive parts so updates only touch the parts that changed. The _dir.vpk file is the index: it knows that materials/models/props/crate.vtf lives in part 12 at a given offset. That is why opening a _000 part alone shows nothing useful, and why this tool asks for the _dir file. Add only the parts you need; files in missing parts are listed but greyed out.
What you can do with extracted files
Modders extract VPKs to study how a map, model or material was made, to reuse a stock texture as a base, to find a sound or config file, or to check what a custom VPK addon contains before installing it. Textures come out as VTF: turn them into PNGs with the VTF to PNG converter. Models come out as compiled MDL, VVD and VTX files, which need Crowbar to decompile.
Need a new model or texture for your mod?
Make a 3D model from a photo or a short text prompt with AI, or generate a seamless texture, then bring it into your Source or GoldSrc project with these free converters.
More free Source modding tools
VPK extractor questions
Valve, Source, Garry's Mod, Team Fortress 2 and Counter-Strike are trademarks of Valve Corporation, named only to describe file compatibility; The3DAI is not affiliated with or endorsed by Valve.