.BAR

BAR File

Age of Mythology / Age of Empires BAR Archive
Ask a question
QUICK ANSWER

A BAR file is a proprietary binary archive used by Age of Mythology and Age of Empires III to store textures, models, sounds, and other game assets. The game reads these files automatically at startup. To browse or extract them for modding, use BAR Explorer (AoM/AoE3) or the community Resource Manager tool (Age of Mythology: Retold).

Developer: Ensemble Studios / Microsoft Studios Category: Game Files MIME: application/octet-stream
OPENS ON Windows
Related: .OBB · .PAK · .ROFL · .PACKAGE

On this page

19k+ extensions indexed
Last reviewed Jul 4, 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 BAR file format?

.bar files are proprietary binary game data archives used by Ensemble Studios' real-time strategy game series. The format debuted with *Age of Mythology* in 2002 and later appeared in *Age of Empires III* (2005), *Age of Mythology: The Titans* (2003), *Age of Empires Online* (2011), and the 2024 remaster *Age of Mythology: Retold*.

Each .bar archive bundles game assets - textures, 3D models, sounds, music, maps, UI elements, and XML data files - into a single container that the game engine reads directly at runtime. Individual entries are compressed with zlib, though some are stored uncompressed. The format uses a little-endian binary layout with a header holding a file count and directory table; each entry records its filename, byte offset, compressed size, and uncompressed size.

Two main variants are known from community reverse engineering: the Age of Mythology variant (2002) and the Age of Empires III variant (2005); *Age of Mythology: Retold* introduced further updates. The format is undocumented by Microsoft. Third-party tools - including BAR Explorer, AoMED, and the Resource Manager for *Retold* - can extract archive contents for modding. The .pak format serves a similar role in other game engines.

Security & safety

RISK: LOW

BAR files are read-only game data archives. They cannot execute code directly. Modded BAR files replacing game assets are safe; do not download BAR replacements from untrusted sources as they could replace game files with corrupted data.

Format details

in a nutshell
FULL NAMEAge of Mythology / Age of Empires BAR Archiveaka BAR archive, Ensemble Studios BAR file
DEVELOPEREnsemble Studios / Microsoft Studiossince 2002 (Age of Mythology)
CATEGORYGame Files
MIME TYPEapplication/octet-stream
TYPEproprietary game data archive (binary)
This extension is also used by…
  • BlackBerry Application Archive - BlackBerry OS devices use .bar as the installation package format for BB10 apps.
  • Various proprietary archives - .bar is used by several other games and applications as a generic archive extension.

Programs that open BAR files

Windows5 apps
Age of Empires 3 Paid Game reads .bar files automatically from its data directory; no user action needed.
Dragon UnPACKer Free Load .bar via File → Open; supports AoM/AoE3 variant with plugin.
Age of Mythology Paid Game reads .bar files automatically; install the game to use them.
BAR Explorer Free Open BAR Explorer, load the .bar file, browse and extract individual assets.
Resource Manager (Age of Myth Retold) Free Community tool for extracting Retold .bar files; download from AoE forums.

Technical details

deep spec
Format typeProprietary binary game data archive
EncodingBinary, little-endian
Compressionzlib per entry; some entries stored uncompressed
Archive structureHeader with file count + directory table; each entry has filename, offset, compressed size, uncompressed size
Typical archive size10 MB - 2 GB
ContentsTextures, 3D models, sounds, music, maps, UI elements, XML proto data
Format variantsAge of Mythology variant (2002); Age of Empires III variant (2005); Age of Mythology: Retold variant (2024)
Runtime accessArchives read directly by the game engine at runtime - not extracted to disk
Games using the formatAge of Mythology (2002), Age of Empires III (2005), Age of Mythology: Retold (2024)
Modding supportBAR Explorer, AoMED, and Resource Manager for Retold can extract archive contents
Documentation statusUndocumented by Microsoft; format understood through community reverse engineering
Released2002 (Age of Mythology)
Latest versionUsed in Age of Mythology: Retold (2024)

BAR conversions

Not possible

Community Q&A

asked by users
Ask a quick question
Get help from people who work with BAR 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 BAR files.

Frequently asked questions

How do I open a BAR file?
Use BAR Explorer (for Age of Mythology / AoE3) or the community Resource Manager tool (for Age of Mythology: Retold). These let you browse and extract assets for modding.
Can I convert a BAR file to ZIP?
Not directly - BAR has a proprietary structure. Extract the contents using BAR Explorer, then you can zip the extracted files.
Why is there a BAR file in my game folder?
BAR archives store all game assets (textures, sounds, models). The game engine reads them automatically; you do not need to open them during normal gameplay.
What is a BAR file on BlackBerry?
On BlackBerry OS 10, .bar is the installation package format for apps - unrelated to the Age of Mythology archive. Use BlackBerry Desktop Software or DDPB Installer.

References

1Just Solve the File Format Problem - BAR (Age of Mythology)justsolve.archiveteam.org
2Age of Empires Series Wiki - File systemageofempires.fandom.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.BINCD/DVD Disc Image (BIN/CUE)
3.CRDOWNLOADChrome Partial Download File
4.MDMarkdown Document
5.RPMSGRestricted Permission Message
6.PARTPartial Download File
7.NOMEDIAAndroid No-Media Marker File
8.DBSQLite Database File
9.EXEWindows Executable (Portable Executable)
10.SWFSmall Web Format (Shockwave Flash)

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