Categories About Us Contact Us Become a Member

What Is a MAB File? The Address Book Thunderbird Left Behind

A MAB file holds contacts. Jump to your question below, or work through it in order.

By Neeraj Singh ~23 min Updated Sep 2026 Checked against the Mork grammar and Thunderbird release notes
Short answer

A MAB file is a Mozilla Address Book. Thunderbird, SeaMonkey and the old Netscape mail programs kept contacts in one: names, email addresses, phone numbers, street addresses and notes. All three are open source applications, and every one of them wrote the same format.

Inside sits a Mork database. Mork is text, so MAB files open in Notepad and you can read the contact fields yourself.

Nothing current writes one. Thunderbird moved its address book to SQLite on 17 July 2020, which is why the file you have will not open.

1 What is a MAB file? Mozilla Address Book, and what it holds

MAB is short for Mozilla Address Book. The extension marks a contacts database used by Mozilla mail programs for twenty-one years. A MAB file contains contact information and nothing else. Open one and you find people: names, email addresses, phone numbers, companies, street addresses, notes and the mailing lists those people belong to.

What makes the MAB file format interesting is the layer underneath. The contacts sit in a database format called Mork, and Mork is text. Not text with binary bolted on. Text from first byte to last, which means text editors read every part of your file.

Several guides say otherwise. One calls MAB files binary, with media type application/octet-stream. The old version of this page put Format Type: Binary in its specification table. Both are wrong, and it matters, because readers who believe their file is binary go looking for software instead of double-clicking it open.

Thunderbird wrote its last MAB file in 2020. That single fact reorders everything. You are not asking how to work in this format. You are asking how to get your contacts back out of something nothing opens.

MAB file format at a glance

MAB file format at a glance
MAB file extension
.mab
Stands for
Mozilla Address Book
File type
Contacts database, not an image
Developer
Mozilla, and Netscape before it
Database format
Mork, designed by David McCusker at Netscape
Grammar dated
18 December 1998
Encoding
Plain text. Not binary
First line
// <!-- <mdb:mork:z v="1.4"/> -->
Written by
Thunderbird, SeaMonkey, Netscape, the Mozilla Suite
Retired
Thunderbird 78, 17 July 2020
Replaced by
abook.sqlite, then vCard inside it
Typical size
1 KB to 160 KB
MIME type
No media type registered. Behaves as text/plain
Also used by
SKF Machine Analyst, a different format entirely

What a MAB file is not

Not binary Mork is a text format. Open one in Notepad and you can read the field names and the contact data. See section 8.
Not a metafile, and it has no colors The older version of this page listed Color: Unlimited and Type: Metafile in its specification table. Both rows came from an image-format template, and neither describes contacts.
Not from the Mozilla Corporation Mork was designed at Netscape and dated December 1998, six years before Thunderbird 1.0 shipped in December 2004.
Not an email store Contacts only. Thunderbird keeps messages in MBOX files beside the address book, and those are separate.

Thunderbird 78 arrived on 17 July 2020 and converted every address book to SQLite. Its release notes say so in one sentence. From that day nothing in the product wrote one again.

2 Why nothing writes a MAB file any more The 2020 change that explains your file

Mozilla put it plainly in the Thunderbird 78.0 release notes. Address books are now stored as SQLite databases, and existing address books in MAB format, using a Mork database, will be converted.

That ended a long run. Mork came out of Netscape in December 1998. Netscape 6, the Mozilla Suite, SeaMonkey and every Thunderbird from 1.0 in December 2004 through the 68 series in 2019 stored contacts in it. Twenty-one years on one format.

Replacement work landed on the beta channel first, in Thunderbird 71, which switched the default address book from Mork to SQLite. Another change migrated books people already had. Then Thunderbird 102 in June 2022 moved those contacts to vCard, the same standard your phone uses.

The Thunderbird address book through three formats. Mork arrived from Netscape in 1998, six years before Thunderbird 1.0. Thunderbird 68 in 2019 was the last release series to use it. Thunderbird 78 on 17 July 2020 converted every address book to SQLite, and Thunderbird 102 in 2022 moved the contacts inside that database to vCard.
Your file was written somewhere on this line. The date decides what reads it.

Every address book format Thunderbird has used

