Generators
XML Dataset Generator
Generate XML Dataset
Number of Records
Maximum 10,000 records per generationXML root element (e.g., 'records', 'data', 'items')
XML element for each record (e.g., 'record', 'item', 'entry')
Pretty print XML (formatted with indentation)
XML
Tool features
Multiple Dataset Types
Customizable Fields
Instant Download
Preview & Copy
What is XML sample data & how it works
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.
How to use this tool
Related tools
Frequently asked questions
xmllint --xpath '//user/email/text()' users.xml, or load it with your language’s XML library.