.MSG

MSG File

Outlook Message (Microsoft Outlook saved email)
Ask a question
QUICK ANSWER

An MSG file is one email - with subject, sender, recipients, body, and any attachments - saved from Microsoft Outlook in Outlook's proprietary binary format. On Windows, double-click it in Outlook, or use the free OpenMSG app if you do not have Outlook. On Mac or iPhone, the Klammer app opens it. The main concern is that MSG can carry the same malicious attachments and phishing links as any email.

Developer: Microsoft Category: Email Files MIME: application/vnd.ms-outlook
OPENS ON Windows macOS Linux iOS Web
Related: .RPMSG · .EML · .MBOX · .MSF

On this page

19k+ extensions indexed
Last reviewed Jun 15, 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 MSG file format?

Files with the .msg extension are used by Microsoft Outlook to save email messages. The program stores all the most important information regarding an email message in a .msg file, including the subject, body content, sender and receiver data, date, hyperlinks, and attachments.

When is a .msg file created?

Outlook generates a .msg file whenever an email message is being saved or created in the program. However, the file can also be generated in other circumstances - not only for email messages, but also for other special items in Outlook such as calendar appointments, contacts, or tasks. A .msg file is created whenever one of those items is saved to disk or exported from the application.

Opening .msg files

.msg files are not stored in a simple text form but in a binary format - specifically, the Microsoft Compound File Binary (OLE2 structured storage) container, the same underlying format used by legacy .doc and .xls documents. Originally, only applications implementing the MAPI interface (Microsoft's Messaging Applications Programming Interface) could open them reliably, which is why importing .msg files outside Outlook has historically been a bit difficult. Today a wider range of tools supports the format, including dedicated viewers and the msgconvert command-line utility on Linux. .msg files can also be converted to the more portable .eml format for use with other mail clients. Exporting .msg files remains common mainly in order to archive them, store them, or scan embedded attachments with antivirus programs. Related Outlook data stores include .pst files, which aggregate many messages in a single archive.

Security & safety

RISK: MEDIUM

A .msg can carry the same threats as any email: malicious attachments, phishing links and tracking pixels. Because attachments are embedded as binary streams, open an unexpected .msg in a proper viewer (which decodes safely) rather than trying to extract files blindly, and don't open the attachments or click links unless you trust the sender. Two extra notes: .msg is binary OLE storage, so renaming it to .txt won't reveal readable content; and when using ONLINE .msg viewers, remember the file is uploaded to a third-party server - don't use them for confidential or sensitive mail.

Format details

in a nutshell
FULL NAMEOutlook Message (Microsoft Outlook saved email)
DEVELOPERMicrosoftsince Late 1990s with Microsoft Outlook; format documented publicly by Microsoft as [MS-OXMSG]
CATEGORYEmail Files
MIME TYPEapplication/vnd.ms-outlook
TYPEProprietary binary - Microsoft Compound File Binary (OLE structured storage)
This extension is also used by…
  • Sound Designer / MIDI message file (.msg) - A rare audio/MIDI data file unrelated to Outlook saved messages.
MAGIC BYTES · FILE SIGNATURE
OFFSET
0001020304050607
HEX
D0CF11E0A1B11AE1
ASCII
········
A .msg is NOT plain text - it is a Microsoft Compound File Binary (the same OLE structured-storage container used by old .doc/.xls), so it begins with the 8-byte signature D0 CF 11 E0 A1 B1 1A E1. Inside, the message properties, body, headers and attachments are stored as named streams.

Programs that open MSG files

Windows4 apps
Microsoft Outlook Paid Double-click the .msg to open it as a message; save attachments from within. The native app.
OpenMSG (Microsoft Store) Free Lightweight Store app made to open .msg without Outlook; install and double-click. Shows body, headers and attachments.
Mozilla Thunderbird + ImportExportTools NG Open-source Free cross-platform mail client; with the ImportExportTools NG add-on it imports/opens .msg files. Good no-Outlook option.
MsgViewer Pro (Encryptomatic) Paid Dedicated .msg/.eml viewer with batch and conversion features; the free online viewer covers single files.
macOS2 apps
Klammer Paid Dedicated .msg/.eml viewer for Mac; double-click or open the .msg to read body and attachments properly.
Mozilla Thunderbird + ImportExportTools NG Open-source Install Thunderbird and the ImportExportTools NG add-on to import/read .msg files on macOS.
Linux2 apps
Mozilla Thunderbird + ImportExportTools NG Open-source Use the add-on to import/read .msg; or convert with msgconvert (libemail-outlook-message-perl) to .eml first.
msgconvert (Email::Outlook::Message) Open-source Command line: 'msgconvert file.msg' produces a readable .eml that any Linux mail client opens.
iOS1 app
Klammer Paid Open the .msg attachment with Klammer on iPhone/iPad to view body and attachments. iOS Mail can't render .msg properly.
Web1 app
Encryptomatic / CoolUtils online MSG viewer Free Upload the .msg in a browser to read it instantly without installing anything (avoid for confidential mail - it's uploaded to a server).

Technical details

deep spec
Container formatMicrosoft Compound File Binary (OLE2 structured storage) - the same CFB container used by legacy `.doc` and `.xls` files
MIME type`application/vnd.ms-outlook`
File signature (magic bytes)`D0 CF 11 E0 A1 B1 1A E1` at byte offset 0 - the OLE2 CFB header, shared by all Compound File documents
Internal layoutMessage properties, body text, and attachments stored as individually named streams and sub-storages inside the CFB container
Body format optionsStores plain text (`PR_BODY`), HTML (`PR_HTML`), and compressed RTF (`PR_RTF_COMPRESSED`) simultaneously; the client renders the richest available version
String encodingText properties stored as Unicode (UTF-16LE); older messages may also carry an ANSI/Windows-1252 fallback copy
Attachment storageEach attachment occupies a dedicated sub-storage (`__attach_version1.0_#XXXXXXXX`) holding its own binary data and MAPI property streams
Property tag schemeEach MAPI property uses a 32-bit tag: upper 16 bits = property ID, lower 16 bits = type code (e.g., `PT_UNICODE`, `PT_BINARY`, `PT_SYSTIME`)
Supported Outlook item typesEmails (`IPM.Note`), contacts (`IPM.Contact`), tasks (`IPM.Task`), appointments (`IPM.Appointment`), sticky notes (`IPM.StickyNote`), and distribution lists
Embedded message nestingForwarded or attached emails stored as nested `.msg` sub-storages within the parent file, to arbitrary depth
Preserved routing metadataSender, all recipient classes (To/Cc/Bcc), delivery timestamps, read/unread flag, importance level, sensitivity, and conversation thread ID
Protocol specificationPublicly documented by Microsoft as the [MS-OXMSG] open protocol; enables third-party libraries such as `libpff` and `msg-extractor`
DeveloperMicrosoft Corporation
Typical file sizeA few kilobytes for text-only messages; can reach hundreds of megabytes when large files are embedded as attachments
ReleasedLate 1990s with Microsoft Outlook; format documented publicly by Microsoft as [MS-OXMSG]
Specificationlearn.microsoft.com

MSG conversions

Community Q&A

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

Frequently asked questions

How do I open an MSG file without Outlook?
Use a free dedicated viewer like OpenMSG from the Microsoft Store, an online MSG viewer in your browser, or Mozilla Thunderbird with the ImportExportTools NG add-on (any OS). On Mac/iPhone, the Klammer app opens .msg properly. Renaming it to .txt won't work - it's a binary file.
What is an MSG file?
It's a single email (or appointment/contact) saved from Microsoft Outlook, stored in Outlook's proprietary binary format with the subject, sender, recipients, body and attachments inside. It holds one item, unlike a .pst mailbox which holds many.
What's the difference between MSG and EML?
.msg is Outlook's proprietary binary format for one message; .eml is the open internet standard (plain text, MIME) for one message that opens in almost any mail program. EML is far more portable - converting MSG to EML is a common way to make an Outlook email universal.
How do I convert an MSG to PDF?
Open it in Outlook and use Print > Microsoft Print to PDF, or open it in a viewer like MsgViewer Pro / an online MSG viewer and export to PDF. This is the usual way to archive an email for records.
How do I get the attachments out of an MSG file?
Open the .msg in any viewer (Outlook, OpenMSG, Thunderbird, Klammer) and save the attachments as you would from a normal email - the viewer decodes them from the file's internal streams.
Can I open an MSG file on a Mac or iPhone?
Yes - the Klammer app opens .msg on macOS and iOS, showing the body and attachments. On a Mac you can also use Thunderbird with the import add-on, or convert the file to .eml first.

References

1Microsoft - [MS-OXMSG]: Outlook Item (.msg) File Formatlearn.microsoft.com
2Mozilla Thunderbird - official sitewww.thunderbird.net

Keep exploring

across the database

Top extensions this week

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

Related extensions

.RPMSGRestricted Permission Message
.EMLE-Mail Message (RFC 822 / MIME)
.MBOXMbox Mailbox (email container)
.MSFMail Summary File (Mozilla Thunderbird / Mork index)
.PSTOutlook Personal Storage Table
.OFTMicrosoft Outlook Template

Free file tools

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

Open the toolbox

Browse file extensions A-Z