Three address book formats in twenty-four years of Thunderbird and its ancestors.
WhenWhat changedThe file
Dec 1998David McCusker dates the Mork grammar at NetscapeMork arrives
Dec 2004Thunderbird 1.0 ships, already using Morkabook.mab
2011Firefox drops Mork for history and bookmarksMail keeps it
Aug 2019Thunderbird 68, the last series to use MABabook.mab
2019 betaThunderbird 71 switches the default to a SQLite bookabook.sqlite
17 Jul 2020Thunderbird 78 converts every existing MAB fileabook.sqlite
2021Thunderbird 91 adds CardDAV address booksServer-side
Jun 2022Thunderbird 102 stores contacts as vCard inside the databaseabook.sqlite

Mork is not gone from Thunderbird. The address book left, and the mail folder summary files did not. Every .msf file sitting beside your mail folders today is still a Mork database, written by the same code that used to write your contacts.

Two faults produce almost every MAB complaint. Nothing on the machine reads the format any more, or Thunderbird reads it fine and ignores your file because of what the file is called.

3 Why your MAB file will not open Usually the name, sometimes the year

You double-click, and Windows asks which program to use. Nothing in the list works. The instinct is that your file arrived damaged. It almost never did, and a file that will not open is not damaged by default.

The first reason is simple. Current Thunderbird does not read the MAB file format, and no operating system ever shipped anything that did. Windows, macOS and Linux all treat .mab as an unknown extension.

The second reason catches more people, and it is the one nearly every guide leaves out. Thunderbird only ever loaded two file names by itself. Drop impab.mab or abook-2.mab into your profile folder and Thunderbird ignores both, because it looks for its own two names and nothing else.

The address book files Thunderbird wrote. abook.mab held the Personal Address Book and history.mab held Collected Addresses, and those two load automatically by name. impab.mab held an imported book and abook-2.mab and its siblings held extra books made inside the program. Those load only if Thunderbird made them itself, so a copy dropped into the folder stays invisible until it is renamed.
Nothing here is broken. Thunderbird is only looking for two names.

The MAB file names Thunderbird used

Which MAB file names load by themselves, and which wait to be renamed.
File nameWhat it heldLoads by name
abook.mabPersonal Address Book, the contacts you typed inYes
history.mabCollected Addresses, gathered from mail you sentYes
impab.mabAn imported address bookNo
impab-1.mabA second imported bookNo
abook-1.mabAn extra book made inside ThunderbirdNo
abook-2.mabAnother extra book, and so on upwardNo

Archive Team's file format wiki is the only reference that states the rule outright. Copying files of that format into the directory will not work properly, because only two named files are found automatically. Everything else is known to Thunderbird only if Thunderbird created or imported it.

So the fix for an ignored file is a rename, not a repair. Back up whatever abook.mab is there now, rename yours to abook.mab and restart. Section 5 is the full sequence.

Four MAB errors that are not the error

“Undesirable malware in the MAB file” One directory lists malware among its causes. Contacts are data and not malware. An infected machine would have larger problems than one file.
“Incorrect links to the MAB file in registry entries” Files are not kept in the Windows registry. Missing file associations change which icon you see, never whether the data is readable.
“Not enough hardware resources” MAB files run from 1 KB to about 160 KB. No computer built this century struggles with that.
“Drivers of equipment used by the computer are out of date” Printed by two of the directories that rank for this file. No driver stands between text and a text editor.

What the MAB symptom is telling you

Commonly seen MAB symptoms, and where the fault sits.
What you seeWhat it often meansStart with
Windows asks which program to useNothing current reads the formatA text editor, then section 5
Thunderbird ignores the fileWrong file nameRename it abook.mab
Contacts vanished after an updateThunderbird 78 converted them alreadyLook for abook.sqlite
Walls of punctuation in NotepadWorking exactly as intendedNothing. That is Mork. See section 8
Only some contacts arrivedOnly one of several books was loadedThe file name rule above
Unreadable bytes, and it is hugeNot a Mozilla file at allRead section 10

Start with a text editor, because the file is text and you already own one. Then choose a route by what you want: a look, a conversion or the contacts back inside a mail program.

4 What opens a MAB file Free routes, before anyone asks you to pay

Every guide on the first page of results sells a converter. You may not need one. MAB files are text, and that puts a free answer on every computer already.

