Open XNB files in your browser

The packed content of games made with XNA, FNA or MonoGame, like Stardew Valley, Terraria and FEZ. Open one right here to see the picture, play the sound or read the data inside. Nothing leaves your device.

Or drop it anywhere on this page

What you'll see

Your file opens as what it holds: a picture in the image viewer, a sound in the player, or data as a tree.

tileset_meadow.xnb

XNB • Texture • LZX • 512 × 512 • 148 KB

  • Textures and fonts • As pictures
  • Sounds • Played with their waveform
  • Data • A tree of its values
  • Export • PNG, WAV, MP3 or JSON

About XNB

Microsoft's XNA, and FNA and MonoGame after it, build a game's pictures, sounds, fonts and data into XNB files. Stardew Valley, Terraria, FEZ and many other games ship their content this way, and their mods replace XNBs or are made from them.

An XNB is a header naming its platform and XNA version, then content packed with LZX, LZ4 or not at all. The content lists the readers its objects need, like Texture2DReader, then the object as the first of them writes it: a texture's pixels and mipmaps, a font's sheet of letters, a sound's WAVE data or a game's data.

Filepeek opens each by what it holds: a texture, or a font's letters, in the image viewer, a sound in the player, and data, like a dictionary of items, as a tree. A class the game reads field by field keeps its layout in the game's code, so it shows by its name, and effects and models show their About card.

XNA content file

Format

MIME type
application/octet-stream
Made by
Microsoft
Released
2006

Inside the file

Header
XNB, its platform and version
Packing
LZX, LZ4 or none
Readers
Named before the content
Holds
Textures, fonts, sounds and data

Opens in every browser

Filepeek opens an XNB in Chrome, Edge, Firefox and Safari: a picture in the image viewer, a sound in the player and data as a tree. On their own, browsers only download it.

  • YouChromeOpens through Filepeek
  • YouEdgeOpens through Filepeek
  • YouFirefoxOpens through Filepeek
  • YouSafariOpens through Filepeek

Apps that open XNB

  • Windowsxnbcli unpacks it
  • Macxnbcli unpacks it
  • iPhone and iPadNo app opens it
  • AndroidNo app opens it

Questions

How do I see what's in a game's XNB files?

Open one here: a texture or a sprite sheet shows as a picture, a sound plays, and data, like a dictionary of items, opens as a tree of its keys and values.

Can I save an XNB's picture as PNG?

Yes. Choose Export, then Save as PNG or JPEG. A sound saves as WAV or MP3 from the player's Export.

Why does an XNB show its About card?

It holds an effect, a model or another object Filepeek doesn't draw. Its About card still names the reader it needs.

More game formats

All supported file types

Opens in a new tab

EXIF

Verify

License

Signature