Accents and £ signs look wrong
The text was read in the wrong code page. Pick another in the viewer’s code page list and check a few records before you export.
Entidex Bridge / Free tools / DBF viewer / How to open a DBF file
Guide · DBF files
A .dbf file is a database table from dBase, FoxPro or Visual FoxPro. Here are four ways to open one, the steps to get it into Excel, a CSV file or a SQL database, and what to do when the text, memo fields or dates come out wrong.
Checked 17 November 2026
Four ways
Which one works depends on which program made the file. A table from dBase III or IV is the easy case; a Visual FoxPro table with memo, Currency or DateTime fields is the one most programs get wrong.
| Program | Opens | Watch for |
|---|---|---|
| Free DBF viewer (any browser) | Visual FoxPro 3 to 9, FoxPro 2.x, FoxBASE+, dBase III and IV, with .fpt and .dbt memo files | Reads only; it never writes a .dbf file. Very large tables are limited by your browser’s memory. |
| Microsoft Excel | dBase III and IV tables (Microsoft) | Visual FoxPro tables are not on Microsoft’s list. Excel cannot save back to dBase format. |
| LibreOffice Calc (free) | .dbf files, opened as a new spreadsheet (LibreOffice Help) | Formulas and formatting are lost when a dBASE file is saved. Visual FoxPro memo, Varchar, Currency and DateTime fields are often lost. |
| Visual FoxPro itself | Everything it wrote: USE customer then BROWSE | Only if you still have a working copy installed. Opening a table in the live system’s folder can lock it for its users; work on a copy. |
Whatever you use, open a copy of the files, not the ones the live system is using.
customer.dbf and, if there is one, customer.fpt (FoxPro) or customer.dbt (dBase).The CSV for Excel is UTF-8 with the marker Excel looks for, so accents and the £ sign survive. Dates are written as YYYY-MM-DD, which Excel recognises as dates.
For anything other than Excel, such as a script, another database’s import wizard or a cloud system, choose CSV (plain UTF-8). It has no Excel marker, one header row with the field names, and one row per record.
_deleted column. FoxPro marks a record deleted but keeps it until the table is packed, so these may still matter.Prefer one record per line as JSON? Choose JSON Lines.
Then compare the row count in the database with the record count the viewer shows. They should match, less any deleted records you left out.
When it goes wrong
Most problems come from the file’s age: a character set nobody uses now, a memo file left behind, or values the old program let in.
The text was read in the wrong code page. Pick another in the viewer’s code page list and check a few records before you export.
Long text lives in a separate .fpt or .dbt file with the same name. Drop it in with the .dbf.
Old programs let in values that cannot be read back, such as 31 February or a number too big for its field. The viewer exports them as empty and lists every one in a problems file rather than guessing. What breaks and how it is handled.
Check the file is the table itself. A .cdx, .idx or .mdx file is an index, and a .dbc is a FoxPro database container; neither holds the records. A table whose header is damaged will not open either.
Next
A FoxPro system is usually dozens of tables and a program that writes to them. If you are moving it, map it first.
Open a .dbf file and export it to CSV for Excel, JSON Lines or SQL.
Open a DBF file → Sandbox · freeTry a supervised import into a mock FoxPro system, and download mock tables in five FoxPro formats.
Open the sandbox → From £495Every table exported by the same read-only exporter, with a record-count check per table. The Visual FoxPro Estate Survey (from £750) maps the system first.
See the Data Export →Yes, for dBase III and IV tables: Microsoft lists them as formats Excel can open (Excel for Microsoft 365, 2024, 2021, 2019 and 2016, checked 17 November 2026). Visual FoxPro tables are not in that list, so a FoxPro .dbf may not open in Excel, or may not open completely. For those, open the file in the free DBF viewer and download CSV for Excel.
Not from current Excel: Microsoft says you can open dBase files in Excel but cannot save an Excel file to dBase format. LibreOffice Calc can save the current sheet as a dBASE file, though formulas and formatting are lost.
Use a tool that reads the file format directly. The free DBF viewer on this site opens Visual FoxPro, FoxPro 2.x and dBase tables in your browser, memo fields included, without FoxPro installed and without uploading the file.
The table was read with the wrong code page, the character set the text was saved in. The viewer reads the code page from the table header; if the text still looks wrong, pick another code page from the list (1252 is usual for Western European Windows systems, 437 and 850 for older DOS ones) and check a few records before you export.
The table has memo fields, long text or binary data, which live in a separate file: .fpt for FoxPro, .dbt for dBase. Drop that file in at the same time as the .dbf. It must have the same name, for example customer.dbf with customer.fpt.
The viewer opens several tables at once, one tab per table, and you export each one. For a whole FoxPro database, with record counts checked for every table, the FoxPro Data Export does every table in one run.
General guidance. Microsoft, LibreOffice and dBase are named only to identify programs; no endorsement or partnership is implied. From bridge.entidex.com.