Free software that opens a MAB file

Free ways to open MAB files, Windows and Mac included, and what all MAB tools are good for.
SoftwareRuns onWhy choose it
Any text editorEverywhereStart here. Notepad, TextEdit, nano or gedit shows every contact
Thunderbird 78Windows, Mac, LinuxThe answer. Converts your file, then exports to CSV or vCard
SeaMonkeyWindows, Mac, LinuxIts mail side still carries the older code, so it reads MAB directly
mork-converterAnywhere Python runsWrites XML, or CSV with one switch. Needs Python 2, which is the catch
mork-parserAnywhere Node runsTurns Mork into JSON, and it is short enough to read
LibreOfficeWindows, Mac, LinuxIts address book wizard was built for Mork rather than for the newer file

The Python note on mork-converter matters more than it looks. That tool wants Python 2.4 or later, and Python 2 reached its end in 2020. On machines bought since then you would have to install an old interpreter before the converter runs at all.

Want a look?

Use any text editor. Nothing to install, nothing to buy. The contacts show up in about ten seconds.

Want them back?

Use Thunderbird 78. It converts and exports to CSV or vCard. Section 5 is the sequence.

What LibreOffice does with a MAB file

LibreOffice is the odd one here, and the reason is worth a paragraph. Its address book connector was written for Mork, so it aims at the format Thunderbird dropped rather than the one Thunderbird uses. Apache OpenOffice shares that code, and carries the same wizard under the name OpenOffice.org used.

When Thunderbird moved to SQLite, The Document Foundation opened one bug whose title says it all: Thunderbird Address Book will be changed to sqlite, development needed.

Two of the four directories that rank for this file tell readers LibreOffice imports MAB. That was true of the builds they were written against. Whether it holds in the build on your machine varies, so treat it as worth a try rather than as the plan. Converting to CSV first works everywhere.

Do not upload contact files to a browser converter you do not know. Your address book is every colleague, client and family member you have. Text editors and Thunderbird 78 keep all of it on your own machine.

Five steps, in this order. The rename in step two is the one people skip, and skipping it is why Thunderbird appears to ignore a perfectly good file.

5 How to convert a MAB file to CSV or vCard The route that ends with contacts you can use

The aim is not to keep working in the MAB file format. It is to leave it. CSV and vCard both import into Outlook, Gmail, Apple Contacts, current Thunderbird and every phone, so either ends the problem for good.

The route out of a MAB file. Copy the file into a Thunderbird profile folder and rename it abook.mab, because that is one of only two names Thunderbird loads by itself. Start Thunderbird 78, which converts the Mork file to abook.sqlite on first run. Then export the converted address book to CSV or vCard, which any mail program reads.
Two of those three steps are free. The third is a menu item.

How to get contacts out of a MAB file

1 Copy the file somewhere safe first. Work on a copy. The original stays untouched, so mistakes cost you nothing.
2 Rename the copy to abook.mab. Thunderbird loads that name and history.mab by itself and no others. An impab.mab sitting beside it stays invisible.
3 Put it in a Thunderbird profile folder. Move any existing abook.mab aside first, so nothing is overwritten. Section 6 gives the path on every system.
4 Start Thunderbird 78 and wait. It converts the Mork file to abook.sqlite on first run, with no progress bar. Large books took minutes in the early builds, so give it time before deciding it failed.
5 Export. Open the address book, choose Tools then Export and save as CSV or vCard. That file is the one you keep.

Do not edit a MAB file in a text editor and save it. Reading is safe. Writing is not, because every column name is interned once and then referenced by hex id, and edits that shift those ids leave the file parsing to nonsense.

Where to get Thunderbird 78

Mozilla keeps old builds on its own archive server, so the version that does the conversion is still available. Install it into its own folder rather than over your current Thunderbird, point it at the profile holding your renamed file and remove it once the export is done.

If your current Thunderbird finds the file and converts it without any of that, take the win and skip ahead to the export. The migration code was written to run on any profile that still held Mork, so it is worth trying first.

Going to a phone?

Export vCard. Apple Contacts, Android and Gmail all take .vcf files straight in.

Going to Outlook?

Export CSV. Outlook's import wizard reads it, and the column names are yours to fix first.

