What a PK3 file is and how to open it
A PK3 file is a compressed archive — essentially a ZIP file with a different extension. Game developers, particularly those working with id Tech engines (used in games like Doom 3, Quake, and Return to Castle Wolfenstein), use PK3 files to bundle textures, models, maps, and other game assets into a single package. Your computer cannot read the contents directly; you need to extract it first.
You can open a PK3 file using any standard ZIP extraction tool. Windows built-in extractor, 7-Zip, WinRAR, or macOS Archive Utility will all work because PK3 files use ZIP compression internally. The simplest approach is to rename the file extension from .pk3 to .zip, then extract it like any other compressed folder.
If you want to keep the original file intact and avoid renaming, use a dedicated archive manager instead. These tools recognize PK3 as a valid archive format without modification.
Key Takeaways
- PK3 files are ZIP archives used by game engines to store textures, models, and maps, and can be opened with any ZIP extraction tool.
- The quickest method on Windows is to rename the .pk3 extension to .zip, then right-click and select Extract All.
- 7-Zip and WinRAR both open PK3 files directly without renaming, and both work on Windows, Mac, and Linux.
- After extraction, you will see folders organized by asset type — textures, models, scripts — that you can view or edit depending on the file format inside.
- Some game modding communities provide PK3 editors that let you browse and modify contents without manual extraction.
Opening a PK3 file on Windows
On Windows, the fastest route is the built-in extractor. Right-click the PK3 file, select Rename, and change the extension from .pk3 to .zip. Then right-click again and choose Extract All. Windows will create a folder with the same name containing all the extracted files and folders.
If you prefer not to rename the file, download 7-Zip (free, open-source) or WinRAR (paid, 40-day trial). Both recognize .pk3 as a valid archive. Right-click the PK3 file, select 7-Zip > Extract Here or WinRAR > Extract Here, and the tool will unpack everything into a new folder without touching the original file.
After extraction, you will see a folder structure with subdirectories like textures, models, maps, and scripts. The contents depend on what the mod or asset pack contains. Image files (.tga, .jpg) can be opened in any image viewer; map files (.map) require the game's editor; script files (.shader, .script) are plain text and open in Notepad or any text editor.
Opening a PK3 file on Mac
macOS includes a built-in archive utility, but it does not always recognize .pk3 files by default. The most reliable approach is to rename the file extension to .zip first. Double-click the renamed file, and Archive Utility will extract it automatically into a folder on your desktop or in the same directory.
Alternatively, download 7-Zip for Mac or The Unarchiver (free from the App Store). Both handle PK3 files without renaming. Open the application, drag the PK3 file into it, and select Extract. The contents will appear in a new folder.
Once extracted, you can view textures and images using Preview (built-in), and open text-based files like shaders or scripts in TextEdit or a code editor like VS Code.
Opening a PK3 file on Linux
Linux file managers typically recognize PK3 as a ZIP variant. Open your file manager, right-click the PK3 file, and select Extract Here or Extract To. The contents will unpack into a new folder in the same directory.
If your file manager does not offer extraction, use the command line. Open a terminal, navigate to the folder containing the PK3 file, and type unzip filename.pk3. This will extract all contents into a folder. Alternatively, use 7z x filename.pk3 if 7-Zip is installed.
After extraction, view images with an image viewer like GIMP or Krita, and open text files with any text editor such as gedit or nano.
What you will find inside a PK3 file
PK3 files typically contain a folder structure organized by asset type. You will usually see directories named textures, models, maps, scripts, sounds, and gfx (graphics). The exact contents depend on whether the PK3 is a mod, a map pack, a texture replacement, or a complete game asset bundle.
Texture files are stored as .tga (Targa) or .jpg images and can be opened in any image editor or viewer. Model files use formats like .md5mesh or .ase (ASCII Scene Export) and require specialized 3D viewers or the game's own editor. Map files are .map or .proc format and only open in the game's level editor. Script files (.shader, .script, .def) are plain text and open in any text editor.
If you are modifying assets, keep the folder structure intact when you repackage the PK3. Game engines expect textures in the textures folder, models in the models folder, and so on. Changing the structure will break the mod or asset pack.
Repacking a PK3 file after editing
If you have extracted a PK3, edited some files, and want to create a new PK3 to use in a game, you need to repack it. Select all the folders inside the extracted directory (not the directory itself), right-click, and choose Send to > Compressed (zipped) folder on Windows, or use 7-Zip's Add to Archive option.
Name the new archive with a .pk3 extension instead of .zip. Some tools will do this automatically; others require you to rename the file after compression. The game engine will recognize the .pk3 extension and load it as a mod or asset pack.
Test the repacked PK3 in the game before distributing it. If assets do not load, check that the folder structure matches the original — the game is looking for files in specific paths, and any deviation will cause them to fail to load.
Specialized PK3 tools for modders
If you work with PK3 files regularly, some game modding communities provide dedicated tools. PK3 Explorer and similar utilities let you browse, view, and edit PK3 contents without manual extraction. These tools are often game-specific — a Doom 3 PK3 tool may not work with a Quake tool — so search for the specific game you are modding.
For Doom 3 modding, DarkRadiant (the level editor) can open and manage PK3 files directly. For Quake modding, community tools like NetRadiant offer similar functionality. Check the modding community forums for your specific game to find the recommended tools.
These specialized tools are optional — standard ZIP extraction works fine for most tasks — but they can speed up workflow if you are frequently unpacking and repacking PK3 files.
Frequently Asked Questions
Can I open a PK3 file without extracting it?
Yes, if you use an archive manager like 7-Zip or WinRAR, you can browse the contents inside the PK3 without extracting. Right-click the file, open it with your archive manager, and you will see the folder structure and files. However, you cannot edit files this way — extraction is required if you want to modify anything.
What if the extracted files won't open?
Check the file format. Texture files should be .tga or .jpg and open in any image viewer. Model files (.md5mesh, .ase) require a 3D viewer or the game's editor. If a file has no extension or an unfamiliar extension, it may be a proprietary format specific to that game engine. Search the game's modding wiki or community forums for information on that file type.
Can I convert a PK3 to a different format?
A PK3 is just a ZIP archive, so you can rename it to .zip and treat it as one. However, the individual files inside (textures, models, scripts) may not convert easily to other formats without specialized tools. Textures can be converted using image editors, but models and scripts are often game-specific and may not work in other engines.
Do I need to keep the original PK3 after extracting?
That depends on your use case. If you are modifying the contents, keep the original as a backup. If you are just viewing files, you can delete the PK3 after extraction. If you are distributing a mod, you will need to repack the modified files into a new PK3 for others to use.
Why does my game not recognize the repacked PK3?
The most common reason is incorrect folder structure. The game expects files in specific paths — textures in a textures folder, models in a models folder, and so on. If you moved files around during editing, the game cannot find them. Extract the original PK3 again, check the folder layout, and make sure your repacked version matches it exactly.