XNB Converter

Extract text from XNA game assets (XNB)


Drop or upload your .XNB file

How to extract text from your XNB file

  1. Click the "Select File" button above, and choose your XNB file.
  2. You’ll see a preview, if available.
  3. Click the "Convert file to..." button to extract text information.

Convert XNB to another file type

To convert XNB assets to another format, you need Microsoft XNA Game Studio or other Game software.

Convert a file to XNB

To convert other file formats to the "Compiled Game Asset" file type, you need software like Microsoft XNA Game Studio or a similar tool.


About XNB files

The .XNB file extension stands for XNA Binary. It is a compiled game asset package used by the Microsoft XNA Framework and the open-source MonoGame platform. Game developers use XNA software to compile raw source assets like 2D images, 3D models, audio tracks, and fonts into an optimized binary format that loads quickly during gameplay. These files are essential for running games but are virtually unreadable outside of the game engine environment.

The main disadvantage of an .XNB file is that it is a proprietary, compiled container rather than a standard media file. You cannot open an .XNB texture directly in Adobe Photoshop or play an .XNB audio file in a standard media player. Furthermore, these files are often heavily compressed using GZIP or LZX algorithms, which obscures the internal data and prevents basic text editors from inspecting them. Modding games requires specialized reverse-engineering tools to unpack the data.

To edit the contents, users must convert or extract the .XNB file back to its source format. Textures are typically converted to PNG or DDS, audio tracks to WAV or OGG, and 3D models to FBX. Standard online converters generally fail to process these files because they lack the specific XNA deserialization logic required to parse the binary headers and decompress the specific asset types.

Because this file format is difficult to open or convert, often only the original game engine or dedicated community tools can properly read or export the data. We can inspect the file header, show embedded text strings, and if our analysis detects a supported underlying or embedded format, viewing or extraction may still be possible.

Convert.Guru analyzes your XNB file, detects the exact format, and lets you read the text inside.

Users also converted PNG, ZIP, JSON, XNA, XNB COPY, SPRITEFONT, WAV, WOS, MP3, TXT, JPG, XMB and XWB files.


FAQ

If you want to convert XNB file to PNG, MP3, CP, WAV, JSON, EXE, ISO, BIN, CUE, PAK, WAD or PK3, you can use Microsoft XNA Game Studio or similar software from the "Compiled Game Asset Container" category. In the File menu, look for Save As… or Export….

To convert MOD, BIN, CFG, SCX, DAT, MPQ, LOG, CUE, INI, EXE, SCM or ISO files to XNB, try Microsoft XNA Game Studio or another comparable tool in the "Compiled Game Asset Container" category.



The XNB Converter Story

The history of Convert.Guru began over 25 years ago in California with Tom Simondi’s file-format database. A former contributor to Space Shuttle development and a software pioneer of the 1980s, Simondi established a trusted resource for file type analysis that was even referenced by Microsoft Windows XP. Today, we use modern technology to process and convert thousands of file formats while continually improving our XNB converter.