Import problems? vCards that arrive garbled or refuse to import usually carry an encoding fault rather than a bad export. Our guides cover garbled vCard names and the file is not formatted for contacts import error.

MAB files live inside a Thunderbird profile folder, never loose in Documents. The quickest way to that folder is from inside Thunderbird itself, not by typing a path.

6 Thunderbird address book file location Where every MAB file sits, on all three systems

Thunderbird profiles hold your mail, your settings and your address book together in one folder with a random name. MAB files sit inside that folder, not in the folder above it. The old version of this page stopped one level short and sent readers to Profiles itself, where there is nothing to find.

Thunderbird profile paths

Where Thunderbird keeps profiles, from Mozilla's own documentation.
SystemPath
WindowsC:\Users\<your login name>\AppData\Roaming\Thunderbird\Profiles\
macOS~/Library/Thunderbird/Profiles/
Linux~/.thunderbird/, and on older installs ~/.mozilla/Thunderbird/

Inside that folder sits at least one profile, named something like 8f3k2p1q.default-release. Your MAB files are in there, beside prefs.js and the mail folders. AppData is hidden on Windows and ~/Library is hidden on a Mac, so paste the path rather than clicking through.

The reliable way to find the folder

1 Open Thunderbird. Any version will do for this.
2 Click the menu button, then Help, then Troubleshooting Information.
3 Find the Profile Folder row under Application Basics.
4 Click Open Folder on Windows or Linux, or Show in Finder on a Mac. The folder opens with nothing typed.

Close Thunderbird before you move anything. It holds the address book open while it runs, and files copied out from under a running program arrive half written.

What else is in that folder

The files beside a MAB file in a Thunderbird profile.
FileWhat it is
abook.mabThe Personal Address Book, if the profile predates 2020
abook.sqliteThe address book after Thunderbird 78 converted it
*.msfMail folder summaries, still Mork to this day
prefs.jsSettings, including which address books exist
Mail, ImapMailMessages, stored as MBOX files
*.bakA backup copy Thunderbird kept of an address book

Seeing both abook.mab and abook.sqlite in one profile is normal, and it is good news. It means the conversion already ran and your old file was left in place rather than deleted. The SQLite file holds your current contacts, and the MAB file is your copy from before the change.

Contacts that vanish, double up or come back after you delete them point at the address book, not at your account. The repair is a rename and a restart, and it has to happen with Thunderbird closed.

7 When the Thunderbird address book is damaged Missing contacts, doubled contacts, and the backup nobody mentions

Four complaints turn up together often enough to be one fault. The address book opens empty. Contacts that were there yesterday are gone. Names appear twice. Deleted contacts come back at the next restart.

All four say one thing: your address book is not being written and read cleanly. That follows a crash during a save, a profile copied while Thunderbird was running or a disk that filled up mid-write.

Thunderbird kept a backup, and almost nobody knows. Look in the profile folder for a file ending .bak beside the address book. That is the previous copy, and swapping it in is the entire repair.

Repairing a damaged address book

1 Close Thunderbird completely. Check that no copy is still running in the background. Every later step fails while it holds the files open.
2 Open the profile folder. Help, then Troubleshooting Information, then Open Folder, as section 6 describes. Do that before closing Thunderbird if it is easier.
3 Rename the damaged book out of the way. Change abook.mab to abook.mab.old. Renaming keeps it. Deleting does not.
4 Rename the backup into its place. Change abook.bak to abook.mab. Windows hides known extensions by default, so turn that setting off in File Explorer first or the rename will not take.
5 Start Thunderbird and check. If the contacts are back, export them to CSV or vCard straight away. If they are not, put the original back and read it in a text editor instead.

The older version of this page gave step four and nothing else. It told readers to unhide file extensions and remove .bak, with no mention of closing Thunderbird and no mention of moving the existing address book aside. Followed as written, that overwrites the file you were trying to save.

Contacts appearing twice

Duplicate contacts usually mean two address books, not one damaged book. Imports that ran twice leave impab.mab and impab-1.mab side by side, and Collected Addresses quietly adds anyone you have written to. Check which book every copy sits in before deleting anything.

Contacts that reappear after deletion point the other way. Something puts your old file back: a sync tool, a backup agent or a second profile you forgot about. Find what writes to that folder before fighting the symptom.

