Skip to content
← All Tools
๐Ÿ”’All processing in your browser ๐ŸšซNo uploads stored ๐Ÿ›ก๏ธPrivacy-first conversion tools โœ“No login required
Tutorial

How to Use the Excel To Dbf: Step-by-Step Tutorial

Bill Crawford — Step-by-Step Tutorial — 2026  ยท  Published April 14, 2026

This tutorial walks you through a complete Excel-to-DBF conversion using the Excel to DBF Converter. Each step includes the action to take, what to look for, and what to do when something doesn't go as expected. By the end, you'll have a standards-compliant dBASE III+ binary file ready to load into QGIS, ArcGIS, a legacy database, or any other DBF-aware application.

For background on what DBF is, why the format exists, and how the conversion engine makes decisions, see the Complete Guide to Excel To DBF.

Follow along with the tool: Open the converter in a new tab while you work through this tutorial.

Open Excel to DBF Converter โ†’

Steps in This Tutorial

  1. Prepare your Excel file
  2. Open the converter
  3. Drop or browse your file
  4. Select the sheet to convert
  5. Configure conversion options
  6. Click Convert to DBF
  7. Read the status bar
  8. Review the field map
  9. Check for warnings
  10. Download your .dbf file
  11. Troubleshooting common problems
  12. Real-world examples

Step 1: Prepare Your Excel File

A clean Excel file produces a clean DBF. Before opening the converter, take two minutes to review your spreadsheet:

Sample scenario used in this tutorial: A municipal parks department has a spreadsheet of park features: Park ID (numeric), Park Name (text), Acreage (decimal), Has Restroom (yes/no), Last Inspection (date). The sheet is named "Features". This is a typical GIS attribute table scenario.

Step 2: Open the Converter

Navigate to the Excel to DBF Converter at /developer-tools/excel-to-dbf/. The page loads with a drop zone, a disabled Convert button, and no options visible โ€” the options panel appears after a file is loaded. No login, no signup, and nothing is sent to a server at any point.

Step 3: Drop or Browse Your File

There are two ways to load your Excel file:

Once the file loads, the drop zone is replaced by a filename bar showing the file name. A ร— button on the right lets you clear the file and start over.

Wrong file type error

If you drop a file that is not .xlsx or .xls, an error banner appears: "Wrong file type โ€” only .xlsx and .xls files are supported. You dropped a [ext] file." This is a client-side check โ€” drop or browse a valid Excel file to proceed.

Step 4: Select the Sheet to Convert

After the file loads, the options panel appears. The first control is the Sheet to Convert dropdown, which lists every worksheet in the workbook by name.

For our sample scenario, the dropdown shows one option: "Features". Click it to confirm the selection. If your workbook has multiple sheets โ€” say, "Features", "Boundaries", and "Metadata" โ€” select the sheet you want to convert. The converter processes one sheet per operation.

One sheet at a time. If you need multiple sheets as separate DBF files, run the conversion once per sheet and rename each downloaded file appropriately.

Step 5: Configure Conversion Options

The options panel has three controls beyond the sheet selector:

DBF Version

The version dropdown offers three choices:

For the parks scenario, leave this at dBASE III+ โ€” the output is for QGIS.

First row is header (field names)

This checkbox is checked by default. Leave it checked unless your spreadsheet has no header row and data starts at row 1. In that case, uncheck it and the converter generates synthetic field names (FIELD1, FIELD2, etc.).

Skip empty rows

This checkbox is checked by default. It filters out any row where every cell is blank. Leave it checked unless you specifically need empty rows preserved in the output.

Step 6: Click Convert to DBF

Click the blue Convert to DBF button. The conversion runs entirely in your browser โ€” there is no progress bar for most files because the operation completes in milliseconds. For very large files (100+ MB), there may be a brief pause.

The result appears immediately below the button row.

Step 7: Read the Status Bar

A coloured status bar appears beneath the button row:

For the parks scenario, the status should be green โ€” the data is clean and all columns map cleanly to DBF types.

Step 8: Review the Field Map

Below the status bar, a green "โœ“ Conversion Complete" panel shows summary statistics: rows converted, DBF fields, input file size, and output file size. Below that is the Field Map table, which is the most important output to review before downloading.

The Field Map shows, for each column in your Excel sheet:

For the parks scenario, the Field Map should look like this:

Excel ColumnDBF Field NameTypeWidth
Park IDPARK_IDN5
Park NamePARK_NAMEC32
AcreageACREAGEN8
Has RestroomHAS_RESTROOL1
Last InspectionLAST_INSPECD8

Notice that "Has Restroom" was truncated to HAS_RESTROO (10 characters) and "Last Inspection" to LAST_INSPEC. Both names are still recognisable. The types are correct: N for numeric, C for text, L for logical (yes/no), and D for date.

What to check in the field map

Step 9: Check for Warnings

