Click the "Select File" button above, and choose your XNB file.
You’ll see a preview, if available.
Click the "Convert file to..." button to extract text information.
Convert XNB to another file type
To convert your XNB file to another format, you need Microsoft XNA or other Game software.
Convert a file to XNB
To convert other file formats to the "XNA Binary Asset" file type, you need software like Microsoft XNA or a similar tool.
About XNB files
A .XNB file is a compiled binary asset created by the Microsoft XNA Game Studio framework or its open-source successor, MonoGame. These files represent the final, "baked" output of the XNA Content Pipeline, storing game resources like textures, audio clips, 3D models, and sprite fonts in a platform-specific format optimized for rapid loading during gameplay.
Users frequently encounter .XNB files when attempting to mod popular indie games like Stardew Valley or Terraria. The primary challenge is that .XNB is not a standard image or audio format; it is a serialized binary container that may employ LZX or LZ4 compression. Because the data is optimized for the specific hardware it was built for (e.g., Windows vs. Xbox vs. Android), you cannot open these files in standard editors like Adobe Photoshop or Audacity without first unpacking them.
To view or modify these assets, you must convert them back to their source formats. For visual assets, converting .XNB to PNG is the standard for editing textures. For sound effects and music, converting to WAV or MP3 allows for playback and editing. 3D models contained within .XNB files are best converted to FBX or OBJ for import into tools like Blender.
Convert.Guru analyzes your XNB file, detects the exact format, and lets you read the text inside.
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 or similar software from the "Compiled Game Asset" 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 or another comparable tool in the "Compiled Game Asset" 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.