Generate custom XML data for testing and development instantly.
The random XML generator produces a well-formed XML document filled with fake person records. Each <person> element holds an <id>, <name>, <email>, <phone> and <description>, all wrapped in a root <people> element with an XML declaration at the top.
Pick how many records you need, from 1 to 100, and copy the result. Everything is built in your browser with JavaScript, so none of the generated data leaves your machine.
Testing an XML parser or importer, mocking a SOAP or RSS-style payload, filling a sample feed, or producing fixtures for code that consumes XML. The output is plain, predictable XML, so it is easy to tweak by hand if your schema differs.
Open the result in the XML Formatter if you want it re-indented, or run a quick well-formedness check before using it. Each run reshuffles the names, roles and phone numbers, so no two batches look the same, which helps when you need several distinct sample files.
Yes. It includes an XML declaration, a single people root and properly closed person elements, so it parses cleanly.
Not here - every record uses the same fixed elements: id, name, email, phone and description. You control the count and can edit the output for other shapes.
No. Names, emails and phone numbers are randomly assembled from sample lists and do not refer to real people.
No. The XML is generated in your browser with JavaScript and is never sent to our server.