.OLB

OLB File

OLE Object Library File
Ask a question
QUICK ANSWER

An OLB file is a Windows COM/OLE type library - a binary descriptor of the objects, methods, and properties that Office or other COM components expose to automation clients such as VBA. Windows loads these files automatically when an application registers itself. If you see a missing OLB error, reinstall the application that owns it rather than downloading the file from a third-party site.

Developer: Microsoft Category: Misc Files MIME: application/octet-stream
OPENS ON Windows
Related: .TORRENT · .MSO · .MD5 · .SHS

On this page

19k+ extensions indexed
Last reviewed Sep 2, 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 OLB file format?

A .olb file is a COM/OLE type library - a binary file that describes the interfaces, coclasses, enumerations, and method signatures exposed by a COM component. It is functionally identical to a .tlb file; the .olb extension is the convention used by Microsoft Office applications (Word, Excel, Outlook) for their type libraries.

Type libraries allow development tools and scripting environments to enumerate a COM object's capabilities at design time. In the Visual Basic for Applications (VBA) IDE, adding a reference to an .olb file via Tools → References gives IntelliSense access to the complete Office object model.

The binary format begins with either the MSFT magic bytes (4D 53 46 54) for modern type libraries (Windows 2000 and later) or the older SLTG signature (53 4C 54 47) used by Visual Basic 5/6-era components. The MSFT format is documented in Microsoft's open specifications under MS-OAUT.

.olb files are registered in the Windows Registry under HKEY_CLASSES_ROOT\TypeLib with their associated GUID and version. Users and developers should not move or modify these files manually - doing so breaks the Registry entries and may prevent Office applications from loading correctly.

Modern successors include .winmd (Windows Metadata) for WinRT/UWP components and inline metadata in .NET assemblies, but .olb files remain in active use throughout the Office COM automation ecosystem.

Security & safety

RISK: LOW

Legitimate OLB files are read-only type metadata and cannot execute code on their own. However, many websites offering "fix missing .olb" downloads distribute adware or PUPs. Never download individual OLB files from third-party sites - always reinstall the original application (Microsoft Office, etc.) to restore them.

Format details

in a nutshell
FULL NAMEOLE Object Library Fileaka Type Library, Object Library
DEVELOPERMicrosoftsince 1993 with OLE 2.0 / COM (Windows NT 3.1 era)
CATEGORYMisc Files
MIME TYPEapplication/octet-stream
TYPEbinary COM/OLE type library
This extension is also used by…
  • Cadence OrCAD / PSpice Symbol Library - Cadence electronics EDA tools (OrCAD PCB Designer, PSpice) use .olb for component symbol libraries - an entirely different proprietary format unrelated to COM/OLE.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4D534654
ASCII
MSFT
OLB files use the same binary type library format as TLB files. The file begins with the MSFT signature (0x4D 0x53 0x46 0x54) at offset 0. This is documented in the Microsoft Open Specifications (MS-OAUT). Some older OLB files may use the SLTG (0x53 0x4C 0x54 0x47) format used by pre-2000 Visual Basic type libraries.

Programs that open OLB files

Windows3 apps
Microsoft Visual Studio Freemium Project → Add Reference → COM tab - loads OLB/TLB to generate interop wrappers.
Microsoft Office (built-in, via VBA IDE) Paid In VBA IDE: Tools → References → browse to the OLB file to register it for IntelliSense.
OLE/COM Object Viewer (oleview.exe) Free File → View TypeLib → open the .olb file to browse interfaces and methods in human-readable form.

Technical details

deep spec
Magic bytes (modern)MSFT (4D 53 46 54) at offset 0 - MSFT format (Windows 2000+)
Magic bytes (legacy)SLTG (53 4C 54 47) at offset 0 - legacy format used by VB5/6-era components
Format specificationMS-OAUT (Microsoft Open Specification for OLE Automation type libraries)
Byte orderLittle-endian
ContainerMSFT type library binary: header + segment directory + type info blocks + name/string tables
Type info contentCOM interfaces, coclasses, enumerations, structs, and modules with full method signatures
Registry registrationRegistered under HKEY_CLASSES_ROOT\TypeLib with GUID and version
Typical file size50 KB - 5 MB depending on the number of COM interfaces documented
Functional equivalenceIdentical to .tlb; .olb is the Office application convention, .tlb is the generic convention
VBA integrationReferenced via VBA IDE Tools → References to enable IntelliSense for COM object models
Modern successor.winmd (Windows Metadata) for WinRT/UWP; .NET assemblies carry type metadata inline
Associated OSWindows only
Released1993 with OLE 2.0 / COM (Windows NT 3.1 era)
Latest versionN/A - format stable since Windows 2000; superseded by .winmd in WinRT
Specificationlearn.microsoft.com

Community Q&A

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

Frequently asked questions

I got a 'missing OLB file' error in VBA - how do I fix it?
Repair or reinstall the application whose OLB is missing (usually Microsoft Office). Do not download .olb files from third-party sites.
What is the difference between OLB and TLB?
Functionally identical - both are COM type library binaries. OLB is the convention used by Microsoft Office; TLB is used by most other COM servers.
Can I view the contents of an OLB file?
Yes - use OLE/COM Object Viewer (oleview.exe) from the Windows SDK: File → View TypeLib. It shows all interfaces and method signatures.
Why do I have an OLB file from Cadence OrCAD?
Cadence uses .olb for a completely different purpose: schematic component symbol libraries. It is unrelated to Microsoft COM/OLE.

References

1MS-OAUT: OLE Automation Protocol (type library binary format)learn.microsoft.com
2OLE/COM Object Viewerlearn.microsoft.com

Keep exploring

across the database

Top extensions this week

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

Related extensions

.TORRENTBitTorrent Metainfo File
.MSOMicrosoft Office HTML/OLE Data Stream (oledata.mso)
.MD5MD5 Checksum File
.SHSShell Scrap Object File
.DDDAdobe Acrobat Distiller file
.DWLDrawing Lock File (CAD)

Free file tools

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

Open the toolbox

Browse file extensions A-Z