DBF to CSV, Excel and SQLite Converter
Open old dBase or FoxPro tables, see accented letters correctly, and convert one table or a whole folder in one go.
Hufanya kazi kwenye kivinjari chako. Faili zako hazitoki kamwe kwenye kifaa. Tazama jinsi ya kuthibitisha
…
Jinsi ya kufanya
- 1Add tables
Drop the .DBF files with their .DBT or .FPT files.
- 2Check the encoding
Compare accented names and change the Text encoding if needed.
- 3Adjust fields
Rename or untick fields in the Fields panel.
- 4Filter
Type in the filter box to check particular rows.
- 5Export one
Download the selected table as CSV or Excel.
- 6Export all
Use the batch buttons for a ZIP, workbook, SQLite file or SQL dump.
Kuhusu zana hii
DBF is the table format of dBase, Clipper, FoxBASE, FoxPro and Visual FoxPro, and it lives on in accounting packages, GIS shapefiles and government data downloads. Spreadsheet programs open simple DBF files but often show broken accents, cut off memo fields or refuse FoxPro tables. This converter reads the format directly in your browser. It decodes the header, the field list and every record, including character, numeric, date, logical, integer, currency, double and datetime fields. Memo fields are read from the matching .DBT (dBase) or .FPT (FoxPro) file when you add it. The text encoding comes from the code page byte in the header, which maps to DOS code pages 437 and 850, Windows code pages, Cyrillic, Greek, Turkish, Chinese, Japanese and Korean. When that byte is empty, the tool checks for UTF-8 and otherwise picks the code page that produces the most real letters, and you can override the choice. Several tables can be dropped at once and exported together as a ZIP of CSV files, one Excel workbook, one SQLite database or one SQL script.
Deleted records
dBase marks deleted rows with an asterisk but keeps them in the file until the table is packed. They are hidden by default; tick the option to include them, which can rescue records deleted by mistake.
Fields
Open the Fields panel to rename columns for the export or leave some out. Renames and removals can be undone. SQL and SQLite exports use INTEGER, REAL and TEXT types based on the field type and decimals.
CSV back to DBF
Some older programs only import DBF. The CSV to DBF section writes a dBase III table: columns of whole or decimal numbers become numeric fields, YYYY-MM-DD values become date fields, yes and no become logical fields, and the rest become character fields of up to 254 bytes. Column names are shortened to the 10 characters dBase allows.
Limits
Index files (.NDX, .MDX, .CDX) are not needed for reading and are ignored. Encrypted tables and dBase 7 tables with long field names in a separate block are not supported. The detection of an unmarked code page is a best guess, so check names with accents before exporting. Tables are loaded into memory, which is fine for millions of small records on a laptop but not for multi-gigabyte files on a phone.
Mfano uliotatuliwa
A Visual FoxPro customer table of 48,210 records with a 3.4 MB .FPT memo file uses code page byte 0x03 (Windows-1252). The converter shows names such as Müller and Pérez correctly, reads the NOTES memo field, and exports a 48,210-row CSV. With a second table of 112,000 invoice lines added, the SQLite export holds both tables in one 21 MB file.
Kwa ufupi
- Kategoria: Nyaraka
- Hufanya kazi kwenye kivinjari, bila usajili, bila kupakia.
- Taarifa unazoingiza hubaki kwenye kifaa chako.
- Inapatikana kwa Kiingereza.
- Maudhui yalikaguliwa mwisho:
- Chanzo rasmi: dBase and Visual FoxPro table file structure (Microsoft VFP documentation)
Maswali yanayoulizwa mara kwa mara
Why do accented letters look wrong in Excel?
DBF files often use DOS or Windows code pages. This tool decodes them using the code page in the header or a detected one.
What is the .FPT or .DBT file?
It holds long text (memo) fields. Add it together with the DBF so those fields are filled.
Can I convert many tables at once?
Yes. Drop them all; the batch export writes every table.
Are deleted records lost?
Not if the table was never packed. Tick Include rows marked as deleted.
Does it work with shapefile DBF files?
Yes. The attribute table of a shapefile is a normal dBase III file.
Is anything uploaded?
No. Reading and writing happen in your browser.
