How to Convert DBF Files to CSV, Excel or SQLite
Convert dBase, FoxPro and Visual FoxPro DBF tables with memo files to CSV, Excel, SQLite or SQL, fix the text encoding, and turn a CSV back into DBF.

How to Convert DBF Files to CSV, Excel or SQLite
The DBF format was born with dBase in the early 1980s and spread through FoxPro, Clipper and countless accounting, payroll and stock programs. It is still around today: shapefiles in mapping software keep their attributes in a DBF, and many older business systems export nothing else. Modern Excel no longer saves DBF and often struggles to open it cleanly. The DBF to CSV, Excel and SQLite Converter reads these tables in your browser and turns them into files any current program understands.
Supported tables
The converter handles dBase III and IV, FoxPro and Visual FoxPro tables. Each table shows its detected flavour, the last updated date stored in the header and the record count. Long text in DBF lives in a separate memo file with the same name and a .DBT or .FPT extension. Add the memo file together with the table and the tool pairs them automatically by name; the summary tells you whether the memo file is loaded or missing. Without it, memo fields stay empty.
Adding files
You can drop many tables at once, for example a whole folder from an old program. Each one appears in the list on the left with its row count, number of fields, flavour and size. If a file cannot be read, the error is shown next to it while the rest still work. Adding a memo file without its table produces a gentle reminder to add the matching DBF too.
The checkbox Include rows marked as deleted is worth knowing about. DBF programs did not remove deleted records straight away; they flagged them and waited for a pack operation. Ticking this box brings those flagged rows back into view, which can rescue data someone deleted by mistake.
Fixing the text encoding
Garbled accented letters are the most common DBF headache. Most tables carry a code page byte in the header, and the tool uses it to choose an encoding. When that byte is missing, it guesses and labels the choice as detected so you know to check it. The encoding menu lists UTF-8, the DOS code pages 437, 850 and 866, and several Windows code pages such as 1250, 1251 and 1252, among others. Switch until names look right in the grid. Your choice is stored per table and can be undone.
Renaming and dropping fields
DBF field names are limited to ten characters, so you often get columns like CUST_NM or INV_DT. Open the Fields section to see every field with its type letter and size. Type a friendlier name in the Export as box, or untick Keep to leave a field out. These changes apply to the view and all exports, and the undo bar tracks them.
Viewing and exporting
The grid shows the first 250 rows, with a filter box to find records containing a value. Below it, CSV and Excel buttons export the current table. The CSV includes a byte order mark so Excel opens UTF-8 text correctly, and the Excel file has a frozen header row.
When you have several tables, the batch section offers four options: a ZIP containing a CSV per table, a single Excel workbook with one sheet per table, a SQLite database, or a SQL dump with CREATE TABLE and INSERT statements. Field types are mapped to suitable SQL column types. The SQLite build loads sql.js, around 0.7 MB, once.
Going the other way: CSV to DBF
Some old programs still need DBF input. The bottom panel turns a CSV file into a dBase III table. It detects numeric columns, dates written as YYYY-MM-DD and yes or no columns, and stores everything else as text. By default text is written in Windows-1252, which older software expects. If your target program understands it, tick the UTF-8 option for full Unicode support.
Practical example
An accountant receives a client's ledger as LEDGER.DBF and LEDGER.FPT from a retired FoxPro system. Dropping both files shows 18,000 rows and the memo notes intact. The header code page is missing, so the description column shows odd characters; switching to Windows Central Europe fixes them. After renaming a few cryptic columns, the Excel export goes straight into the new accounting workflow.
Limits
The converter reads and writes table data only. It does not read index files such as .NDX, .MDX, .CDX or .IDX, and it does not read the database container files used by Visual FoxPro projects. The CSV to DBF direction creates a dBase III table without memo fields, so text columns hold at most 254 characters, and column names are shortened to ten letters, digits or underscores. The grid previews 250 rows at a time, though exports include everything. All work happens in your browser, so very large tables depend on available memory.


%20Generator&c=%23991b1b&k=documents)
