Generators

XML Dataset Generator

Sample XML

Generate XML Dataset

Follow these simple steps to create your custom XML dataset with realistic test data.

1
Choose Dataset Type
Select the type of data you want to generate
2
Select Users Fields
6 selected
Click fields to toggle • use arrows to reorder columns
ID
First Name
Last Name
Username
Email
Phone
Gender
Date of Birth
Address
City
State
Country
Zip Code
3
Generate Users Dataset
Choose how many users records to generate
Quick presets:

Number of Records

Maximum 10,000 records per generation

XML root element (e.g., 'records', 'data', 'items')

XML element for each record (e.g., 'record', 'item', 'entry')

Pretty print XML (formatted with indentation)

XML

Download Ready-Made XML Files
Pre-generated files — no setup needed, instant download
Instant Download

Tool features

Comprehensive XML dataset generation with customizable fields and instant downloads
4 features

Multiple Dataset Types

Generate XML data for users, customers, companies, products, orders, employees, and books with realistic fake data.

Customizable Fields

Select which fields to include in your XML dataset. Choose from standard fields or add custom fields as needed.

Instant Download

Download ready-made XML files with preset record counts (10 to 200,000 records) or generate custom datasets.

Preview & Copy

Preview generated data before downloading. Copy sample records to clipboard for quick testing. Customize root and record element names.

What is XML sample data & how it works

Realistic, fake XML data for testing

XML is tagged, hierarchical text where each record is an element with child elements for its fields. It is still the exchange format for many enterprise systems, SOAP services, feeds and configuration-driven tools.

Realistic sample data lets you test imports, UIs, reports and performance without touching production data or personal information. Download a ready-made XML dataset of users, customers, companies, products, orders, employees or books, or generate your own in the browser with the fields and record count you need. Every value is fake, created with Faker.

Ready-made datasets
Pre-built files from 10 up to 200,000 records, ready to download.
Custom generator
Pick the fields and up to 10,000 records; generated locally in your browser.
Synthetic data
Realistic but fake values, safe to share and to use in tests.

How to use this tool

Get a XML dataset in four steps
1
Pick a dataset type
Choose users, customers, companies, products, orders, employees or books.
2
Choose the fields
Select the columns you need, such as names, emails, addresses, prices or dates.
3
Set the size
Pick a record count up to 10,000 and generate, then check the preview.
4
Download
Save the XML file, or grab a larger ready-made dataset from the download section.

Frequently asked questions

Common questions about XML sample datasets
5 Q&A

No. Every name, email, address and number is generated by Faker and does not belong to a real person, so the files are safe to use in tests, demos and bug reports.

The custom generator creates up to 10,000 records in your browser. Ready-made files go up to 200,000 records for load and performance testing.

It is ideal for testing XML parsers, XSLT transforms, SOAP integrations and legacy imports.

Use XPath, for example xmllint --xpath '//user/email/text()' users.xml, or load it with your language’s XML library.

Yes, but it is easier to download the same dataset in the format you need: the same datasets are available as CSV, JSON and Excel files on their own dataset pages.