.XLB

XLB File

Microsoft Excel Toolbar Settings File
Ask a question
QUICK ANSWER

An XLB file is an internal Microsoft Excel settings file that stores your customized toolbars and menus. You do not open it directly - Excel reads and writes it automatically on startup and exit. If your toolbars look broken, close Excel and delete the XLB file; Excel will rebuild a clean default on next launch (your customizations are lost, so back it up first).

Developer: Microsoft Category: Settings Files MIME: application/octet-stream
OPENS ON Windows macOS
Related: .ICA · .DS_STORE · .WMZ · .CFG

On this page

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

.xlb is a settings file used by Microsoft Excel. .xlb files contain no spreadsheet data - only custom toolbar settings. Those settings determine toolbar visibility, window position, and the tools included in each toolbar. This format was central to the classic pre-ribbon versions of Excel (Excel 97 through Excel 2003); after Excel 2007 replaced toolbars with the ribbon interface, .xlb files became largely vestigial.

Location of .xlb files

Changes made to toolbar settings are saved as an .xlb file and stored in the user profile folder at %APPDATA%\Microsoft\Excel\. Common file names include Excel.xlb, Excel10.xlb (Excel XP / 2002), and Excel11.xlb (Excel 2003).

Additional information

  • .xlb files allow users to save and share custom toolbar settings with other users or between computers.
  • Default toolbar settings can be restored by deleting the .xlb file from the default directory and restarting Excel, which regenerates a fresh copy.
  • The format is a proprietary binary blob - unrelated to the OLE2 compound document format used by .xls workbooks - and its internal layout is undocumented.
  • On macOS, Excel maintains an equivalent toolbar configuration in its application support folder.

Security & safety

RISK: LOW

XLB is a passive, auto-generated settings file with no macro/executable content of its own, so it poses no direct malware risk. The only practical caution is data-loss, not security: deleting or replacing the XLB discards your toolbar/menu customizations (Excel rebuilds a default), and copying one between mismatched Excel versions can cause toolbar glitches - back it up first if your customizations matter.

Format details

in a nutshell
FULL NAMEMicrosoft Excel Toolbar Settings File
DEVELOPERMicrosoftsince Classic (pre-ribbon) Excel; relevant through Excel 2003, vestigial after
MIME TYPEapplication/octet-stream
TYPEProprietary binary Excel configuration file (command-bar/toolbar layout)

Programs that open XLB files

Windows2 apps
Microsoft Excel (indirect) Paid You don't open the file; Excel reads it automatically on startup. To reset toolbars, close Excel and rename/delete the .xlb so Excel rebuilds a default one.
File Explorer (locate it) Built-in Browse to %AppData%\Microsoft\Excel to find Excel.xlb (or Excel1x.xlb). Back it up before deleting if you want to keep your toolbar layout.
macOS1 app
Microsoft Excel (indirect) Paid Excel manages its own toolbar/preferences files; there is no user workflow to open an .xlb directly.

Technical details

deep spec
DeveloperMicrosoft
Format typeProprietary binary configuration file (command-bar/toolbar layout)
MIME typeapplication/octet-stream
Typical file namesExcel.xlb, Excel10.xlb (Excel XP/2002), Excel11.xlb (Excel 2003)
Default storage location (Windows)%APPDATA%\Microsoft\Excel\
StoresCustom command-bar layout, toolbar visibility, window position, and per-toolbar tool assignments
File signature (magic bytes)None; no public documented signature - identified by file name and location, not byte pattern
Primary Excel versionsExcel 97 through Excel 2003 (pre-ribbon era)
Superseded byExcel 2007 ribbon interface; .xlb customizations do not carry over to ribbon-based Excel
Container formatNot an OLE2 compound document; a separate private binary blob distinct from .xls workbook format
Third-party tool supportNone; no public editors, viewers, or converters exist due to the undocumented format
Restoring defaultsDelete the .xlb file and restart Excel; Excel regenerates a clean default copy automatically
PlatformWindows (primary); macOS equivalent stored in ~/Library/Application Support/Microsoft/Excel/
Typical file sizeA few kilobytes; stores only configuration metadata, not workbook data
Related file types.xls (workbooks), .xlam (add-ins), .xla (older add-ins) - all open in Excel but serve different purposes
ReleasedClassic (pre-ribbon) Excel; relevant through Excel 2003, vestigial after
Specificationfileinfo.com

Community Q&A

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

Frequently asked questions

What is an XLB file?
It's an internal Microsoft Excel settings file that stores your customized toolbars and menus (button layout and command assignments). Excel creates and updates it automatically - it's not a document with spreadsheet data.
Can I delete the Excel.xlb file?
Yes. If toolbars are corrupted, close Excel and delete (or rename) the .xlb; Excel rebuilds a fresh default on next launch. The trade-off is that you lose any toolbar customizations, so back it up first if you want to keep them.
How do I open an XLB file?
You don't open it directly - Excel reads it at startup and there's no viewer for its contents. It just stores toolbar settings; the things you actually open are workbooks (.xls/.xlsx).
Where is the XLB file stored?
In your user profile, typically %AppData%\Microsoft\Excel (e.g. C:\Users\<you>\AppData\Roaming\Microsoft\Excel), named Excel.xlb, Excel10.xlb, Excel11.xlb or <username>.xlb depending on the version.
Why does the XLB keep changing / regenerating?
Excel rewrites it every time you quit, saving your latest toolbar state, and recreates it if it's missing. That's normal - it's how Excel persists toolbar customizations between sessions.
What stores ribbon customizations in modern Excel?
Not the XLB. Since Excel 2007, ribbon and Quick Access Toolbar customizations are stored in an XML file called Excel.officeUI; XLB holds the older legacy command-bar (toolbar) settings.

References

1FileInfo - .XLB File Extensionfileinfo.com
2Microsoft Support - Reset Excel / customize toolbars and ribbonsupport.microsoft.com

Keep exploring

across the database

Top extensions this week

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

Related extensions

.ICACitrix Independent Computing Architecture file
.DS_STOREmacOS Finder Desktop Services Store (.DS_Store)
.WMZWindows Media Player Skin
.CFGConfiguration File
.LICLicense File
.CONFConfiguration 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