DBF files

Open dBase, FoxPro and Clipper tables as CSV or Excel, or make a new DBF from a spreadsheet, on your device.

Conversion desk

On this device

Start with a file

Drop your file here or choose one from your device.

DBF · CSV · TSV · XLSX · 5 files at a time, free

Its new format

To

Converted on this device. Nothing is uploaded.

Your file's short trip

DBF to CSV

Your file is next.

  1. Copy records
  2. Ready

Which conversion do you need?

The converter above handles all four. Pick a direction, or just drop a file: if it doesn't fit the selected direction, the converter switches to one that does.

What a DBF file is

DBF is the table format of dBase, one of the first database programs for personal computers, sold by Ashton-Tate from the early 1980s. A .dbf file holds a single table: a short header that lists the fields, followed by one fixed-width record after another. That simplicity helped it last. FoxPro, Visual FoxPro and Clipper used the same layout and extended it, and it became a common way to pass data between programs on DOS and Windows.

It never quite went away. Esri's shapefile, still one of the most widely shared GIS formats, keeps its attribute table in a .dbf next to the .shp and .shx files, so map software still writes DBF today. Accounting, stock and membership programs from the dBase, Clipper and FoxPro years have left plenty of data in DBF tables, too.

Inside the file

Versions we've tested

Each version below appears among the 29 readable files in the 30 licensed test files we measure our converters against. The reader also accepts a few rarer version bytes, but we list only the ones we've checked on real files.

Version byteWritten byTest files
0x02dBase II1
0x03dBase III and later, without a memo file14
0x30Visual FoxPro7
0x31Visual FoxPro, with an autoincrement field1
0x32Visual FoxPro, with varchar or varbinary fields1
0x83dBase III Plus, with a .dbt memo file1
0x8BdBase IV, with a .dbt memo file2
0x8CdBase 71
0xF5FoxPro 2 or earlier, with an .fpt memo file1

Field types

A field's type letter decides what its bytes mean. Here is what each one holds, and what it becomes when you convert:

TypeHoldsBecomes
C · CharacterText, padded with spaces to the field's widthText, without the padding
N, F · Numeric, FloatNumbers written out as digitsNumbers, with the declared decimals
L · LogicalTrue, false, or not setTRUE, FALSE or empty
D · DateA date stored as YYYYMMDDA date
M · MemoA pointer into the .dbt or .fpt fileThe memo text, when you add the memo file
I, + · Integer, AutoincrementWhole numbers in binaryNumbers
B, O, Y · Double, CurrencyBinary numbers from Visual FoxPro and dBase 7Numbers (a dBase B field holds binary data instead, and is left out)
T · DateTimeA Visual FoxPro date and timeA date with its time
V · VarcharVisual FoxPro text of varying lengthText
G, P · General, PictureOLE objects and imagesLeft out, and named in the notes

Making new DBF files

Going the other way, we write dBase III (version byte 0x03) with C, D, L and N fields only, and no memo file yet. CSV to DBF explains how columns turn into fields and how to choose a code page; Excel to DBF covers what's particular about reading a workbook.

Plans

Free and Pro

The free plan is the real product, not a trial. Pro is for people who convert in bulk, and it isn't open yet.

FeatureFreePro
Single filesFree, no watermark, no waitSame
Files at a timeUp to 5Up to 100
ZIP and folder inputPick the files insteadYes
Large filesWorks; may be slow on some devicesBuilt for them
AccountNone neededOptional
Where files goNowhere: converted on your deviceNowhere: converted on your device
Price$0Week Pass $6 · Pro $7/month or $48/year · coming soon

Privacy

Check it yourself

You don't have to take our word for it. Your browser can show you exactly what this page sends.

  1. Open your browser's developer tools (F12, or Option + Command + I on a Mac) and choose the Network tab.
  2. Convert a file on this page.
  3. Look through the requests. None of them carries your file: the page loads its code once, then the conversion runs in a Web Worker on your device.
  4. For a stronger test, turn off Wi-Fi after the page loads, then convert again. It still works.

The conversion worker runs under its own Content Security Policy, which blocks every network request:

default-src 'none'; script-src 'self'

The page itself may only talk to this site and our cookieless analytics:

connect-src 'self' https://gateway.umami.is