Export DBF to XML (2026 Update)

XML is a versatile and widely used data format. There are hundreds of tools, software and online services accepting XML as a primary format of imported data. What to do when you only have DBF? Just export your DBF files to XML.

Why Use DBF Viewer 2000 to Export to XML?

DBF Viewer 2000 combines DBF database management and export functions in one application. You do not need to convert the database through an intermediate format before creating an XML file.

The export tools provide control over the information included in the resulting file. You can select specific fields, change their order, filter records, sort data, and choose the appropriate encoding.

Command-line support is another useful option for users who regularly work with DBF databases. Export commands can be included in automated processes, making it possible to repeat the same conversion without performing every step manually.

Step-By-Step Instructions for Exporting to XML

Step 1: Open the DBF file

Start DBF Viewer 2000 and open the DBF database you want to convert.

Step 2: Open the export options

Select menu command File | Save as/Export and choose XML as a file type and path for output file.

Step 3: Select fields

In the XML export dialog, select the fields you want to include in the resulting file. You can also change the order of the selected fields.

Export DBF to XML Screenshot


DOWNLOAD
for FREE

DBF to XML Exporting via Command Line

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" file.dbf /EXPORT:file.xml [/FILTER | /WFILTER | /FILTER2 | /REVERSE | /COLUMNS | /FROMRECORD | /SORTBY:field | /UTF8]

Simple Export to XML format

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml

Export in reverse mode

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml /REVERSE

Export with Columns Selection

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml /COLUMNS:ZIP,NAME,PHONE

Export DBF to XML with Sorting

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml /SORTBY:CITY

Export to XML with Wide Filter

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml /wfilter:alaska

Export to XML with In-line Filter

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:sample.xml /FILTER2:STATE:NY

Exporting from record N

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:doc.xml /fromrecord:N

Using UTF-8 encoding

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" sample.dbf /EXPORT:doc.xml /UTF8

Export Files in subdirectories to XML

"c:\Program Files (x86)\DBF Viewer 2000\dbview.exe" d:\mydir1\ /export:d:\MyXML\*.xml /recurse

Frequently Asked Questions for Exporting to XML format

Can I convert DBF to XML without Excel? ▼

Yes. DBF Viewer 2000 can export DBF data directly to XML, so Excel is not required.

Can I export only selected fields? ▼

Yes. The XML export dialog allows you to select the fields that should be included in the resulting file. The /COLUMNS command-line option can also be used to specify fields.

Can I filter records before exporting DBF to XML? ▼

Yes. DBF Viewer 2000 supports filtering options for XML export via GUI or command line.

Can I sort records before creating the XML file? ▼

Yes. You can use the "Advanced sorting" command or specify the field used to sort records with the option /SORTBY

Can I export multiple DBF files? ▼

Yes. The command line functionality includes options for processing DBF files in subdirectories, including the /RECURSE option

Do you need other options for XML generation?

Please, contact us by E-mail: support@dbf2002.com or by On-line form.


DOWNLOAD
for FREE

See also: DBF to XLS (Excel), DBF to SQL, DBF to CSV, Filtering records,  Command line options