.NES

NES File

Nintendo Entertainment System ROM Image
Ask a question
QUICK ANSWER

A NES file is a copy of a Nintendo Entertainment System (NES / Famicom) game cartridge, wrapped in a small iNES header. To play it, open it in an NES emulator - Mesen or FCEUX on Windows and Linux, OpenEmu or Mesen on macOS, RetroArch on Android, Delta on iOS. Downloading ROMs of games you do not own is copyright infringement in most countries.

Developer: N/A (community convention; the iNES header format was created by Marat Fayzullin's iNES emulator) Category: Game Files MIME: application/x-nes-rom
OPENS ON Windows macOS Linux Android iOS
Related: .OBB · .PAK · .ROFL · .PACKAGE

On this page

19k+ extensions indexed
Last reviewed Aug 1, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the NES file format?

.nes files store game ROMs for the Nintendo Entertainment System gaming console, known in Japan as the Famicom. A .nes file is a dump of a physical cartridge's ROM chips wrapped in a 16-byte iNES header - a convention introduced in the mid-1990s. The header opens with the 4-byte magic 4E 45 53 1A ("NES" + 0x1A) and records PRG-ROM and CHR-ROM sizes plus a mapper number that tells the emulator how the cartridge's bank-switching hardware behaved. .nes files can be opened using dedicated emulator tools available for desktop and mobile devices. Famicom Disk System games use the separate .fds format rather than .nes.

In Poland, NES console clones were widely known under the name "Pegasus". Most "Pegasus" games were distributed as .nes ROM files, typically modified with added cheat options.

NES was an 8-bit console, so emulating its hardware is straightforward on any modern computer or mobile device. Fan communities have produced translations of many ROM images into various languages. Most commercial NES game titles remain under copyright, so distributing or downloading ROM images without authorization from the rights holder is not legal in most jurisdictions.

Security & safety

RISK: MEDIUM

The ROM data is inert game code that only runs inside an emulator, but two real concerns apply. Legal: downloading ROMs of games you don't own is copyright infringement in most countries - the lawful path is dumping cartridges you own or playing homebrew/freeware. Source safety: 'ROM sites' are riddled with ads, fake download buttons and bundled malware, so use a current, trusted emulator (Mesen, FCEUX, RetroArch) and avoid sketchy download portals. Old/obscure emulators can also have parsing bugs with malformed ROMs.

Format details

in a nutshell
FULL NAMENintendo Entertainment System ROM Imageaka NES ROM, iNES ROM image
DEVELOPERN/A (community convention; the iNES header format was created by Marat Fayzullin's iNES emulator)since iNES header convention early-to-mid 1990s (Marat Fayzullin's iNES emulator); NES launched 1983/1985
CATEGORYGame Files
MIME TYPEapplication/x-nes-rom
TYPERaw NES cartridge ROM dump wrapped in a 16-byte iNES (or NES 2.0) header
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4E45531A
ASCII
NES·
An iNES/NES 2.0 .nes file begins with the 4-byte signature 4E 45 53 1A ("NES" + 0x1A), followed by a 16-byte header that declares PRG-ROM size, CHR-ROM size, the mapper number and flags. NES 2.0 is detected by bits in byte 7 (the value (byte7 & 0x0C) == 0x08). Raw headerless dumps and the UNIF (.unf) container exist but are far less common than iNES.

Programs that open NES files

Windows3 apps
FCEUX Open-source File > Open ROM and pick the .nes. Long-standing emulator with TAS/debug features.
Mesen Open-source Open the .nes - Mesen is a highly accurate, actively maintained NES/SNES emulator with debugging tools.
RetroArch Open-source Load the .nes with an NES core (Mesen, FCEUX or Nestopia). Multi-system front-end.
macOS2 apps
OpenEmu Open-source Drag the .nes into the OpenEmu library; it picks an NES core automatically. Native Mac front-end.
Mesen Open-source Open the .nes directly for accurate emulation (cross-platform build).
Linux3 apps
FCEUX Open-source Install from your distro's repo and open the .nes.
Mesen Open-source Open the .nes - accurate, actively maintained, runs on Linux.
RetroArch Open-source Load the .nes with the Mesen/FCEUX/Nestopia core.
Android2 apps
RetroArch Open-source Install an NES core (FCEUmm/Nestopia/Mesen) and load the .nes; gamepad support included.
Nostalgia.NES (or other current NES emulator) Free Open the .nes to play. (Nesoid, the DB's pick, is discontinued and pulled from the Play Store.)
iOS2 apps
Delta Free Import the .nes to play NES games; on the App Store since 2024.
RetroArch Open-source Load the .nes with an NES core (App Store / AltStore).

Technical details

deep spec
File signature (magic bytes)`4E 45 53 1A` at offset 0 - ASCII "NES" followed by the MS-DOS EOF byte (0x1A)
Header format16-byte iNES header; NES 2.0 is a backward-compatible extension detected when `(byte7 & 0x0C) == 0x08`
EncodingBinary (raw ROM bank data)
Byte orderLittle-endian, matching the MOS 6502 CPU architecture of the NES
PRG-ROM size fieldHeader byte 4 counts 16 KB banks (iNES); NES 2.0 extends this to a 12-bit field for larger sizes
CHR-ROM size fieldHeader byte 5 counts 8 KB banks; a value of 0 means the cartridge uses CHR-RAM instead of ROM
Mapper number8-bit in iNES (high nibbles of bytes 6-7); extended to 12 bits in NES 2.0 to support 256+ mappers
Trainer blockOptional 512-byte block between the header and PRG-ROM; present when bit 2 of header byte 6 is set
Typical file size16 KB - 512 KB for commercial cartridges plus a 16-byte header; NES 2.0 supports up to ~8 MB
MIME type`application/x-nes-rom`
CompressionNone - raw ROM banks stored uncompressed; files are commonly distributed inside ZIP archives
Save data handlingBattery-backed saves stored separately as `.sav` or `.srm` by emulators; not embedded in `.nes`
ROM integrity identificationNo built-in checksum; verified externally via CRC32 or SHA-1 against No-Intro / Redump databases
Alternative containersUNIF (`.unf`) for complex or undocumented mappers; headerless raw dumps also exist but are uncommon
Associated hardwareNintendo Entertainment System (Famicom 1983 / NES 1985) and licensed clones such as Pegasus (Poland)
NES 2.0 extended fieldsAdds submapper index, console type (NES/Vs./PlayChoice), CPU/PPU timing region, and extra RAM size fields
ReleasediNES header convention early-to-mid 1990s (Marat Fayzullin's iNES emulator); NES launched 1983/1985
Latest versionNES 2.0 header (backward-compatible extension of iNES, finalized in the 2010s)
Specificationwww.nesdev.org

NES conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with NES files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about NES files.

Frequently asked questions

How do I play a .nes file?
Open it in an NES emulator: Mesen or FCEUX on Windows/Linux, OpenEmu or Mesen on macOS, RetroArch or Delta on phones. Just load the .nes - the emulator reads the iNES header and runs the game.
What's the best NES emulator?
Mesen is the top pick for accuracy and active development (Windows/macOS/Linux). FCEUX is a great long-standing alternative with debugging/TAS tools. On Mac, OpenEmu is the easiest; on phones, RetroArch (Android) and Delta (iOS).
Why won't my .nes ROM load?
Common causes: an unsupported or mis-set mapper number in the header, a bad/overdumped or truncated file, or a wrong/old header. Try an accurate emulator (Mesen), re-download from a clean source, or fix the iNES header with a header tool.
Can I convert a .nes file to an APK to play on Android?
Not really - a ROM can't become an app. Tools that claim this just bundle the ROM with an emulator into an APK. The simpler way is to install RetroArch or an NES emulator on Android and load the .nes directly.
Is it legal to download .nes ROMs?
Downloading games you don't own is copyright infringement in most countries. The legitimate uses are dumping cartridges you own and playing homebrew/freeware. Emulators themselves are legal.
What's the difference between iNES and NES 2.0?
Both are the .nes header format. NES 2.0 is a backward-compatible extension of the original iNES header that supports larger ROM sizes, submappers and extra system/timing info. Modern emulators read both.
Where are my NES saved games stored?
Battery saves are kept in a separate .sav/.srm file (and emulator save-states in their own files), not inside the .nes ROM itself.

References

1NESdev Wiki - iNES file formatwww.nesdev.org
2NESdev Wiki - NES 2.0 headerwww.nesdev.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.JPGJPEG Image
4.PARTPartial Download File
5.MDMarkdown Document
6.RPMSGRestricted Permission Message
7.DATProgram Data File (generic)
8.BINCD/DVD Disc Image (BIN/CUE)
9.EXEWindows Executable (Portable Executable)
10.DBSQLite Database File

Related extensions

.OBBAndroid Opaque Binary Blob (APK Expansion File)
.PAKGame Resource Package (PAK)
.ROFLLeague of Legends Replay
.PACKAGEThe Sims / Maxis DBPF Package (game content & mods) - dominant meaning
.XSBXACT Sound Bank
.SAVSaved Game File

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z