Open a MAB file in a text editor. Line one names the format, a dictionary block interns every field name against a hex code, and rows below spend those codes rather than repeating words.

8 What is inside a MAB file Mork, and why it looks like that

David McCusker designed Mork at Netscape and dated the formal grammar 18 December 1998. His primer, from March 1999, states in as many words what it was built for. Collections of address book cards, where every card carries some subset of an open-ended set of attributes.

That requirement explains the design. Contacts have wildly different fields filled in, so fixed tables waste space. Mork stores a name once, gives it a short code, then writes that code. Disk space mattered in 1998 and this saved a lot of it.

The opening of a Mozilla Address Book file. The first line is the Mork magic string, an HTML comment wrapping an XML tag. A dictionary block follows, naming the character set and interning every column name against a hex id. A table block then declares what kind of address book it is, and the rows below it carry the contacts, written as hex ids rather than words.
Every byte of that is text. A text editor shows you all of it.

What the first line of a MAB file tells you

// <!-- <mdb:mork:z v="1.4"/> -->

Read that as three nested disguises. An XML tag, wrapped in an HTML comment, sitting behind what a C compiler would treat as a comment. Mork's grammar spells that production out with version 1.1, and real Thunderbird address books carry 1.4.

It is also the fastest test you own. Open your file, look at line one. That line means Mozilla Address Book. Anything else means your file holds something other than contacts.

The parts of a Mork file

What the punctuation in a MAB file marks out.
MarkWhat it opensWhat sits inside
// <!--The magic lineThe format name and version, once, at the top
< >A dictionaryField names paired with the hex codes that stand for them
{ }A tableWhat kind of address book this is, and which rows belong to it
[ ]A rowOne contact, written as hex codes and values
^A referenceSpend a code defined earlier rather than repeating the word
@$$A groupA batch of changes appended to the end of the file

Codes from 80 upward stand for strings the file defines. Codes below that stand for the single character of that value, so the format never has to write a one-letter name twice. Strings you will meet in a real file include LastModifiedDate, RecordKey, AddrCharSet and ListName, plus the character set, which is normally iso-8859-1.

Two names say what the file is for. The table is marked ns:addrbk:db:table:kind:pab, meaning a personal address book. Its rows are marked ns:addrbk:db:row:scope:card:all, meaning contact cards.

Mork earned a reputation. Jamie Zawinski, who worked on the Netscape mail code, called it the single most braindamaged file format he had seen. Archive Team's wiki notes it is disowned even by its creator. Reading one is fine. Writing a correct parser for one is the hard part.

Why a MAB file grows and never shrinks

Mork appends. Changing a contact writes a new group at the end rather than rewriting that row in place, which makes saving fast and makes files grow. A book you have edited for years holds a long tail of superseded values, and that is normal rather than damage.

It also explains the sizes. A MAB file that runs from 1 KB to about 160 KB, with most landing near 28 KB, is a normal one. A .mab measured in megabytes is worth a second look, and section 10 covers the likely reason.

The file that replaced MAB is abook.sqlite. It is a real database rather than a text log, and since 2022 the contacts inside it are stored as vCard, which every other program already understands.

9 MAB against the address book Thunderbird uses now What changed in 2020, and why it was worth changing

Comparing them says more about why this format was retired than any history can. Mork was built for machines with slow disks and little memory, and both problems went away.

MAB against abook.sqlite, on what matters when you are trying to read one.
 MABabook.sqlite
Arrived19982020
Retired17 July 2020Current
EncodingText you can readBinary database
Underlying formatMork, a Mozilla inventionSQLite, used everywhere
Contact fieldsMozilla's own field namesvCard, from Thunderbird 102
Tools that read itA handful, mostly abandonedAny SQLite browser
Still supportedNoYes, and it supports vCard
EditsAppended, so the file growsWritten in place
Written by anything todayNoYes

Under the surface Thunderbird now reaches a local address book through a scheme called jsaddrbook, a CardDAV one through jscarddav and a company directory through LDAP. All three sit beside one another, and only the first keeps a file in your profile.

Oddly, the older format is the readable one. MAB files open in Notepad and a person can follow them. Their replacement needs a database tool, even though contacts inside sit in a standard anyone can parse. Readable by a human and readable by software are not the same property.

Holding a MAB file?

