Convert ABCDDB to TXT
Export legacy Mac address-book contacts to a searchable plain-text list.
Make TXT files online
We can't read ABCDDB files yet, so this conversion isn't available. If you can export your work to one of these formats - or others - we'll turn it into TXT:
Want to convert ABCDDB to TXT?
Let us know. We pick the conversions to add next by how many people ask for them.
How to convert abcddb to txt file
- Contacts and address books
- No ratings yet.
Older Mac address-book backups may contain contacts that are no longer available in the current Contacts app. Exporting them as plain text makes selected details easy to search, share, or archive, but the text file is not a restorable contact backup.
What the ABCDDB format is
.abcddb is a legacy, internal database format used by Apple Address Book, now called Contacts, on macOS. Files such as AddressBook-v22.abcddb may be found in an old Mac backup or the AddressBook support folder. The database is SQLite-based, but its schema is not a stable contact-exchange standard and may differ between macOS releases. Contacts does not treat an arbitrary, standalone .abcddb file as an importable address book.
What the TXT format is
.txt stores plain text that can be opened in basic editors, searched, and archived without specialized contact software. It has no standard fields or record structure, so the export must label and separate details such as names, phone numbers, and email addresses. TXT is readable but less suitable than vCard for importing contacts or preserving their structure.
How to convert the contacts
- Open the address book in Contacts. If the contacts are already visible, continue. If you have only a backup, restore the complete AddressBook support folder using the Mac or macOS version that created it, preferably through Time Machine or the original account. Back up the current folder first, quit Contacts before restoring, and do not replace only the
.abcddbfile; related database files may be required. A database from another macOS version may not migrate successfully. - Export a vCard file. In Contacts, select the required contacts and choose File → Export → Export vCard. Save the file as
contacts.vcf. This preserves contact records as an intermediate format; Contacts does not provide a general plain-text export. - Create the text list on your Mac. Python and the
vobjectpackage can read the exported vCard and write selected fields to a UTF-8 text file. In Terminal, create an isolated environment and install the package:
python3 -m venv ~/vcf-convert-env
~/vcf-convert-env/bin/pip install vobject
Save this as vcf_to_txt.py in the folder containing contacts.vcf:
from pathlib import Path
import vobject
source = Path("contacts.vcf")
target = Path("contacts.txt")
fields = [("fn", "Name"), ("org", "Organization"),
("email", "Email"), ("tel", "Phone"),
("adr", "Address"), ("note", "Note")]
def clean(value, key):
if key == "adr":
parts = (getattr(value, name, "") for name in
("street", "city", "region", "code", "country"))
value = ", ".join(str(part) for part in parts if part)
elif isinstance(value, (list, tuple)):
value = ", ".join(str(part) for part in value if part)
return str(value).replace("\\n", " ").replace("\n", " ").replace("\r", " ").strip()
blocks = []
for card in vobject.readComponents(source.read_text(encoding="utf-8")):
lines = []
for key, label in fields:
for prop in card.contents.get(key, []):
value = clean(prop.value, key)
if value:
lines.append(f"{label}: {value}")
if lines:
blocks.append("\n".join(lines))
target.write_text("\n\n".join(blocks) + "\n", encoding="utf-8")
Run it from that folder with ~/vcf-convert-env/bin/python vcf_to_txt.py. The result is contacts.txt, with one contact per block.
Quality and compatibility limits
The script exports only names, organizations, email addresses, phone numbers, postal addresses, and notes; add other vCard fields to the field list if needed. A plain-text list does not retain all contact metadata or reliably support re-import. Keep the original database and contacts.vcf if you may need to restore or import the contacts later. Because address books contain personal information, converting locally is preferable to uploading the vCard to an online converter.
Information about file extensions and file types is provided by File-Extensions.org
The database currently does not contain any direct abcddb file converter links.