How to Open, Edit, and Convert DBF Files

A file with the .DBF file extension is most likely a Database file used by the data management software dBASE. Data is stored within the file in an array with multiple records and fields.

Since the file structure is pretty straightforward, and the format was used early on when database programs first arose, DBF has been considered a standard format for structured data.

Esri's ArcInfo stores data in files that end in .DBF too, but it's called the shapefile attribute format instead. These files use the dBASE format to store attributes for shapes.

FoxPro Table files use the DBF file extension too, in the database software called Microsoft Visual FoxPro.

DBF Files
DBF Files.

How to Open DBF Files

dBASE is the primary program used to open DBF files. However, the file format is supported in other database and database-related applications too, like Microsoft Access, Microsoft Excel, Quattro Pro (a part of Corel WordPerfect Office), OpenOffice Calc, LibreOffice Calc, HiBase Group DBF Viewer, Astersoft DBF Manager, DBF Viewer Plus, DBFView, Swiftpage Act! and Alpha Software Alpha Anywhere.

You should save Microsoft Works database files in the dBASE format if you want to open them in Microsoft Excel.

GTK DBF Editor is one free DBF opener for macOS and Linux, but NeoOffice (for Mac), multisoft FlagShip (Linux) and OpenOffice work too.

Xbase mode can be used with Emacs to read xBase files.

ArcInfo from ArcGIS uses DBF files in the shapefile attribute file format.

The discontinued Microsoft Visual FoxPro software can open DBF files too, whether in the Database or FoxPro Table file format.

How to Convert a DBF File

Most of the software from above that can open or edit the DBF file can most likely convert it too. For example, MS Excel can save the DBF file to any format supported by that program, like CSV, XLSX, XLS, PDF, etc.

The same HiBase Group that releases the DBF Viewer mentioned above also has DBF Converter, which converts DBF to CSV, Excel formats like XLSX and XLS, plain text, SQL, HTM, PRG, XML, RTF, SDF or TSV.

DBF Converter can only export 50 entries in the free trial version. You can upgrade to a paid edition if you need to export more.

dbfUtilities exports DBF to file formats like JSON, CSV, XML, and Excel formats. It works through the dbfExport tool included in the dbfUtilities suite.

You can convert a DBF file online too, with DBF Converter. It supports exporting the file to CSV, TXT, and HTML.

More Information on dBASE

DBF files are often seen with text files that use the .DBT or .FPT file extension. Their purpose is to describe the database with memos or notes, in raw text that's easy to read.

NDX files are Single Index files that store field information and how the database is to be structured; it can hold one index. MDX files are Multiple Index files that can contain up to 48 indexes.

All the details on the header of the file format can be found on the dBASE website.

The release of dBASE in 1980 made its developer, Ashton-Tate, one of the biggest business software publishers in the market. It originally ran only on the CP/M microcomputer operating system but was soon ported over to DOS, UNIX, and VMS.

Later that decade, other companies began releasing their own versions of dBASE, including FoxPro and Clipper. This prompted the release of dBASE IV, which came around the same time as SQL (Structured Query Language) and the growing use of Microsoft Windows.

By the early 1990s, with xBase products still popular enough to be the leader in business applications, the top three firms, Ashton-Tate, Fox Software, and Nantucket, were purchased by Borland, Microsoft, and Computer Associates, respectively.

Still Can't Open Your File?

If your file isn't opening with the suggestions from above, double-check the file extension to make sure it actually reads as DBF. Some file formats use file extensions that are spelled similarly but are really in a totally different format and cannot open with DBF viewers and editors.

One example is DBX files. They might be Outlook Express Email Folder files or AutoCAD Database Extension files, but either way, they can not open with the same tools mentioned above. If your file doesn't open with those database programs, check to make sure you're not actually dealing with a DBX file.

If your file is really a DBK file, it might be in the Sony Ericsson Mobile Phone Backup file format. It can probably open with Sony Ericsson PC Suite or a file unzip tool like 7-Zip, but it won't work with the database applications above.