Is there any free DBF file converter? [closed]
Asked Answered
H

7

25

I have only found trial versions of these converters. Does anyone know a free one? Any of the following target formats will do:

CSV, MDB, SQL, XLS

Heading answered 10/8, 2009 at 20:13 Comment(5)
DBF as in ESRI Shapefiles (SHP), probably the same as dBase IIHeading
There's a very high probability the command line tool ogr2ogr (part of the gdal ogr utilities) can also perform this for you as it reads/writes almost all common GIS formats.Heilman
Related: Is there any free tool to convert a file with more than 65000 registers from DBF format to CSV?Diazotize
qgis can do this pretty easily. Just open the file with qgis, right click the layer and save as a csvInoculation
Github project here: github.com/akadan47/dbf2csvSkill
H
21

Microsoft Excel can open DBF files and save it on many formats

Heading answered 10/2, 2010 at 18:10 Comment(8)
Note that with an older MS-Excel version you might run into troubles with more than 65535 records...Vacate
@Vacate Yes, that's true for Excel 2003 and olderHeading
Also, Excel tends to corrupt the dbase files if you change and save them.Sherwin
At least Mac Excel 2011 doesn't open it. The OGR2OGR tool works and is the correct answer to this question.Bruns
Excel may export some cells as empty which contain special characters.Antonantone
Excel also doesn't export Memo type.Antonantone
Plus. Excel isn't a "free" solution.Tarbes
2017 Microsoft Excel for Mac doesn't want to open .dbf file formats.Skill
B
11

There's Exportizer (http://www.vlsoftware.net/exportizer/index.html) which also comes with a $$$$ "Pro" version, and DBF Viewer Plus (http://www.alexnolan.net/software/dbf.htm) by Alex Nolan.

Both are freeware, both should allow you to export to at least CSV (or more).

Marc

Balladry answered 10/8, 2009 at 20:34 Comment(1)
For anyone else interested: Exportizer is great for just peeking into a database and not doing anything real useful and seems pretty solid. DBF Viewer Plus seemed OK but I ran into a lot of bugs when trying to create tables and fields in those tables. Since I'm looking in on a database that I don't want to screw up, I will not be using that one and just sticking with Exportizer.Hectorhecuba
P
9

I am able to open and convert .dbf files with LibreOffice 3.4.4, and export to a variety of formats.

Psalms answered 1/1, 2012 at 21:44 Comment(2)
This is a very underrated answer. Free and simple!Poock
This answer helped me a lot. MS Excel and SQL Server only read a part of my dbf file (2000 out of 2800 records). LibreOffice didn't have any problems. It worked well even with Latin2 encoding in dbf file.Subdivide
S
3

http://sourceforge.net/projects/dbf2csv

Very simply converter between dbf and csv. You don't need any database engine.

Very simple, but worked fine for me

Slr answered 26/9, 2012 at 21:29 Comment(2)
That converter messes up the header, especially if there is field size in header (DBASE).Amando
Github project here: github.com/akadan47/dbf2csvSkill
G
2

I wrote an article some years ago, about converting dbf's into datasets (xml readable by DataSet.ReadXml's function), however, it can be slow on big dbf's ,you can try it free though.

Article.

Gur answered 10/8, 2009 at 20:18 Comment(0)
F
2

For XLS or CSV, use OpenOffice.org.

Funnel answered 10/8, 2009 at 20:23 Comment(1)
The first row will be field names, followed by type abbreviation, field width (if applicable), and decimal places (if applicable). There's probably an option to turn off this behavior. In the mean time if you have MS Excel, it defaults to not adding this information into the first row cells.Funnel

© 2022 - 2024 — McMap. All rights reserved.