LDIF

ldif icon

LDIF address book interchange format

File type: Email related data file

Files with the ldif file extension contain contact or directory-entry data in LDIF, a text-based interchange format.

The format is used by address book and directory software, including Mozilla Thunderbird and Contacts on macOS. It is typically used by email clients.

What is ldif file?

File type category:
Email related data file

Date updated: October 28, 2026

LDIF means LDAP Data Interchange Format. It stores directory entries as readable text, including names, email addresses, telephone numbers and other contact attributes. An LDIF file can contain multiple entries for exchanging address book data.

LDIF is also associated with the ldi file extension. Mozilla Thunderbird can import and export address books in LDIF format. On Apple macOS, the Address Book or Contacts application can use LDIF files for address book exchange. The format is also used with directory-management tools such as Active Directory Explorer on Microsoft Windows.

LDIF is a text-based format that can be viewed in any text editor.

How to open ldif file?

Several email clients are able to import this format. To use an ldif file as an address book, import it in Mozilla Thunderbird on Windows, Linux or macOS, or in Contacts on macOS.

Because LDIF is text-based, a plain-text editor can display its contents, but an address book or directory application is needed to interpret the entries as contacts.

How to convert ldif file?

LDIF is primarily an interchange format for address book and directory data. Import the file into Mozilla Thunderbird or Contacts, then use that application's address book export function to create another supported address book format.

The format can likely be converted or exported to other similar formats by compatible address book software. Manual editing is possible for simple files because LDIF is plain text, but field mapping must be preserved when changing the data.

Technical details

MIME types
  • text/x-ldif
File signature
HEX 64 6E 3A 20
ASCII dn:

Associated software actions with the ldif file

Software applications that can open ldif files:

Microsoft Windows

Software apps that import ldif files:

Software apps that export ldif files:

Convert .ldif files

Convert .ldif to other formats
Convert to .ldif from other formats

online = can be converted online at 101convert.com

Online conversions and file conversion information are provided by 101convert.com.

Related file extensions