Export Formats
Supported Formats
| Format | Extensions | Description |
|---|---|---|
| LDIF | .ldif, .ldf | RFC 2849 compliant LDAP Data Interchange Format |
| JSON | .json | Array of entry objects with DN and attributes |
| CSV | .csv | Comma-separated values with header row |
| Excel | .xlsx, .xls | Microsoft Excel spreadsheet format |
Opening the Export Dialog
Configure export settings
- Search filter — LDAP filter to select which entries to export (e.g.,
(objectClass=person)) - Attributes — Comma-separated list of attributes, or
*for all attributes - Format — Press
F2to cycle through LDIF, JSON, CSV, or XLSX - Filename — Output file path (format auto-detected from extension)
Export Format Examples
- LDIF
- JSON
- CSV
- Excel
LDIF (LDAP Data Interchange Format) is the standard format for LDAP data. It supports:
- Multi-valued attributes
- Base64 encoding for non-ASCII values
- Line folding for long values
Values containing non-ASCII characters, leading spaces, or colons are automatically base64-encoded with the
:: separator.Attribute Selection
Control which attributes are exported and their order:*(asterisk) — Export all attributes in alphabetical order- Explicit list — Export only specified attributes in the given order
- Attributes not present in an entry are empty in CSV/Excel, omitted in LDIF/JSON
Import Formats
Import entries from files in any supported format. The format is auto-detected from the file extension.Supported import formats
- LDIF (
.ldif,.ldf) — RFC 2849 compliant, supports base64 encoding and line folding - JSON (
.json) — Array of entry objects matching the export schema - CSV (
.csv) — Header row withdncolumn plus attribute columns - Excel (
.xlsx,.xls) — Spreadsheet with header row
LDIF Import Features
- Line folding — Handles continuation lines starting with a single space
- Base64 decoding — Automatically decodes
::base64-encoded values - Comments — Skips lines starting with
# - Version directive — Ignores
version:line - Multi-valued attributes — Multiple attribute lines with the same name
JSON Import Schema
JSON files must contain an array of objects with this structure:All attribute values must be arrays, even for single-valued attributes.
CSV/Excel Import Format
- First row — Header with column names
- First column — Must be named
dn(case-insensitive) - Other columns — Attribute names
- Multi-valued attributes — Values separated by
;(semicolon + space)
Best Practices
Format Selection Guide
- LDIF — Best for LDAP tools, server imports, and preserving exact data types
- JSON — Best for programmatic processing and web applications
- CSV — Best for spreadsheet analysis and simple data extraction
- Excel — Best for sharing with non-technical users and formatted reports
When exporting sensitive data, ensure file permissions are properly restricted. Exported files may contain password hashes and other confidential information.
Keybindings
| Key | Action |
|---|---|
F4 | Open export dialog |
F2 | Cycle export format (in export dialog) |
Tab / Shift+Tab | Navigate fields |
Enter | Execute export |
Esc | Cancel and close dialog |