Microsoft XNA Compiled Format

XNB files are created by Microsoft XNA and distributed with many games. XNB is a general serialization format capable of representing arbitrary .NET objects, but there are common definitions for textures, sound samples, 3D models, fonts, and other game data. XNB files may use Microsoft Xbox LZX (XMemCompress) compression.

Specification
Microsoft provides XNB format documentation and sample code.