All systems

dBASE

dBASE III / IV / V
Supported

How to Prepare Your Files

  1. Gather all your .dbf table files
  2. Include associated memo files (.dbt for dBASE III/IV)
  3. Include index files (.ndx, .mdx) if available (optional)
  4. Create a ZIP archive containing all files
  5. Upload the ZIP archive below
Guide

dBASE is one of the earliest and most influential database management systems for microcomputers. Originally developed by Ashton-Tate in the late 1970s, dBASE pioneered the DBF file format and became the de facto standard for database applications on DOS and Windows.

What You Can Upload

  • .DBF table files (all dBASE versions)
  • .DBT memo files
  • .CAT catalog files (dBASE IV)
  • .NDX / .MDX index files (optional)
  • ZIP archive with complete file sets

What You Get Out

DataMeans extracts your data into multiple modern formats:

OutputDescription
csv/{TableName}.csvOne CSV file per table with all row data
xlsx/{TableName}.xlsxExcel workbook per table
xls/{TableName}.xlsLegacy Excel format per table
json/{TableName}.jsonJSON array of records per table
json/{TableName}.jsonlNewline-delimited JSON (streaming-friendly)
postgres.sqlPostgreSQL CREATE TABLE + INSERT statements
schema/schema-graph.jsonRelationship graph for visualization
schema/er-model.jsonER model for diagram tools
report.jsonStructured extraction report
report.mdHuman-readable extraction summary

How to Export / Obtain Files

  1. Locate your dBASE application's data directory
  2. Copy all .DBF table files
  3. Include associated .DBT memo files
  4. Include .CAT catalog if using dBASE IV
  5. Create a ZIP with all files
  6. Upload the ZIP to DataMeans

Supported Features

  • Automatic version detection (III, IV, V)
  • All standard field types: Character, Numeric, Logical, Date, Memo
  • Extended field types: Float, Binary, Integer, General/OLE
  • Language driver detection for character encoding
  • Memo field support (DBT format)

Known Limitations

  • Index files (.NDX, .MDX) not parsed (data fully extracted)
  • Character encoding may need adjustment for non-ASCII
  • OLE objects exported as binary references

Last updated: January 2026

Technical reference

Overview

dBase is a classic database management system that pioneered the xBase family of databases. It uses a simple file-based architecture in which .dbf files contain tabular data, with indexes and memos stored in companion files. dBase popularized database concepts in microcomputing and influenced countless database systems, though it has largely been superseded by modern RDBMS.

History and Background

  • 1978: Wayne Ratliff writes Vulcan, the database program that becomes dBase.
  • 1980: Ashton-Tate licenses Vulcan and re-releases it as dBase II for CP/M.
  • 1981: IBM commissions a port of dBase II; it is among the first programs available when the IBM PC ships that fall.
  • 1984: dBase III, rewritten in C, is released.
  • 1986: dBase III PLUS adds LAN multi-user support and the menu-driven Assist interface.
  • 1988: dBase IV major release with SQL support.
  • 1990: A U.S. federal court dismisses Ashton-Tate's copyright suit against Fox Software, ruling that dBase derived in part from the public-domain JPLDIS.
  • 1991: Borland acquires Ashton-Tate.
  • 1993: Borland releases dBASE IV 2.0 for DOS.
  • 1994: Borland releases dBase 5.0 for DOS and Windows.
  • 1999: Borland sells the dBase product line to KSoft, Inc., later renamed dBASE Inc.
  • Present: Legacy systems still in use; the product line continues as dBASE PLUS.

File Format Specifications

dBase uses a simple file-based structure with separate files for data, indexes, and memos.

DBF File (.dbf):

  • Binary format with header and data records
  • Header: 32-byte structure followed by field descriptors
  • Records: Fixed-length with field data
  • File extension: .dbf
  • Maximum fields: 128 (dBASE III), 255 (dBASE IV and later)
  • Maximum record size: 4,000 bytes (dBASE III and IV)

Index Files (.ndx, .mdx):

  • B-tree structure for fast lookups
  • Single-field indexes (.ndx)
  • Multiple indexes (.mdx)
  • Support for compound keys

Header Structure:

  • First byte indicates dBASE version
  • Bytes 1-3: Last update date (YYMMDD)
  • Bytes 4-7: Number of records
  • Bytes 8-9: Header length
  • Bytes 10-11: Record length
  • Byte 15: Encryption flag
  • Byte 29: Language driver ID
  • Field descriptors follow header
  • Each descriptor is 32 bytes: name (bytes 0-10), type (byte 11), length (byte 16), decimal count (byte 17)
  • Level 7 widens descriptors to 48 bytes with 32-byte field names
  • Header ends with 0x0D byte
  • Data section ends with a 0x1A end-of-file marker

Associated Files:

  • .ndx: Single index files
  • .mdx: Multiple index files (dBASE IV and later)
  • .dbt: Memo field storage (dBASE III and later)
  • .fpt: Memo field storage (FoxPro compatible)
  • Memo data is stored in 512-byte blocks in dBASE III; dBASE IV makes the block size configurable (default 512)

Data Types and Structures

Type CodeTypeSizeDescription
CCharacterVariableText strings, space-padded
NNumericVariableNumbers stored as ASCII text
FFloatVariableFloating-point numbers stored as ASCII text
IInteger4 bytesBinary long integers (Level 7)
DDate8 bytesDates in YYYYMMDD format
LLogical1 byteBoolean (T/F/Y/N)
MMemo10 bytesPointer to memo file block
BBinary10 bytesBinary data in memo file
GOLE10 bytesOLE objects in memo file
+Autoincrement4 bytesAuto-incrementing long integers (Level 7)
ODouble8 bytesBinary floating-point numbers (Level 7)
@Timestamp8 bytesTwo long integers storing date and time (Level 7)

Database Structure:

  • Tables consist of fixed-length records
  • Fields defined in header with name, type, length, decimal places
  • Records contain field data in order
  • Deleted records marked with '*' in first byte
  • Indexes provide fast lookup and sorting
  • Memo fields store large text/binary data externally

Version Differences

VersionYearKey FeaturesFile Format Level
dBASE II1980First widely used microcomputer DBMSLevel 2: 16-bit record count, 32-field limit
dBASE III1984Rewritten in C; memo fieldsTransitional format; .dbt memo files
dBASE III PLUS1986LAN multi-user support, Assist menusLevel 3
dBASE IV1988SQL support, Control CenterLevel 4: .mdx indexes, 255-field limit
dBASE IV 2.01993Performance-focused Borland release for DOSLevel 4 (no format change)
dBASE 5.01994Editions for DOS and WindowsLevel 5
Visual dBASE 5.51995Visual designers for Windows 3.1/95Level 5 (no format change)
Visual dBASE 7199732-bit release for Windows 95/NTLevel 7: 31-character field names

Compatibility Notes:

  • The dBASE III-era format is the most widely supported by third-party applications
  • Level 7 files are incompatible with readers supporting only earlier levels
  • Character encoding varies between OEM and ANSI code pages, identified by a language driver ID in the header
  • Field count and size limits increased over versions
  • Some applications support only subset of data types
  • The ESRI shapefile format requires a dBASE-format .dbf file as its attribute table
  • LibreOffice Calc and Base open and save .dbf files, though formulas and formatting are not preserved

Technical References


To learn how to use this format with DataMeans, see the User Guide.