[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"page_blog-slug_iGEBitCMY20B38fzlikeWfkYW96H4MHr7nosz230":3},{"__nuxt_island":4,"id":89,"head":9,"html":90},{"key":5,"params":6,"result":8},"page_blog-slug_iGEBitCMY20B38fzlikeWfkYW96H4MHr7nosz230",{"url":7,"props":-1},"/blog/what-are-mbox-files",{"head":9},{"script":10,"meta":26,"link":78,"title":68,"style":86},[11,17,21,22,23,24,25],{"id":12,"type":13,"processTemplateParams":14,"innerHTML":15,"tagPosition":16},"nuxt-og-image-options","application/json",true,"[{\"component\":1,\"props\":2},\"OgImageBlogPost\",{\"title\":3,\"description\":4},\"What Are MBOX Files and How to Open Them\",\"Everything you need to know about MBOX files — what they are, how to open them, how they differ from EML and PST files, and why they matter for email archiving, migration, and backup.\"]","bodyClose",{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},":NIiDfe5__B:","critical","document.querySelectorAll('[data-prehydrate-id*=\":NIiDfe5__B:\"]').forEach(e=>{let t=window._nuxtTimeNow||=Date.now(),n=(e,t)=>t>0?e[0].toUpperCase()+e.slice(1):e,r=e.getAttribute(`datetime`);if(!r)return;let i=new Date(r);if(Number.isNaN(i.getTime()))return;let a={};for(let t of e.getAttributeNames())if(t.startsWith(`data-`)){let r=t.slice(5).split(`-`).map(n).join(``);r===`relativeStyle`&&(r=`style`),a[r]=e.getAttribute(t)}if(a.relative){let n=(i.getTime()-t)/1e3,r=[{unit:`second`,seconds:1,threshold:60},{unit:`minute`,seconds:60,threshold:60},{unit:`hour`,seconds:3600,threshold:24},{unit:`day`,seconds:86400,threshold:30},{unit:`month`,seconds:2592e3,threshold:12},{unit:`year`,seconds:31536e3,threshold:1/0}],{unit:o,seconds:s}=r.find(({seconds:e,threshold:t})=>Math.abs(n/e)\u003Ct)||r[r.length-1],c=n/s;e.textContent=new Intl.RelativeTimeFormat(a.locale,a).format(Math.round(c),o)}else e.textContent=new Intl.DateTimeFormat(a.locale,a).format(i)})",{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},{"key":18,"tagPosition":16,"tagPriority":19,"innerHTML":20},[27,30,33,36,38,40,43,45,48,50,53,56,59,62,64,66,67,69,70,73,76],{"property":28,"content":29},"og:image","/__og-image__/image/blog/what-are-mbox-files/og.png",{"property":31,"content":32},"og:image:type","image/png",{"name":34,"content":35},"twitter:card","summary_large_image",{"name":37,"content":29},"twitter:image",{"name":39,"content":29},"twitter:image:src",{"property":41,"content":42},"og:image:width",1200,{"name":44,"content":42},"twitter:image:width",{"property":46,"content":47},"og:image:height",600,{"name":49,"content":47},"twitter:image:height",{"hid":51,"property":51,"content":52},"og:type","article",{"hid":54,"property":54,"content":55},"og:url","https://emailshot.io/blog/what-are-mbox-files/",{"property":57,"content":58},"og:title","What Are MBOX Files and How to Open Them",{"name":60,"content":61},"description","Everything you need to know about MBOX files — what they are, how to open them, how they differ from EML and PST files, and why they matter for email archiving, migration, and backup.",{"property":63,"content":61},"og:description",{"property":28,"content":65},"/img/emailshot-screenshot.png",{"name":60,"content":61},{"property":57,"content":68},"What Are MBOX Files and How to Open Them - EmailShot Blog",{"property":63,"content":61},{"property":71,"content":72},"article:published_time","2025-04-15",{"property":74,"content":75,"key":75},"article:tag","tools",{"property":74,"content":77,"key":77},"technical",[79,81],{"rel":80,"href":55},"canonical",{"rel":82,"type":83,"title":84,"href":85},"alternate","application/rss+xml","EmailShot Blog RSS Feed","https://emailshot.io/blog/rss.xml",[87],{"innerHTML":88},"pre code .line{display:block;min-height:1rem}","iGEBitCMY20B38fzlikeWfkYW96H4MHr7nosz230","\u003Cdiv class=\"blog-view\" data-island-uid>\u003Cmain>\u003C!--[-->\u003C!--[-->\u003C!---->\u003C!---->\u003C!---->\u003C!---->\u003C!---->\u003C!---->\u003C!--[-->\u003C!---->\u003C!---->\u003C!--]-->\u003C!--]-->\u003Carticle>\u003Cdiv class=\"container\">\u003Cheader class=\"mb-4\">\u003Cdiv class=\"section-heading\">\u003Ch1 class=\"blog-article-title mb-1 fw-bolder\">What Are MBOX Files and How to Open Them\u003C/h1>\u003Cdiv class=\"line\">\u003C/div>\u003C/div>\u003Cdiv class=\"d-flex flex-wrap align-items-center gap-3 text-muted mb-3\">\u003Cdiv class=\"fst-italic\"> Published on \u003Ctime data-year=\"numeric\" data-month=\"long\" data-day=\"numeric\" datetime=\"2025-04-15T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">April 15, 2025\u003C/time>\u003C/div>\u003C!---->\u003C/div>\u003Cdiv class=\"mb-3\">\u003C!--[-->\u003Cspan class=\"badge bg-secondary me-1\">tools\u003C/span>\u003Cspan class=\"badge bg-secondary me-1\">technical\u003C/span>\u003C!--]-->\u003C/div>\u003C/header>\u003Cdiv class=\"row\">\u003Cdiv class=\"col-lg-8\">\u003Cdiv class=\"blog-content\">\u003Cdiv>\u003Cp>\u003C!--[-->If you&#39;ve ever exported your Gmail via Google Takeout, moved away from Thunderbird, or received a mailbox archive from a colleague, you&#39;ve almost certainly run into an MBOX file. Despite being one of the oldest and most widely used email storage formats, MBOX remains a mystery to most people outside the IT world.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->In this guide, we&#39;ll cover everything you need to know — from the basics of the MBOX format to practical use cases like email migration, archiving, and forensic investigation.\u003C!--]-->\u003C/p>\u003Ch2 id=\"what-is-an-mbox-file\">\u003Ca href=\"#what-is-an-mbox-file\">\u003C!--[-->What is an MBOX File?\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->An MBOX file is a standard format for storing multiple email messages in a single file. The name stands for &quot;mailbox,&quot; which is exactly what it is: a plain-text file that concatenates multiple email messages one after another.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->Unlike \u003Ca href=\"/blog/what-are-eml-files/\" class=\"\">\u003C!--[-->EML files\u003C!--]-->\u003C/a>, which store one email per file, a single MBOX file can contain an entire folder&#39;s worth of email — from a handful of messages to millions. This makes MBOX the preferred format for full mailbox exports, long-term archives, and bulk migrations.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->Each email in an MBOX file includes:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Headers\u003C!--]-->\u003C/strong>: From, To, CC, BCC, Subject, Date, Message-ID, and all technical headers\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Body\u003C!--]-->\u003C/strong>: Plain text and/or HTML versions of the email content\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Attachments\u003C!--]-->\u003C/strong>: Any attached files, MIME-encoded within the message\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Inline images\u003C!--]-->\u003C/strong>: Images embedded in the email body\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Authentication headers\u003C!--]-->\u003C/strong>: SPF, DKIM, and DMARC results added by receiving servers\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Cp>\u003C!--[-->MBOX files are governed by \u003Cstrong>\u003C!--[-->RFC 4155\u003C!--]-->\u003C/strong>, though the format predates that standard by decades — it originated in Unix mail systems in the 1970s and became the de facto standard for storing mail on Unix-like systems.\u003C!--]-->\u003C/p>\u003Ch2 id=\"what-does-an-mbox-file-look-like-inside\">\u003Ca href=\"#what-does-an-mbox-file-look-like-inside\">\u003C!--[-->What Does an MBOX File Look Like Inside?\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->If you open an MBOX file in a text editor, you&#39;ll see something like this:\u003C!--]-->\u003C/p>\u003C!--[-->\u003Cpre class=\"\" style=\"\">\u003C!--[-->\u003Ccode>From john@example.com Mon Apr 14 09:22:14 2025\nFrom: John Smith &lt;john@example.com&gt;\nTo: Jane Doe &lt;jane@example.com&gt;\nSubject: Project Update\nDate: Mon, 14 Apr 2025 09:22:14 -0500\nMIME-Version: 1.0\nContent-Type: text/plain; charset=&quot;UTF-8&quot;\n\nHi Jane, here is the project update for this week...\n\nFrom sarah@example.com Mon Apr 14 11:05:33 2025\nFrom: Sarah Connor &lt;sarah@example.com&gt;\nTo: Jane Doe &lt;jane@example.com&gt;\nSubject: Re: Project Update\nDate: Mon, 14 Apr 2025 11:05:33 -0500\nContent-Type: text/plain; charset=&quot;UTF-8&quot;\n\nThanks for the update, Jane. Looking good!\n\n\u003C/code>\u003C!--]-->\u003C/pre>\u003C!--]-->\u003Cp>\u003C!--[-->The key thing to notice is the separator line at the top of each message: a line starting with \u003Ccode class=\"\">\u003C!--[-->From \u003C!--]-->\u003C/code> (with a space after it), followed by the sender address and a timestamp. This is called the \u003Cstrong>\u003C!--[-->mbox separator\u003C!--]-->\u003C/strong> or \u003Cstrong>\u003C!--[-->From_ line\u003C!--]-->\u003C/strong>, and it&#39;s how parsers know where one message ends and the next begins.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->This simplicity is both MBOX&#39;s biggest strength and its main weakness. Any email body that happens to start with &quot;From &quot; on its own line needs to be escaped (by prepending a \u003Ccode class=\"\">\u003C!--[-->&gt;\u003C!--]-->\u003C/code> character), which can cause issues with some parsers.\u003C!--]-->\u003C/p>\u003Ch2 id=\"mbox-vs-other-email-file-formats\">\u003Ca href=\"#mbox-vs-other-email-file-formats\">\u003C!--[-->MBOX vs. Other Email File Formats\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->MBOX isn&#39;t the only format you&#39;ll encounter. Here&#39;s how it compares to the most common alternatives:\u003C!--]-->\u003C/p>\u003Ch3 id=\"mbox-vs-eml\">\u003Ca href=\"#mbox-vs-eml\">\u003C!--[-->MBOX vs. EML\u003C!--]-->\u003C/a>\u003C/h3>\u003Ctable>\u003C!--[-->\u003Cthead>\u003C!--[-->\u003Ctr>\u003C!--[-->\u003Cth>\u003C!--[-->Feature\u003C!--]-->\u003C/th>\u003Cth>\u003C!--[-->MBOX\u003C!--]-->\u003C/th>\u003Cth>\u003C!--[-->EML\u003C!--]-->\u003C/th>\u003C!--]-->\u003C/tr>\u003C!--]-->\u003C/thead>\u003Ctbody>\u003C!--[-->\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Emails per file\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Multiple\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->One\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->File extension\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->.mbox\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->.eml\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Standard\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->RFC 4155\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->RFC 5322\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Best for\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Full mailbox exports / archives\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Individual emails\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->File size\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Can be very large\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Typically small\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Portability\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->One file for entire mailbox\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Individual files per email\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003C!--]-->\u003C/tbody>\u003C!--]-->\u003C/table>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->EML\u003C!--]-->\u003C/strong> files are better when you need to work with individual messages — for example, to attach a specific email to a ticket or share a single message. MBOX is better when you need to move or archive an entire mailbox at once.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->If you need to view individual EML files, check out our free \u003Ca href=\"/tools/eml-viewer/\" class=\"\">\u003C!--[-->EML Viewer\u003C!--]-->\u003C/a> tool.\u003C!--]-->\u003C/p>\u003Ch3 id=\"mbox-vs-pst\">\u003Ca href=\"#mbox-vs-pst\">\u003C!--[-->MBOX vs. PST\u003C!--]-->\u003C/a>\u003C/h3>\u003Ctable>\u003C!--[-->\u003Cthead>\u003C!--[-->\u003Ctr>\u003C!--[-->\u003Cth>\u003C!--[-->Feature\u003C!--]-->\u003C/th>\u003Cth>\u003C!--[-->MBOX\u003C!--]-->\u003C/th>\u003Cth>\u003C!--[-->PST\u003C!--]-->\u003C/th>\u003C!--]-->\u003C/tr>\u003C!--]-->\u003C/thead>\u003Ctbody>\u003C!--[-->\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Format\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Plain text\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Binary (Microsoft proprietary)\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Created by\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Unix/open-source mail systems\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Microsoft Outlook\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Compatibility\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Universal (Linux, macOS, Windows)\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Primarily Windows/Outlook\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Contents\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Email only\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Email, contacts, calendar, tasks\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Max size\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Unlimited\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->50 GB (Outlook 2010+)\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003Ctr>\u003C!--[-->\u003Ctd>\u003C!--[-->\u003Cstrong>\u003C!--[-->Readability\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Can be read in any text editor\u003C!--]-->\u003C/td>\u003Ctd>\u003C!--[-->Requires specialized software\u003C!--]-->\u003C/td>\u003C!--]-->\u003C/tr>\u003C!--]-->\u003C/tbody>\u003C!--]-->\u003C/table>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->PST (Personal Storage Table)\u003C!--]-->\u003C/strong> files are Microsoft&#39;s proprietary mailbox format. Unlike MBOX, PST files can store not just email but also contacts, calendar entries, and tasks. However, they require specialized software to read and are much harder to work with outside the Microsoft ecosystem.\u003C!--]-->\u003C/p>\u003Ch3 id=\"mbox-vs-maildir\">\u003Ca href=\"#mbox-vs-maildir\">\u003C!--[-->MBOX vs. Maildir\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Maildir\u003C!--]-->\u003C/strong> is another Unix email storage format, but instead of concatenating all messages into one file, it stores each email as a separate file within a directory structure. This avoids the file locking issues that MBOX can suffer when multiple processes try to access the same mailbox simultaneously. Many modern mail servers (Dovecot, Postfix) prefer Maildir for exactly this reason.\u003C!--]-->\u003C/p>\u003Ch2 id=\"mbox-variants\">\u003Ca href=\"#mbox-variants\">\u003C!--[-->MBOX Variants\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->The MBOX format has several variants that differ in how they handle the separator line and email metadata. The four main variants are:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mboxo\u003C!--]-->\u003C/strong> (original): The classic Unix format. &quot;From &quot; lines in the message body are escaped with a leading \u003Ccode class=\"\">\u003C!--[-->&gt;\u003C!--]-->\u003C/code>.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mboxrd\u003C!--]-->\u003C/strong> (Rahul Dhesi): An improvement on mboxo that also escapes &quot;&gt;From &quot; and &quot;&gt;&gt;From &quot; sequences in message bodies to avoid ambiguity.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mboxcl\u003C!--]-->\u003C/strong> (Content-Length): Adds a \u003Ccode class=\"\">\u003C!--[-->Content-Length:\u003C!--]-->\u003C/code> header to each message, allowing parsers to skip ahead to the next message without scanning for the separator line.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mboxcl2\u003C!--]-->\u003C/strong>: Like mboxcl but doesn&#39;t need to escape &quot;From &quot; lines in the body — it uses the \u003Ccode class=\"\">\u003C!--[-->Content-Length\u003C!--]-->\u003C/code> header exclusively for parsing.\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Cp>\u003C!--[-->For most practical purposes, this distinction doesn&#39;t matter — all major email clients handle the common variants transparently. But if you&#39;re writing a parser or debugging a malformed MBOX file, knowing which variant you&#39;re dealing with can save you hours of frustration.\u003C!--]-->\u003C/p>\u003Ch2 id=\"common-use-cases-for-mbox-files\">\u003Ca href=\"#common-use-cases-for-mbox-files\">\u003C!--[-->Common Use Cases for MBOX Files\u003C!--]-->\u003C/a>\u003C/h2>\u003Ch3 id=\"email-migration-between-providers\">\u003Ca href=\"#email-migration-between-providers\">\u003C!--[-->Email Migration Between Providers\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->MBOX is the universal transfer format for moving email between different systems. The typical migration workflow:\u003C!--]-->\u003C/p>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Export\u003C!--]-->\u003C/strong> emails as MBOX from the source system\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Transfer\u003C!--]-->\u003C/strong> the MBOX file(s) to the destination\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Import\u003C!--]-->\u003C/strong> the MBOX file into the new email system\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Cp>\u003C!--[-->This approach works across virtually any combination of providers because virtually every email client and server can read and write MBOX. Whether you&#39;re moving from Gmail to Proton Mail, from Thunderbird to Apple Mail, or from a corporate Exchange server to a Google Workspace account, MBOX is the lingua franca.\u003C!--]-->\u003C/p>\u003Ch3 id=\"google-takeout-gmail-export\">\u003Ca href=\"#google-takeout-gmail-export\">\u003C!--[-->Google Takeout / Gmail Export\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->When you export your Gmail data via \u003Ca href=\"https://takeout.google.com/\" rel=\"external\">\u003C!--[-->Google Takeout\u003C!--]-->\u003C/a>, your emails are delivered as MBOX files — one file per Gmail label/folder. This is the primary way most people encounter MBOX files.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->The export produces files with names like \u003Ccode class=\"\">\u003C!--[-->All mail Including Spam and Trash.mbox\u003C!--]-->\u003C/code>, \u003Ccode class=\"\">\u003C!--[-->Inbox.mbox\u003C!--]-->\u003C/code>, or custom label names. These files can be quite large: a Gmail inbox with years of email history can easily produce an MBOX file that&#39;s several gigabytes.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->If you&#39;ve downloaded a Google Takeout export and need to inspect the contents, our free \u003Ca href=\"/tools/mbox-viewer/\" class=\"\">\u003C!--[-->MBOX Viewer\u003C!--]-->\u003C/a> can open and display the emails without any software installation.\u003C!--]-->\u003C/p>\u003Ch3 id=\"long-term-email-archiving\">\u003Ca href=\"#long-term-email-archiving\">\u003C!--[-->Long-Term Email Archiving\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Organizations that need to preserve email for compliance purposes often archive to MBOX. Regulatory frameworks like \u003Cstrong>\u003C!--[-->SOX\u003C!--]-->\u003C/strong>, \u003Cstrong>\u003C!--[-->GDPR\u003C!--]-->\u003C/strong>, \u003Cstrong>\u003C!--[-->HIPAA\u003C!--]-->\u003C/strong>, and \u003Cstrong>\u003C!--[-->SEC Rule 17a-4\u003C!--]-->\u003C/strong> often require companies to retain business communications for specific periods — sometimes up to seven years or more.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->MBOX is well-suited for compliance archiving because:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->The format is open, plain-text, and will remain readable indefinitely without proprietary software\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Each message preserves its original headers, including \u003Ca href=\"/blog/understanding-email-authentication/\" class=\"\">\u003C!--[-->SPF, DKIM, and DMARC\u003C!--]-->\u003C/a> authentication results\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Files can be stored in standard object storage (S3, Google Cloud Storage) at low cost\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->The format is admissible in legal proceedings and widely recognized by eDiscovery tools\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Ch3 id=\"thunderbird-mailbox-format\">\u003Ca href=\"#thunderbird-mailbox-format\">\u003C!--[-->Thunderbird Mailbox Format\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Mozilla Thunderbird uses MBOX as its native storage format. Each folder in Thunderbird corresponds to an MBOX file (with no extension on the file itself) stored in the Thunderbird profile directory. If you&#39;ve ever browsed \u003Ccode class=\"\">\u003C!--[-->~/.thunderbird/\u003C!--]-->\u003C/code> on Linux or macOS, you&#39;ve seen these files.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->This means Thunderbird backups are simply MBOX files. You can:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->Back up a specific folder by copying its MBOX file\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Restore it by copying the file back\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Open the backup in any MBOX-compatible viewer or mail client\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Ch3 id=\"email-forensics-and-investigation\">\u003Ca href=\"#email-forensics-and-investigation\">\u003C!--[-->Email Forensics and Investigation\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Security teams and investigators regularly work with MBOX files when conducting forensic analysis of email systems. Common scenarios include:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Incident response\u003C!--]-->\u003C/strong>: Export suspicious mailboxes for offline analysis\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Phishing investigation\u003C!--]-->\u003C/strong>: Trace the origin of phishing campaigns by examining headers across multiple messages\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->eDiscovery\u003C!--]-->\u003C/strong>: Legal proceedings often require bulk email exports in a standard format\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Insider threat investigations\u003C!--]-->\u003C/strong>: Analyze communication patterns in exported mailboxes\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Cp>\u003C!--[-->When working with MBOX files forensically, our \u003Ca href=\"/tools/mbox-viewer/\" class=\"\">\u003C!--[-->MBOX Viewer\u003C!--]-->\u003C/a> lets you inspect individual messages and their headers without modifying the original file.\u003C!--]-->\u003C/p>\u003Ch3 id=\"backup-and-personal-archives\">\u003Ca href=\"#backup-and-personal-archives\">\u003C!--[-->Backup and Personal Archives\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->For individuals, maintaining an MBOX backup of important emails provides peace of mind:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->Export critical email threads as MBOX files and store them in cloud storage\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Keep a local archive of emails from an account you&#39;re about to close\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Preserve historical email from a job you&#39;re leaving\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Cp>\u003C!--[-->Because MBOX is a plain-text format, these archives remain readable in any text editor — you&#39;ll never be locked out due to discontinued software.\u003C!--]-->\u003C/p>\u003Ch2 id=\"how-to-open-mbox-files\">\u003Ca href=\"#how-to-open-mbox-files\">\u003C!--[-->How to Open MBOX Files\u003C!--]-->\u003C/a>\u003C/h2>\u003Ch3 id=\"using-our-free-online-viewer\">\u003Ca href=\"#using-our-free-online-viewer\">\u003C!--[-->Using Our Free Online Viewer\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->The easiest way to view an MBOX file is with our free \u003Ca href=\"/tools/mbox-viewer/\" class=\"\">\u003C!--[-->MBOX Viewer\u003C!--]-->\u003C/a>. Simply drag and drop your file, and it parses the messages and displays them in a clean, readable format — all in your browser, with no upload required.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Key advantages of our MBOX Viewer:\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->No upload required\u003C!--]-->\u003C/strong>: The file is processed entirely in your browser using JavaScript. Your email data never leaves your device.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Full rendering\u003C!--]-->\u003C/strong>: See each email with its original HTML formatting, images, and styling\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Message navigation\u003C!--]-->\u003C/strong>: Browse through all messages in the file with a clear message list\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Header inspection\u003C!--]-->\u003C/strong>: View all email headers including authentication results and routing information\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Attachment listing\u003C!--]-->\u003C/strong>: See attachments with their names, sizes, and MIME types\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Large file support\u003C!--]-->\u003C/strong>: Handles multi-gigabyte MBOX files from Gmail Takeout exports\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Mobile friendly\u003C!--]-->\u003C/strong>: Works on phones and tablets\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->No account needed\u003C!--]-->\u003C/strong>: No sign-up, no login — just drag, drop, and view\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Ch3 id=\"using-mozilla-thunderbird\">\u003Ca href=\"#using-mozilla-thunderbird\">\u003C!--[-->Using Mozilla Thunderbird\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Thunderbird is the most capable free desktop application for working with MBOX files:\u003C!--]-->\u003C/p>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->Open Thunderbird\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Go to \u003Cstrong>\u003C!--[-->Tools &gt; ImportExportTools NG\u003C!--]-->\u003C/strong> (you may need to install this add-on first)\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Select \u003Cstrong>\u003C!--[-->Import mbox file\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Choose your MBOX file\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Cp>\u003C!--[-->Alternatively, you can copy an MBOX file directly into your Thunderbird profile&#39;s mail folder, restart Thunderbird, and it will appear as a folder in the sidebar.\u003C!--]-->\u003C/p>\u003Ch3 id=\"using-apple-mail-macos\">\u003Ca href=\"#using-apple-mail-macos\">\u003C!--[-->Using Apple Mail (macOS)\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Apple Mail can import MBOX files through the import wizard:\u003C!--]-->\u003C/p>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->Open Apple Mail\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Go to \u003Cstrong>\u003C!--[-->File &gt; Import Mailboxes\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Select \u003Cstrong>\u003C!--[-->Files in mbox format\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Navigate to your MBOX file and click \u003Cstrong>\u003C!--[-->Continue\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Cp>\u003C!--[-->The emails will be imported into a new &quot;Import&quot; folder in Apple Mail.\u003C!--]-->\u003C/p>\u003Ch3 id=\"using-gmail-via-google-workspace-migration\">\u003Ca href=\"#using-gmail-via-google-workspace-migration\">\u003C!--[-->Using Gmail (via Google Workspace Migration)\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Google doesn&#39;t provide a direct MBOX import in the standard Gmail interface, but Google Workspace administrators can use the \u003Cstrong>\u003C!--[-->Google Workspace Migration for Microsoft Exchange (GWMME)\u003C!--]-->\u003C/strong> tool or third-party migration services that accept MBOX as input.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->For personal Gmail accounts, third-party tools like \u003Cstrong>\u003C!--[-->Thunderbird + Google Account\u003C!--]-->\u003C/strong> (via IMAP sync after local import) provide a workaround.\u003C!--]-->\u003C/p>\u003Ch3 id=\"using-text-editors\">\u003Ca href=\"#using-text-editors\">\u003C!--[-->Using Text Editors\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Since MBOX files are plain text, you can open them in any text editor for raw inspection. However, this isn&#39;t practical for large files (multi-gigabyte exports will strain most editors). For targeted inspection:\u003C!--]-->\u003C/p>\u003C!--[-->\u003Cpre class=\"language-bash\" style=\"\">\u003C!--[-->\u003Ccode># Count the number of messages in an MBOX file\ngrep -c &quot;^From &quot; mailbox.mbox\n\n# Extract all subject lines\ngrep &quot;^Subject:&quot; mailbox.mbox\n\n# Find messages from a specific sender\ngrep -A 50 &quot;^From: specific@example.com&quot; mailbox.mbox\n\n# Search message content\ngrep -i &quot;invoice&quot; mailbox.mbox\n\u003C/code>\u003C!--]-->\u003C/pre>\u003C!--]-->\u003Ch3 id=\"using-command-line-tools\">\u003Ca href=\"#using-command-line-tools\">\u003C!--[-->Using Command-Line Tools\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->For advanced users, several Unix tools work well with MBOX files:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mutt\u003C!--]-->\u003C/strong>: The classic Unix mail client can open and browse MBOX files directly\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->formail\u003C!--]-->\u003C/strong> (procmail package): Splits MBOX files into individual messages\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->mb2md\u003C!--]-->\u003C/strong>: Converts MBOX to Maildir format\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Python&#39;s mailbox module\u003C!--]-->\u003C/strong>: Excellent for scripting MBOX processing\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003C!--[-->\u003Cpre class=\"language-python\" style=\"\">\u003C!--[-->\u003Ccode>import mailbox\n\nmbox = mailbox.mbox(&#39;inbox.mbox&#39;)\nfor message in mbox:\n    print(f&quot;From: {message[&#39;from&#39;]}&quot;)\n    print(f&quot;Subject: {message[&#39;subject&#39;]}&quot;)\n    print(f&quot;Date: {message[&#39;date&#39;]}&quot;)\n    print(&quot;---&quot;)\n\u003C/code>\u003C!--]-->\u003C/pre>\u003C!--]-->\u003Ch2 id=\"how-to-create-mbox-files\">\u003Ca href=\"#how-to-create-mbox-files\">\u003C!--[-->How to Create MBOX Files\u003C!--]-->\u003C/a>\u003C/h2>\u003Ch3 id=\"from-gmail-google-takeout\">\u003Ca href=\"#from-gmail-google-takeout\">\u003C!--[-->From Gmail (Google Takeout)\u003C!--]-->\u003C/a>\u003C/h3>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->Go to \u003Ca href=\"https://takeout.google.com/\" rel=\"external\">\u003C!--[-->Google Takeout\u003C!--]-->\u003C/a>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Deselect all, then select \u003Cstrong>\u003C!--[-->Mail\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Choose your export settings (file format, size limits)\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Click \u003Cstrong>\u003C!--[-->Create export\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Download the resulting \u003Ccode class=\"\">\u003C!--[-->.zip\u003C!--]-->\u003C/code> or \u003Ccode class=\"\">\u003C!--[-->.tgz\u003C!--]-->\u003C/code> file — it contains MBOX files for each of your Gmail labels\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Ch3 id=\"from-thunderbird\">\u003Ca href=\"#from-thunderbird\">\u003C!--[-->From Thunderbird\u003C!--]-->\u003C/a>\u003C/h3>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->Right-click a folder in Thunderbird&#39;s sidebar\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Select \u003Cstrong>\u003C!--[-->ImportExportTools NG &gt; Export folder\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Choose \u003Cstrong>\u003C!--[-->mbox format\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Select a save location\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Ch3 id=\"from-apple-mail\">\u003Ca href=\"#from-apple-mail\">\u003C!--[-->From Apple Mail\u003C!--]-->\u003C/a>\u003C/h3>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->Select one or more mailboxes in Apple Mail&#39;s sidebar\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Go to \u003Cstrong>\u003C!--[-->Mailbox &gt; Export Mailbox\u003C!--]-->\u003C/strong>\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Choose a save location — Apple Mail saves each selected mailbox as an \u003Ccode class=\"\">\u003C!--[-->.mbox\u003C!--]-->\u003C/code> package (a directory that contains a file called \u003Ccode class=\"\">\u003C!--[-->mbox\u003C!--]-->\u003C/code> inside)\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Ch3 id=\"programmatically\">\u003Ca href=\"#programmatically\">\u003C!--[-->Programmatically\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->Python&#39;s built-in \u003Ccode class=\"\">\u003C!--[-->mailbox\u003C!--]-->\u003C/code> module makes it easy to create MBOX files:\u003C!--]-->\u003C/p>\u003C!--[-->\u003Cpre class=\"language-python\" style=\"\">\u003C!--[-->\u003Ccode>import mailbox\nimport email.message\n\n# Create a new MBOX file\nmbox = mailbox.mbox(&#39;archive.mbox&#39;)\nmbox.lock()\n\n# Add a message\nmsg = email.message.EmailMessage()\nmsg[&#39;From&#39;] = &#39;sender@example.com&#39;\nmsg[&#39;To&#39;] = &#39;recipient@example.com&#39;\nmsg[&#39;Subject&#39;] = &#39;Test message&#39;\nmsg.set_content(&#39;This is the message body.&#39;)\n\nmbox.add(msg)\nmbox.flush()\nmbox.unlock()\nmbox.close()\n\u003C/code>\u003C!--]-->\u003C/pre>\u003C!--]-->\u003Ch2 id=\"security-considerations-when-opening-mbox-files\">\u003Ca href=\"#security-considerations-when-opening-mbox-files\">\u003C!--[-->Security Considerations When Opening MBOX Files\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->MBOX files from unknown sources deserve the same caution as any email from an untrusted sender — and then some, since a single MBOX file can contain thousands of potentially malicious messages.\u003C!--]-->\u003C/p>\u003Ch3 id=\"safety-guidelines\">\u003Ca href=\"#safety-guidelines\">\u003C!--[-->Safety Guidelines\u003C!--]-->\u003C/a>\u003C/h3>\u003Col>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Don&#39;t open attachments\u003C!--]-->\u003C/strong> from MBOX files of unknown origin. Attachments in MBOX messages can contain malware just like email attachments.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Use our MBOX Viewer\u003C!--]-->\u003C/strong> for safe viewing — it renders emails in a sandboxed browser environment without executing scripts or loading external tracking pixels.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Check authentication headers\u003C!--]-->\u003C/strong> for signs of spoofing. Look at SPF, DKIM, and DMARC results across messages in the file using our \u003Ca href=\"/tools/dns-checker/\" class=\"\">\u003C!--[-->DNS Checker\u003C!--]-->\u003C/a> and \u003Ca href=\"/tools/dmarc-analyzer/\" class=\"\">\u003C!--[-->DMARC Analyzer\u003C!--]-->\u003C/a>.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Be aware of email injection attacks\u003C!--]-->\u003C/strong>: Maliciously crafted MBOX files may attempt to exploit vulnerabilities in parsers through malformed headers or oversized fields.\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Cstrong>\u003C!--[-->Verify the source\u003C!--]-->\u003C/strong>: If you receive an MBOX file from an unknown party claiming it&#39;s your own email export, verify before opening.\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ol>\u003Ch3 id=\"privacy-considerations\">\u003Ca href=\"#privacy-considerations\">\u003C!--[-->Privacy Considerations\u003C!--]-->\u003C/a>\u003C/h3>\u003Cp>\u003C!--[-->MBOX files contain the complete text of every email in the archive, including any sensitive information, personal data, or confidential communications. Treat them accordingly:\u003C!--]-->\u003C/p>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->Store MBOX archives with the same care as the emails themselves\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Encrypt MBOX files at rest if they contain sensitive information\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Be cautious about who you share MBOX files with — they contain far more data than a single forwarded email\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->Consider whether sharing an MBOX file complies with GDPR or other privacy regulations applicable to your organization\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003Ch2 id=\"frequently-asked-questions-about-mbox-files\">\u003Ca href=\"#frequently-asked-questions-about-mbox-files\">\u003C!--[-->Frequently Asked Questions About MBOX Files\u003C!--]-->\u003C/a>\u003C/h2>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->What program opens MBOX files?\u003C!--]-->\u003C/strong>\nMozilla Thunderbird and Apple Mail are the most commonly available desktop apps. For a quick, no-install option, use our free \u003Ca href=\"/tools/mbox-viewer/\" class=\"\">\u003C!--[-->MBOX Viewer\u003C!--]-->\u003C/a> — it works entirely in your browser.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Why is my MBOX file so large?\u003C!--]-->\u003C/strong>\nMBOX files can be very large because they contain every email in a folder, including all attachments encoded in Base64 (which increases size by about 33%). A Gmail inbox with years of accumulated emails and attachments can easily be several gigabytes.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Can I import an MBOX file into Gmail?\u003C!--]-->\u003C/strong>\nNot directly through Gmail&#39;s web interface. The most practical approach is to import into Thunderbird first, then use Thunderbird&#39;s Gmail integration (via IMAP) to copy messages into Gmail.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Is it safe to open an MBOX file from Google Takeout?\u003C!--]-->\u003C/strong>\nYes — Google Takeout exports are your own email data. However, you should still be cautious about the contents of the emails themselves (phishing messages you received, for example, are still phishing messages in the archive).\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->Can I convert MBOX to PST?\u003C!--]-->\u003C/strong>\nYes. Tools like \u003Cstrong>\u003C!--[-->Aid4Mail\u003C!--]-->\u003C/strong>, \u003Cstrong>\u003C!--[-->Mailpile\u003C!--]-->\u003C/strong>, and various other migration utilities can convert MBOX to PST format for import into Outlook. Some require paid licenses.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->How do I split a large MBOX file into smaller files?\u003C!--]-->\u003C/strong>\nThe \u003Ccode class=\"\">\u003C!--[-->formail\u003C!--]-->\u003C/code> tool (part of the \u003Ccode class=\"\">\u003C!--[-->procmail\u003C!--]-->\u003C/code> package on Linux) can split an MBOX file into individual EML files. In Python, you can iterate through the \u003Ccode class=\"\">\u003C!--[-->mailbox.mbox\u003C!--]-->\u003C/code> object and write subsets to new MBOX files.\u003C!--]-->\u003C/p>\u003Cp>\u003C!--[-->\u003Cstrong>\u003C!--[-->What&#39;s the difference between .mbox and .mbx files?\u003C!--]-->\u003C/strong>\nVirtually nothing in practice. Some mail clients (notably older versions of Eudora and Outlook Express) used \u003Ccode class=\"\">\u003C!--[-->.mbx\u003C!--]-->\u003C/code> as the extension for what is essentially the same format. If you have an \u003Ccode class=\"\">\u003C!--[-->.mbx\u003C!--]-->\u003C/code> file, try renaming it to \u003Ccode class=\"\">\u003C!--[-->.mbox\u003C!--]-->\u003C/code> — it will often work.\u003C!--]-->\u003C/p>\u003Ch2 id=\"related-tools\">\u003Ca href=\"#related-tools\">\u003C!--[-->Related Tools\u003C!--]-->\u003C/a>\u003C/h2>\u003Cul>\u003C!--[-->\u003Cli>\u003C!--[-->\u003Ca href=\"/tools/mbox-viewer/\" class=\"\">\u003C!--[-->MBOX Viewer\u003C!--]-->\u003C/a> — Open and read MBOX mailbox archives online, securely in your browser\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Ca href=\"/tools/eml-viewer/\" class=\"\">\u003C!--[-->EML Viewer\u003C!--]-->\u003C/a> — View individual EML email files extracted from MBOX archives\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Ca href=\"/tools/dmarc-analyzer/\" class=\"\">\u003C!--[-->DMARC Analyzer\u003C!--]-->\u003C/a> — Analyze DMARC reports to understand email authentication across your domain\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Ca href=\"/tools/dns-checker/\" class=\"\">\u003C!--[-->DNS Checker\u003C!--]-->\u003C/a> — Verify your domain&#39;s SPF, DKIM, and DMARC records\u003C!--]-->\u003C/li>\u003Cli>\u003C!--[-->\u003Ca href=\"/tools/ical-viewer/\" class=\"\">\u003C!--[-->iCal Viewer\u003C!--]-->\u003C/a> — View calendar files often found as attachments within archived emails\u003C!--]-->\u003C/li>\u003C!--]-->\u003C/ul>\u003C/div>\u003C/div>\u003Cdiv class=\"mt-5 pt-4 border-top\">\u003Ca href=\"/blog/\" class=\"btn btn-outline-primary\"> ← Back to Blog \u003C/a>\u003C/div>\u003C/div>\u003Cdiv class=\"col-lg-4\">\u003Cdiv class=\"card mb-4\">\u003Cdiv class=\"card-header fw-semibold\"> Recent Posts \u003C/div>\u003Cdiv class=\"card-body\">\u003Cul class=\"list-unstyled mb-0\">\u003C!--[-->\u003Cli class=\"mb-3\">\u003Ca href=\"/blog/export-emails-markdown-pdf/\" class=\"text-decoration-none blog-sidebar-link\">Export Emails as Markdown or PDF — and Why Format Matters More Than Ever\u003C/a>\u003Cdiv class=\"text-muted small\">\u003Ctime data-year=\"numeric\" data-month=\"short\" data-day=\"numeric\" datetime=\"2026-04-07T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">Apr 7, 2026\u003C/time>\u003C/div>\u003C/li>\u003Cli class=\"mb-3\">\u003Ca href=\"/blog/what-are-vcf-files/\" class=\"text-decoration-none blog-sidebar-link\">What Are VCF Files and How to Open Them\u003C/a>\u003Cdiv class=\"text-muted small\">\u003Ctime data-year=\"numeric\" data-month=\"short\" data-day=\"numeric\" datetime=\"2026-03-27T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">Mar 27, 2026\u003C/time>\u003C/div>\u003C/li>\u003Cli class=\"mb-3\">\u003Ca href=\"/blog/what-are-ics-files/\" class=\"text-decoration-none blog-sidebar-link\">What Are ICS Files and How to Open Them\u003C/a>\u003Cdiv class=\"text-muted small\">\u003Ctime data-year=\"numeric\" data-month=\"short\" data-day=\"numeric\" datetime=\"2026-03-19T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">Mar 19, 2026\u003C/time>\u003C/div>\u003C/li>\u003Cli class=\"mb-3\">\u003Ca href=\"/blog/what-are-eml-files/\" class=\"text-decoration-none blog-sidebar-link\">What Are EML Files and How to Open Them\u003C/a>\u003Cdiv class=\"text-muted small\">\u003Ctime data-year=\"numeric\" data-month=\"short\" data-day=\"numeric\" datetime=\"2026-03-12T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">Mar 12, 2026\u003C/time>\u003C/div>\u003C/li>\u003Cli class=\"mb-3\">\u003Ca href=\"/blog/email-sharing-best-practices-for-teams/\" class=\"text-decoration-none blog-sidebar-link\">Email Sharing Best Practices for Teams\u003C/a>\u003Cdiv class=\"text-muted small\">\u003Ctime data-year=\"numeric\" data-month=\"short\" data-day=\"numeric\" datetime=\"2026-03-05T00:00:00.000Z\" data-prehydrate-id=\":NIiDfe5__B:\">Mar 5, 2026\u003C/time>\u003C/div>\u003C/li>\u003C!--]-->\u003C/ul>\u003C/div>\u003C/div>\u003Cdiv class=\"card\">\u003Cdiv class=\"card-header fw-semibold\"> About EmailShot \u003C/div>\u003Cdiv class=\"card-body\">\u003Cp class=\"small text-muted mb-2\"> Share any email easily with a simple direct link in just one click. \u003C/p>\u003Ca href=\"https://workspace.google.com/marketplace/app/emailshot/392337853098\" target=\"_blank\" class=\"btn btn-primary btn-sm text-white\"> Install EmailShot \u003C/a>\u003C/div>\u003C/div>\u003C/div>\u003C/div>\u003C/div>\u003C/article>\u003C!--]-->\u003C/main>\u003C/div>"]