SUBMIT A FILE TYPE CONTACT US SUPPORT ABOUT US
How To tutorial

How to Open a DBF File in Excel

Open a DBF file in Excel with File, Open and Browse. Microsoft says Excel opens DBF 3 and DBF 4 files. LibreOffice Calc and a short Python script open the files that Excel refuses.

By Neeraj Singh 4 min Published November 2026 Updated November 2026
On this page
  1. What Is a DBF File?
  2. Which Way Should You Use to Open a DBF File?
  3. How to Open a DBF File in Excel
  4. What Can Excel Not Do With a DBF File?
  5. Why Do Letters and Memo Fields Look Wrong?
  6. How to Open a DBF File Without Excel
  7. Why Does a DBF File Not Open?
  8. What We Checked and What We Left Out
  9. Frequently Asked Questions
Quick Summary
  • A DBF file is a database table made for dBase.
  • Excel opens DBF 3 and DBF 4 files and cannot save in dBase format.
  • Memo files and the code page cause the most display problems.
  • LibreOffice Calc opens many files that Excel refuses and saves DBF files too.

What Is a DBF File?

A DBF file is a database table. It started with dBase and many programs copy the layout, among them FoxPro and GIS tools.

The file starts with a header and then stores one record after another. The first byte names the version. Our test files used 03 for dBase III and 30 for Visual FoxPro.

Our DBF file guide covers the structure, tests and repairs in depth. This post covers only how to open a DBF file in Excel.

Which Way Should You Use to Open a DBF File?

Start with Excel when the file is a dBase III or IV table. Use the other ways when Excel refuses the file.

WayBest forWhat you need
Excel, File and OpendBase III and IV tablesExcel
LibreOffice CalcFiles that Excel refuses, saving back to DBFA free LibreOffice install
Python and dbfreadMany files or odd versionsPython with the library

How to Open a DBF File in Excel

Microsoft lists DBF 3 and DBF 4 among the formats that Excel opens. These are the dBase III and dBase IV versions. The steps below follow the Excel menu.

  1. Start Excel

    Open Excel and select File, then Open.

  2. Browse for the File

    Select Browse. Set the file type list to All Files so the DBF file shows.

  3. Open the File

    Select the DBF file and select Open. Excel shows the table as a worksheet.

We did not test Excel for this post. The format list comes from the Microsoft page on supported Excel formats.

Work on a copy of the file. Microsoft warns that saving to another format can drop formatting, data and features.

What Can Excel Not Do With a DBF File?

Excel has two limits that matter for DBF files.

  • It cannot save in dBase format. Microsoft says you cannot save an Excel file to dBase format. Save a CSV file or an XLSX copy instead.
  • It does not open DBF 2. Microsoft lists DBF 2 as unsupported in Excel 2016, 2013, 2010, Excel Starter and 2007.

The Microsoft page names no other dBase versions. Visual FoxPro files start with the byte 30 in our tests. Open them in LibreOffice Calc if Excel refuses them.

Why Do Letters and Memo Fields Look Wrong?

Two problems cause most bad displays. Both start outside Excel.

  • The memo file is missing. Long text fields live in a second file. dBase uses .dbt and FoxPro uses .fpt. The memo file needs the same base name as the table and must remain in the same folder.
  • The code page is wrong. Byte 29 of the header names the text encoding. A wrong value changed Café Crème into CafÚ CrÞme in our example. Match the code page to the byte value.

Our DBF letters section lists the byte values that we found. The value 03 means cp1252.

How to Open a DBF File Without Excel

Two other ways open a DBF file. We tested both on 136 public files.

  • LibreOffice Calc. It opened 124 of 136 public DBF files in our test and it saves DBF files. Open the file with File, Open and save a copy as DBF when you need that format.
  • Python with dbfread. The library opened 117 of the same 136 files. Set the encoding to match the code page byte.
from dbfread import DBF
for record in DBF('table.dbf', encoding='cp1252'):
    print(record)

The script above is a short sketch and we did not execute this exact copy. Only 76 files opened in all four programs that we tested. Try a second program before you decide a file is damaged.

Why Does a DBF File Not Open?

Four causes stop a DBF file from opening.

  • The version byte is unknown. The values 8c, 90 and 04 were refused by LibreOffice in our set. Try another program.
  • The memo file is missing. Some programs raise an error and others show empty memo cells. Restore the .dbt or .fpt file.
  • The header is wrong. A wrong record count or record length breaks the table. Our guide shows the bytes to fix on a copy.
  • The file is cut short. A header cut short cannot be repaired with these methods. Copy the file again from the source.

Our DBF troubleshooting section lists every cause with its fix.

What We Checked and What We Left Out

The Excel limits come from the Microsoft page on supported Excel formats. The test numbers come from our own DBF page, where four programs opened 157 test files.

We did not open a DBF file in Excel for this post and tested no Excel version. The Python sketch is untested as written. Try every way on a copy first.

Frequently Asked Questions

Can Excel open a DBF file?

Yes for DBF 3 and DBF 4 files. Microsoft lists both among the formats that Excel opens. Use File, Open, Browse and set the file type to All Files.

Which DBF versions does Excel open?

Microsoft names DBF 3 and DBF 4, the dBase III and IV versions. Microsoft lists DBF 2 as unsupported in Excel 2016, 2013, 2010, Excel Starter and 2007.

What is a DBF file?

A DBF file is a database table made for dBase. The first byte names the version and many programs like FoxPro use the same layout.

Why do letters look wrong in a DBF file?

The code page is wrong. Byte 29 of the header names the text encoding. A wrong value turned Café Crème into CafÚ CrÞme in our example.

Can Excel save a file as DBF?

No. Microsoft says you cannot save an Excel file to dBase format. Use LibreOffice Calc to open and save DBF files or save a CSV copy.

Can I open a DBF file without Excel?

Yes. LibreOffice Calc opened 124 of 136 public DBF files in our test. A Python script with the dbfread library opened 117.

Why is the memo text missing from my DBF file?

The memo file is missing or has another name. dBase uses .dbt and FoxPro uses .fpt. The file needs the base name of the table and must remain in the same folder.

Neeraj Singh

Neeraj Singh
Manager, Tech Support & Operations, with 19+ years of experience fixing Windows and system errors.

More Tech Tutorials

Still Stuck on This Problem?

Share your error with our team. We research the problem, test the steps and add a guide.