.NDX

NDX File

dBase Index File
Ask a question
QUICK ANSWER

An NDX file is a dBASE III index file that speeds up queries on a companion .DBF database. It holds no data of its own - open the associated DBF in dBASE Plus or DBF Viewer Plus and point the application at the NDX. If the NDX is missing or corrupt, the data in the DBF is unaffected and the index can be rebuilt.

Developer: Ashton-Tate (original dBASE III); later dataBased Intelligence, Inc. Category: Data Files Open standard MIME: application/octet-stream
OPENS ON Windows
Related: .PKPASS · .DAT · .JSON · .RIS

On this page

19k+ extensions indexed
Last reviewed Aug 6, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the NDX file format?

An .ndx file is a single-field B-tree index associated with a dBASE database (.dbf). Introduced with dBASE III in 1984, it provides sorted access to records without scanning the entire table - analogous to an index in a printed book.

The format stores a B-tree of fixed 512-byte nodes. A 16-byte header records the root block number, total block count, key length, key type, and a unique-value flag. Each leaf node contains sort key values alongside record number pointers back into the .dbf file.

One .ndx file indexes exactly one key expression - a field name or simple formula, up to 220 characters, with the evaluated key capped at 100 bytes. This single-index-per-file constraint is .ndx's main limitation compared to the later .MDX format (dBASE IV, 1988), which stores up to 47 index tags in one file and updates automatically.

Critically, .ndx indexes are not automatically maintained when records are added, deleted, or modified in the .dbf. Users must issue an explicit REINDEX or SET INDEX TO command in dBASE to rebuild them - a stale index produces incorrect query results. Modern tools such as dBASE Plus and DBF Viewer Plus still accept .ndx files for legacy compatibility. FoxPro and Visual FoxPro prefer the .cdx compound index format instead.

Security & safety

RISK: LOW

NDX files contain only index data (keys + record pointers); no executable code. Safe to open with any xBase-compatible viewer. Corruption of an NDX does not affect DBF data - the index can be rebuilt.

Format details

in a nutshell
FULL NAMEdBase Index Fileaka dBASE III Index, NDX index
DEVELOPERAshton-Tate (original dBASE III); later dataBased Intelligence, Inc.since 1984 (dBASE III)
CATEGORYData Files
MIME TYPEapplication/octet-stream
TYPEbinary B-tree index file (companion to DBF database)
STANDARDOpen · royalty-free
This extension is also used by…
  • FoxBase/FoxPro Index File - FoxBase and early FoxPro also used .ndx single-index files (same format as dBASE III NDX); FoxPro 2+ moved to .cdx compound index.
  • Index file (generic naming) - Some custom applications use .ndx generically as a plain-text or proprietary index file unrelated to dBASE.

Programs that open NDX files

Windows3 apps
DBF Viewer Plus Free Open the DBF file; some DBF viewers will auto-detect NDX files in the same folder and use them for sorted display.
DBF Manager Freemium Open the DBF + NDX pair; allows viewing, editing, and exporting the indexed database.
dBASE Plus Paid Open the companion .DBF file with dBASE Plus; use SET INDEX TO file.ndx to associate the index, then issue queries or REINDEX to rebuild.

Technical details

deep spec
Format typeBinary single-field B-tree index for dBASE databases
EncodingBinary, little-endian
B-tree node sizeFixed 512 bytes per node (root, branch, and leaf nodes)
Header16 bytes - root block number, total block count, key length, key type (character/numeric), unique flag, version byte
Key expression limitUp to 220 characters in the expression; evaluated sort key value capped at 100 bytes
Index capacityOne key expression per file (single-index constraint - one `.ndx` file per indexed field or expression)
Linked databaseCompanion `.dbf` file; leaf nodes store record number pointers into the DBF data rows
Auto-update behaviorIndex is NOT automatically maintained; requires explicit `REINDEX` or `SET INDEX TO` after DBF modifications
OrigindBASE III by Ashton-Tate; compatible with dBASE IV, V, and modern xBase implementations
Superseded by`.mdx` (dBASE IV - up to 47 auto-updated index tags per file); `.cdx` (FoxPro / Visual FoxPro)
Associated OSDOS (original), Windows (legacy compatibility in modern tools)
Modern supportStill accepted by dBASE Plus and DBF Viewer Plus for legacy compatibility
Key typesCharacter strings and numeric values; date fields convert to character representation for indexing
Stale index riskAn `.ndx` not rebuilt after DBF changes returns incorrect query results without warning
Released1984 (dBASE III)
Latest versiondBASE III-compatible NDX (unchanged since dBASE III era)
Open standardYes · royalty-free
Specificationpic.hallikainen.org

NDX conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with NDX files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about NDX files.

Frequently asked questions

What program opens NDX files?
NDX files are companion index files for dBASE DBF databases. Open the associated .DBF file in dBASE Plus, DBF Viewer Plus, or LibreOffice Base - they will use the NDX for sorted access. You rarely need to open the NDX file directly.
Can I delete an NDX file?
Yes, if you no longer need sorted/indexed access on that key expression. All your data is in the .DBF file. You can always rebuild the index later with the REINDEX command in dBASE.
Why is my NDX file out of date?
dBASE III/III+ does not automatically update NDX files when you add or edit records. You must explicitly run REINDEX or SET INDEX TO file.ndx followed by REINDEX in dBASE to synchronise.
What is the difference between NDX and MDX?
NDX is a single-expression index file from dBASE III (1984) that must be manually reindexed. MDX is a compound index introduced in dBASE IV (1988) that holds up to 47 named tags in one file and auto-updates on data changes.

References

1dBASE NDX format specification (hallikainen.org)pic.hallikainen.org
2Embarcadero RAD Studio - Specifying a dBASE Index Filedocwiki.embarcadero.com

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.DATProgram Data File (generic)
5.EXEWindows Executable (Portable Executable)
6.BINCD/DVD Disc Image (BIN/CUE)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.PKPASSApple Wallet Pass (formerly Passbook)
.DATProgram Data File (generic)
.JSONJavaScript Object Notation file
.RISResearch Information Systems citation file
.OFXOpen Financial Exchange
.CSVComma-Separated Values

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z