Convert it now. Every year makes the tools harder to find. Section 5 is the route.

Got abook.sqlite?

Nothing to do. That is the current format, and Thunderbird keeps it up to date on its own.

Moving between mail programs? MBOX files carry the messages Thunderbird stores, PST files hold an Outlook mailbox and OAB files are Outlook's own offline address book, which people confuse with this one.

Not every .mab file is a Mozilla Address Book. SKF Machine Analyst, which reads vibration data from bearings, writes a different format under the same three letters.

10 The other MAB file One extension, two formats, and a quick test

A reader who arrived here with a machine maintenance file needs to know in ten seconds rather than nine sections in. The test is the first line, and the two formats could not look less alike.

Telling the two kinds of MAB file apart.
 Mozilla Address BookSKF Machine Analyst
Starts with// <!--Bytes 00 00 00 00 36
In a text editorReadable field namesUnreadable
Typical size1 KB to 160 KB160 KB to 23 MB
Namedabook.mab, history.mabbearings.mab, export.mab
HoldsContactsMachine vibration measurements
Read it withA text editor, Thunderbird 78SKF's own software

Nothing on this page applies to the second kind. Renaming one to abook.mab and feeding it to Thunderbird achieves nothing, and no contact converter will read it either.

A third possibility is that the extension means nothing at all. Any program can write .mab, and some do. If the first line matches neither pattern above, the extension is telling you less than the file is.

Keep the MAB file, and stop depending on it. Export the contacts to vCard or CSV today, then archive the original. The file costs nothing to store and the tools that read it keep getting scarcer.

11 Should you keep a MAB file? Two questions, storing and using

Storing a MAB file and relying on one are different decisions, and the answers run opposite ways. Keep it, because an original is always worth more than a copy and a contacts database is measured in kilobytes. Stop relying on it, because it depends on software that gets harder to find every year.

Think about what already happened. Thunderbird 78 landed in 2020. The mork-converter needs a version of Python that modern systems no longer ship. LibreOffice has an open bug about the format change rather than a finished answer. None of that improves with waiting.

Keep the original

Archive it. Kilobytes, and the only complete copy of what was in the book.

Do not rely on it

Export today. vCard for phones and Apple Contacts, CSV for Outlook and spreadsheets.

What to export to, and when

Which export format suits which destination.
Export asBest forWatch out for
vCardPhones, Apple Contacts, Gmail, current ThunderbirdAccented names, if the encoding is wrong
CSVOutlook, spreadsheets, anything you want to editColumn names, which rarely line up first time
LDIFDirectory servers and older mail programsFewer programs read it every year
Leave as MABNothing, once you have the exportThe tools, which keep disappearing

Both common export formats can be imported anywhere, so export twice if the contacts matter. A vCard file for the phone and a CSV for the spreadsheet cost one extra minute, and between them they survive anything.

Everything on this page in one block: names, paths, the line that identifies this format and the dates that ended it.

12 MAB format and structure reference The facts, with where they came from

MAB file specification

Directories file this under the MAB file type, and the file type is what decides your answer. The file extension MAB file managers show has meant one thing since 1998: the Mozilla Address Book is what wrote it.

Where the MAB format is written down, and what the record says.
ItemValue
Extension.mab
Full nameMozilla Address Book
Database formatMork
Designed byDavid McCusker, at Netscape
Grammar dated18 December 1998
Primer dated16 March 1999
Magic line// <!-- <mdb:mork:z v="1.4"/> -->
EncodingText, normally iso-8859-1
Media typeNone registered with IANA. Behaves as text/plain
Also carried in Mork.msf, history.dat, formhistory.dat, panacea.dat
Last Thunderbird to use itThe 68 series, August 2019
Converted byThunderbird 78, 17 July 2020
Replaced byabook.sqlite, with vCard inside it from Thunderbird 102

What people get wrong about MAB files

“A MAB file is binary” It is text. One reference gives its media type as application/octet-stream, and the old version of this page said Binary outright.
“Thunderbird opens MAB files” The largest file directory still lists Thunderbird as a program that opens one, on a page last updated in March 2014. That answer stopped being true in July 2020.
“Update your software to open the latest MAB” Backwards. Updating is what removed the ability to read one. The old version is the version you want.
“Mozilla Corporation developed it” Mork came out of Netscape in December 1998. The Mozilla Foundation was created in 2003 and the Mozilla Corporation in 2005.

