Anyfile is in beta, so a few things may not work perfectly yet. Tell us what you find

Free converter

DBF to SQL

Anyfile converts a dBASE table to an SQL file for free, right in your browser: the file is never uploaded.

Files are converted in your browser and never uploaded. By using Anyfile you agree to the Terms of Use.

What changes from DBF to SQL

What’s savedA script that rebuilds every table and row

When to use SQL: Database backups, migrations and saved queries.

The two formats

.dbf

dBASE tabledBASE database file

A table file from dBASE, the database program of the early 1980s. A header describes the fields, then each record follows as a row; shapefiles still use it for attribute data.

Old business records, FoxPro data and the attribute tables of GIS shapefiles.

Opens in LibreOffice Calc, Excel, QGIS, ArcGIS

About DBF files

.sql

SQL fileStructured Query Language

Statements in SQL, the language for relational databases first developed at IBM in the 1970s. Files often hold table definitions, queries or a full database dump.

Database backups, migrations and saved queries.

Opens in DBeaver, DataGrip, pgAdmin, MySQL Workbench, any text editor

About SQL files

Questions

How do I convert DBF to SQL?

Drop your DBF file on this page, or choose it. Anyfile converts it on your device in a moment and the SQL downloads straight away. To change it first, open it in the database viewer.

Is my DBF file uploaded anywhere?

No. The file is read and converted by your own browser, and nothing is sent to a server. You can check: open your browser’s developer tools, go to Network, and convert a file. No upload appears.

Can I convert several DBF files at once?

Yes. Drop them together and you get one ZIP with every SQL inside.