Convert Excel to DBF
Open an Excel or CSV file, check the fields the tool proposes (name, type, length and decimals) and download a DBF ready for dBase, FoxPro, Visual FoxPro, Clipper or a shapefile. Your data stays on your device.
- 100% free, no limits
- No sign-up
- Field types you control
- Nothing uploaded: runs in your browser
No file at hand?
1. Output format
2. Check the fields
Each column becomes a field. Names follow DBF rules (10 characters, no spaces or accents) and the type and length are worked out from your data; you can change them or leave columns out.
Data preview
3. Download
If there are memo fields (texts longer than 254 characters) or you ask for a .cpg, you get a ZIP with the .dbf and its companion files.
How to convert Excel to DBF
- Open your Excel or CSV file. The first row must hold the column names.
- Choose the DBF type and code page your program expects, then check the proposed fields: rename them, change types or lengths, or untick columns you do not need.
- Download the DBF, or a ZIP with the .dbf and its memo or .cpg file.
DBF field types
| Type | Holds | Size | Proposed for |
|---|---|---|---|
| C · Character | Text | 1 to 254 | Text columns and codes with leading zeros |
| N · Numeric | Numbers, with decimals | Up to 20 digits | Number columns, sized to the largest value |
| D · Date | Date (YYYYMMDD) | 8 | Excel dates and ISO dates |
| L · Logical | True / false | 1 | TRUE/FALSE and yes/no columns |
| M · Memo | Long text in .fpt or .dbt | Any length | Texts over 254 characters |
| T · DateTime | Date and time (Visual FoxPro) | 8 | Dates with a time, in Visual FoxPro tables |
Who still needs DBF files
- Visual FoxPro and Clipper applicationsAccounting, payroll, point-of-sale and inventory systems that are still in use and import data from .dbf tables.
- GIS and shapefilesThe attribute table of a shapefile is a DBF; build it from a spreadsheet and join it in QGIS or ArcGIS.
- Government and bank uploadsSome official systems still ask for files in DBF format with exact field names and widths.
- Statistics and legacy toolsSPSS, Stata, older versions of Excel and many xBase tools exchange data as DBF.
Excel removed “Save as DBF” in Excel 2007, and LibreOffice can still save to DBF, but it decides the field types and widths for you. This converter shows you every field before writing it and warns you if any text was cut, any character did not exist in the code page or any value did not fit its type.
Limitations
- One sheet becomes one DBF table. For several sheets, convert them one after another.
- Index files (.cdx, .mdx) are not created; your program can rebuild them with REINDEX or INDEX ON.
- DBF fields cannot hold formulas, formatting or images: values are written as shown in the cells.
- A record can be up to 65,535 bytes. There is no usage limit; the practical limit is your device’s memory.
Have a DBF to open? Use DBF to Excel or the DBF viewer.
Frequently asked questions
Is this Excel to DBF 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 spreadsheet 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.
Which DBF type should I choose?
FoxPro 2.x is the most compatible choice: dBase, FoxPro, Visual FoxPro, Clipper, Harbour, LibreOffice and GIS programs all read it. Choose dBase III for very old programs, and Visual FoxPro if your application needs date-time fields or is written in VFP.
Which code page should I use?
Use the one your target program expects. Windows programs and Visual FoxPro usually use Windows-1252 (Western Europe and the Americas); MS-DOS and Clipper programs usually use DOS 850 or 437. For QGIS, ArcGIS and other modern tools, UTF-8 with a .cpg file is the safest choice.
How are field names created?
DBF field names have at most 10 characters, use only letters, digits and underscores, and start with a letter. Your column headers are converted automatically (accents removed, spaces replaced, duplicates numbered) and you can rename any field before downloading.
Will leading zeros in postal codes or IDs be kept?
Yes. A column like 00123 or 01001 is detected as text, so the zeros stay. Columns with only plain numbers become numeric fields with the width and decimals they need.
What happens with long texts?
Character fields hold up to 254 characters. Columns with longer texts become memo fields, stored in a companion .fpt (FoxPro) or .dbt (dBase) file; you then get a ZIP with both files, which must stay together.
Can I convert a CSV file to DBF?
Yes. CSV files with comma, semicolon, tab or pipe separators are detected automatically. Decimal commas such as 1520,50 are understood, and dates in ISO format (2024-03-15) become date fields.
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.