If the status bar is yellow, a yellow warnings panel appears below the field map. Each warning describes an automatic adjustment the converter made. Common warnings include:

Warnings are not failures. A yellow status means the file converted successfully with automatic adjustments. Review each warning, confirm the adjustment is acceptable, then download. If any warning represents a real problem, fix the source file and reconvert before downloading.

Step 10: Download Your .dbf File

Once you're satisfied with the field map and have reviewed any warnings, click the green โฌ‡ Download .dbf button. The browser downloads the file immediately โ€” the filename is your original Excel filename with the extension changed to .dbf.

For example: park-features.xlsx โ†’ park-features.dbf

The file is written from memory โ€” nothing is stored on any server, and the download link does not persist. If you need the file again, you'll need to reconvert.

After downloading

Before using the DBF in production:

Troubleshooting Common Problems

The options panel doesn't appear after dropping the file

The workbook couldn't be parsed. This usually means the file is password-protected, corrupted, or not actually an Excel file (e.g., a .csv renamed to .xlsx). Check the status bar for an error message. Try opening the file in Excel to confirm it opens normally, then re-save it and try again.

A numeric column is showing type C in the field map

At least one non-empty cell in that column contains a non-numeric value. Open Excel, filter the column for non-numbers using the AutoFilter or =ISNUMBER(A2) check, resolve the anomalous cells, and reconvert.

All my columns are showing as C (Character)

The "First row is header" checkbox may be unchecked when it should be checked, or your data has a blank row between the header and data rows. Confirm that row 1 in your selected sheet is the actual header row and that row 2 begins the data.

The downloaded .dbf shows the wrong record count in my GIS application

The DBF record count is written from the number of non-empty data rows in the selected sheet. If the count in your GIS application doesn't match, check whether "Skip empty rows" filtered out rows you needed, or whether your sheet had blank rows interspersed in the data.

My target application rejects the DBF

Try switching the DBF Version from dBASE III+ to the version your target application expects (IV or Visual FoxPro). Also check whether the application requires a specific code page โ€” if it needs Latin-1 or Windows-1252 extended characters and your data contains them, those characters may need to be removed or substituted before conversion.

Real-World Examples

Example 1: Creating a Shapefile attribute table for QGIS

You have a spreadsheet of 847 census block groups with columns for Block ID, Population, Median Income, Area (sq km), and Urban Classification. The spreadsheet has clean headers in row 1 and data from row 2.

  1. Abbreviate the headers if needed: "Block ID" โ†’ BLOCK_ID, "Median Income" โ†’ MED_INC, "Urban Classification" โ†’ URB_CLASS.
  2. Drop the file into the converter, select the correct sheet.
  3. Leave version at dBASE III+, both checkboxes checked.
  4. Click Convert. Review the field map: Block ID should be N, Population N, Median Income N, Area N, Urban Classification C.
  5. Download as census-blocks.dbf.
  6. Rename to match your Shapefile: census.dbf. Place alongside census.shp, census.shx, census.prj.
  7. Open in QGIS โ†’ Layer โ†’ Add Layer โ†’ Add Vector Layer. The attribute table shows all 847 features with correct columns.

Example 2: Updating a FoxPro legacy application's rate table

A logistics company's legacy routing application reads rate tables as DBF files. The rate table has: Origin Code (text, 3 chars), Destination Code (text, 3 chars), Base Rate (decimal), Fuel Surcharge (decimal), Effective Date (date).

  1. Prepare the rate table in Excel. Ensure Effective Date cells are formatted as dates in Excel (not text).
  2. Drop the file into the converter.
  3. Change DBF Version to dBASE 5 / Visual FoxPro.
  4. Click Convert. Field map: Origin Code โ†’ C width 3, Destination Code โ†’ C width 3, Base Rate โ†’ N, Fuel Surcharge โ†’ N, Effective Date โ†’ D.
  5. Download and copy to the application's data directory, replacing the previous rate table file.

Example 3: Government property database export

A county assessor provides a 40,000-row property database in Excel with 22 columns including parcel numbers, owner names, addresses, assessment values, and zoning codes. Several columns have values like "EXEMPT", "N/A", and blank cells mixed in with numbers.

  1. Review the field map after converting. Columns that should be numeric but show as C contain non-numeric values. Note which columns.
  2. In Excel, filter each affected column for non-numeric values. Replace "N/A" with 0 or another sentinel value that makes sense for the data. Remove "EXEMPT" if it belongs in a separate boolean column.
  3. Reconvert. This time the affected columns show N in the field map.
  4. Download. The resulting DBF loads cleanly into the destination database.
BC
Bill Crawford
Founder, Data Conversion Center

Bill Crawford is a data systems developer and technical founder with over 30 years of professional experience in accounting, finance, and business operations. He founded DataConversionCenter.com to build practical, browser-based tools that simplify complex data challenges.

Professional Background