Database Tools

Convert DBF to Excel

Drop a .dbf file, with its memo file if it has one, and get a clean Excel or CSV file. Accents come out right because the code page is detected and can be changed, deleted records are left out, and the file never leaves your device.

No file at hand?

How to convert a DBF file to Excel

  1. Drop the .dbf file, together with its .fpt or .dbt memo file if it has one. Several tables or a ZIP are fine.
  2. Check the preview. If accents look wrong, choose another code page; the table updates instantly.
  3. Download an Excel workbook (a sheet per DBF) or CSV files.

DBF files this tool reads

ProgramFilesNotes
dBase III, III Plus, IV.dbf + .dbtMemo fields from .dbt
dBase 7 (Visual dBase).dbf + .dbtLong field names, integer, double and timestamp fields
FoxPro 2.x, FoxBASE.dbf + .fptMemo fields from .fpt
Visual FoxPro 3 to 9.dbf + .fptInteger, currency, double, datetime, varchar and null values
Clipper, Harbour, xBase++.dbf + .dbt or .fptText fields longer than 255 characters
Shapefiles (QGIS, ArcGIS).dbf + .cpgAttribute table, with the code page from .cpg

Getting the accents right: code pages

A DBF does not store Unicode text. Each byte above 127 means a different letter depending on the code page the program used: byte 164 is “ñ” in DOS 850 and “¤” in Windows-1252. The header usually carries a code page mark, but many programs left it empty. This tool uses, in this order, a .cpg file, valid UTF-8 text, the header mark and an analysis of the text, and shows you which one it picked. If names like “Mu¤oz” or “Garc¡a” appear, switch to DOS 850; if you see “Muñoz”, choose UTF-8.

Why not open the DBF directly in Excel?

Recent versions of Excel for Windows can still open some DBF files, but they ignore memo files, often show accents wrongly, keep deleted records and cannot open Visual FoxPro or dBase 7 tables. Excel for Mac and Google Sheets do not open DBF files at all. Online converters upload your data and usually have size limits. Here the file is read on your device, the memos are joined, the code page is handled and the result is a normal .xlsx.

Limitations

Need to go the other way? Use Excel to DBF. Just want to look inside? Open the DBF viewer.

Frequently asked questions

Is this DBF to Excel converter really free?

Yes. It is 100% free, with no usage limits, no account and no sign-up. There is no paid plan, no watermark, no row limit and nothing locked.

Is my DBF file uploaded to a server?

No. The file is opened and converted inside your browser, in a background worker, and never leaves your device. The page only downloads its own code from this site. If you accept analytics cookies, Google Analytics receives anonymous usage data such as page views, never your files, their names or their contents.

Why do accents and ñ look wrong when I open a DBF in Excel?

DBF files store text in an old code page, usually DOS 850 or 437 for files from MS-DOS and Clipper programs, or Windows-1252 for FoxPro for Windows. Excel guesses wrong and shows characters like ¤ or ‚. This tool reads the code page mark in the header, checks the text and lets you pick another code page with a live preview until the accents look right.

What are the .fpt and .dbt files?

They hold the memo fields, the long texts of a table. FoxPro and Visual FoxPro use .fpt and dBase uses .dbt. Add the memo file together with the .dbf (same name) and the texts are included in the Excel file; without it, memo cells show a reminder.

Can it open large DBF files?

Yes. There is no file size limit or quota; records are read straight from the file, so DBF files of hundreds of MB open on a normal computer. Excel allows 1,048,576 rows per sheet, so for larger tables download the CSV.

What happens with deleted records?

Records marked as deleted (but not yet packed) are left out by default, as dBase and FoxPro do. You can show them in the preview, struck through, and include them in the export.

Does it work with the DBF of a shapefile?

Yes. Drop the .dbf of a shapefile, or the whole ZIP: the attribute table is converted and the .cpg file, if present, is used for the code page. The geometry (.shp) is not converted.

Can I convert several DBF files at once?

Yes. Drop them together and you get one Excel workbook with a sheet per file, or a ZIP with a CSV for each one.

Analytics: only if you accept cookies, the page loads Google Analytics (through Google Tag Manager) to count visits and see which tools are used. It never receives your files, their names or their contents. You can change your choice at any time with “Cookie settings” at the bottom of the page.