Where these facts come from

The magic line and the syntax come from the Mork grammar and primer, both written by David McCusker and still on Mozilla's archive server. The retirement date and the wording about conversion come from the Thunderbird 78.0 release notes.

The profile paths come from Mozilla's own support documentation. The file naming rule comes from Archive Team's file format wiki, which is the only reference that states it plainly.

Frequently asked questions about MAB files

What is a MAB file?
A MAB file is a Mozilla Address Book. Thunderbird, SeaMonkey and the old Netscape mail programs stored contacts in it. Inside is a Mork database, which is plain text, so a text editor opens one.
Why will my MAB file not open?
Because nothing current reads it. Thunderbird moved its address book to SQLite on 17 July 2020 and stopped using MAB. A MAB file on your disk now is a file from an older profile or an old backup.
What opens a MAB file for free?
Any text editor shows you the contents, because the file is text. Thunderbird 78 converts one into the newer format. SeaMonkey still reads them, and the mork-converter and mork-parser tools turn one into CSV, XML or JSON.
How do I get contacts out of a MAB file?
Copy it into a Thunderbird profile folder, rename it abook.mab, then start Thunderbird 78 and let it convert. Open the address book, choose Export and save as CSV or vCard. Any mail program reads those.
Where is the Thunderbird address book stored?
Inside a profile folder. On Windows that is under AppData\Roaming\Thunderbird\Profiles, on a Mac under Library/Thunderbird/Profiles, on Linux under a hidden thunderbird folder in your home directory.
Can I open a MAB file in Notepad?
Yes. The first line reads // then an HTML comment holding mdb:mork:z, and the contact fields sit below it between the punctuation. Reading is safe. Saving from a text editor is not, because the hex ids have to stay in step.
What is the difference between abook.mab and history.mab?
abook.mab is the Personal Address Book, the one you typed contacts into. history.mab is Collected Addresses, filled automatically from mail you sent. Thunderbird loaded both without being asked.
Why does Thunderbird ignore my MAB file?
Because of its name. Thunderbird only ever loaded abook.mab and history.mab by itself. A file called impab.mab or abook-2.mab stays invisible until you rename it, which is the step most guides leave out.
What is Mork?
Mork is the text database format inside a MAB file. David McCusker designed it at Netscape and dated the grammar 18 December 1998. Thunderbird still uses it for mail folder summary files ending in .msf.
What replaced the MAB file?
SQLite. Thunderbird 78 converted every address book to a file called abook.sqlite in July 2020, and Thunderbird 102 moved the contacts inside it to the vCard standard in 2022.
Is a MAB file binary?
No, and several guides get this wrong. Mork is a text format. Open one and you can read the field names and the contact data. The hex codes look odd, but every byte of the file is printable text.
Can LibreOffice open a MAB file?
Its address book wizard was built for the Mork format, so it targets MAB rather than the newer file. Support varies by build. Converting to CSV first is the route that works everywhere.

Still stuck? Where to go from here

Cannot open it?

Try a text editor. Free on all systems, and a MAB file is text. See section 4.

Contacts missing?

Look for the backup. Section 7 walks through the rename that restores it.

Using Thunderbird every day? Our Thunderbird error guides cover the faults that stop mail moving, from login failed to messages that will not delete.

Moving contacts somewhere else? Our vCard error guides cover what goes wrong on import, and ICS calendar files are the matching standard for appointments.

Moving the mail as well as the contacts? MBOX files are where Thunderbird keeps messages, and our MBOX error guides cover the faults that show up on the way out.

Coming from Outlook instead? PST files hold an entire Outlook mailbox, OST files hold the offline copy and OAB files are the offline address book that people mix up with this one.

Holding an older Mozilla or Mac mail file? OLK files come from Outlook for Mac and EDB files are the Exchange store behind a company mailbox.

Stuck on your computer rather than your file? Our Windows fixes and macOS guides cover the system side, including how to show hidden folders.

New to all of this? What a file format is covers the ground under it, and our file format guides list the rest.

Found a MAB file that does not match anything here? Send us its first line and we will tell you what wrote it.

Was this page helpful? Thanks for your feedback!