.XNB File Extension

XNA Game Studio Binary Package

Developer Microsoft
3.4  |  76 Votes

What is an XNB file?

An XNB file is a game data file created by Microsoft XNA Game Studio or XNA Game Studio Express, which are IDEs used to develop Windows and Xbox 360 games. It is a compressed file that contains multiple in-game images and may also contain in-game audio. Gamers can extract images and audio from XNB files using XNB Extract and other player-created extraction tools.

More Information

Microsoft XNA Game Studio and XNA Game Studio Express are game development programs that experienced developers, students, and hobbyists can use to create games for Windows and the Xbox 360. These programs often package game assets, including .PNG images and .WAV audio files, in XNB files.

Most popularly, the games Terraria and Stardew Valley store some game assets in XNB files. These games' players have created XNB extraction utilities that allow them to extract the images and audio that XNB files contain.

How to open an XNB file

You can use XNB Extract (Windows) and similar XNB extraction utilities to extract the PNG and WAV files that an XNB file contains. To use an XNB file with XNB Extract:

  1. Download and unzip XNB Extract.
  2. Place your XNB file in XNB Extract's PACKED folder.
  3. Double-click XNB Extract's UnpackFiles.bat file.
  4. The files your XNB file contained will appear in XNB Extract's UNPACKED folder.
Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference XNB files

Verified by FileInfo.com

The FileInfo.com team has independently researched the XNA Game Studio Binary Package file format and Windows apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.