XML test data generator

Need XML for testing a parser, an import or a prototype? This tool makes a document with British names, e-mail addresses, addresses, amounts and lorem ipsum. Choose the fields and the number of items and the XML appears straight away.

Fields

How it works

  1. Choose what you need

    The number of paragraphs, elements or records, and which parts or fields go in.

  2. Ready at once

    The text or code appears immediately. Not happy with it? Click New variant for different content.

  3. Copy or download

    Copy with one click or save it as a file.

Options

  • Fields: name, email, phone, street, postcode, city, birthdate, amount, active and text, each on or off.
  • Root element and item element: the names of the outer element and of every record, people and person by default. Names that aren't valid XML names fall back to a safe default.
  • id as an attribute: writes <person id="1"> instead of an <id> child element.

Special characters such as & and < are escaped, so the output is always valid XML. It starts with the <?xml version="1.0" encoding="UTF-8"?> declaration.

Not real data

Names, addresses and phone numbers are made up and don't belong to real people; e-mail addresses use example domains. To check or reformat the result, use the XML formatter. Need JSON instead? Use the JSON test data generator.

Frequently asked questions

Is the XML test data generator free?

Yes. The XML test data generator is completely free, with no account, sign-up or usage limit.

Is the test data real?

No. Names, addresses, e-mail addresses and phone numbers are made up at random and don't belong to real people. The e-mail addresses use example domains, so real mail can never be sent by accident.

Why lorem ipsum?

Lorem ipsum is filler text in fake Latin. Because nobody reads it, you look at the shape of a design and not at the content.