Free, no signup. Change the text in any PDF.Edit a PDF
DBF → XML Converter

Convert DBF tables to XML with the text decoded correctly

Get dBASE and FoxPro records into XML with readable text, real dates and TRUE/FALSE values.

Select your file to convert

or drop your file here

Advertisements
Expert Tips

What the pros know

Pro Tip

Before converting a batch, convert one DBF and run the XML through your importer. It takes a minute and tells you whether XML or CSV is the easier path.

Common Mistake

Assuming any XML file will import into any system. The element names and structure have to match what the importer expects.

Best For

Getting dBASE or FoxPro records into a system or workflow that reads XML, with non-English text intact.

Not Recommended

Not when the receiving system accepts CSV, which is simpler, or when people will read the data in Excel.

FAQ

Frequently Asked Questions

Upload the DBF, choose XML and download the result. The text is decoded from the DBF code page before the XML is written.

Not necessarily. XML layouts differ between systems, so check one converted file against your importer before converting more.

Usually because the DBF was read with the wrong code page. We read the code page from the DBF header, or detect it from the text.

Yes. Dates stored as text like 19980314 are decoded into real dates.

T, F, Y and N values become TRUE and FALSE.

Yes, including null values and varchar fields. dBASE 7 files aren't supported yet.

Often CSV. Most databases and scripts import CSV without any structure to match.

Yes, with no sign-up. Files are converted on our servers.

Convert DBF to XML online free

Getting DBF data into XML without broken characters

XML is strict about text encoding. If a converter reads a DBF with the wrong code page, the XML either fills up with wrong letters or fails to parse at all. We read the code page recorded in the DBF header, check for UTF-8, and detect the code page from the text when the header is empty, so Cyrillic, Greek, Central European and Asian text arrives intact.

How to convert DBF to XML

  1. Upload the .dbf file at the top of the page.
  2. Choose XML as the output.
  3. Convert and download the .xml file.

The conversion runs on our servers. Our reader turns the DBF into a clean table first, and LibreOffice writes that table out as XML.

What gets cleaned up on the way

DBF stores almost everything as fixed-width text, including numbers and dates. We decode dates written like 19980314 into real dates, turn numeric fields into numbers, and map logical fields from T, F, Y and N to TRUE and FALSE. Visual FoxPro null values stay empty instead of becoming zeros, and varchar fields keep their real length. Field names are used as they are, without the type and width codes some tools add.

Check the XML against your importer first

There's no single XML layout for table data. Every system that imports XML expects its own element names and structure. Convert one file, open it, and compare it with what your importer needs before you convert a whole batch. If the target system also accepts CSV, DBF to CSV is often the simpler route because it has no structure to match.

Limits and related conversions

dBASE 7 files aren't supported yet, and files that aren't real DBF tables get a message instead of an empty XML file. For people who will read the data in a spreadsheet, DBF to XLSX is easier to work with. Every DBF option is on the DBF converter page, and the XML converter covers XML files.

Last updated: 27 October 2026 · ChangeMyFile

What changed: Rebuilt the DBF reader: text in any code page, dates, numbers and logical fields are now decoded correctly before the XML is written.

Advertisements