Data

XML test files, any size.

Set a size and generate a structurally valid XML immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

XML, built to spec.

Each file is a well-formed XML catalogue document. The size you ask for is reached with an XML comment node, so the result opens in browsers, Python's lxml and Java's built-in XML parser. Most people generate these for testing feed ingestion and SOAP payload limits.

Questions.

How small can an XML file be?

About 114 bytes. Below that the format cannot carry its mandatory structure, let alone padding.

Will the file open normally?

Yes — it opens in browsers, Python's lxml and Java's built-in XML parser, because the padding lives in an XML comment node.

Can I ask for an unusual size?

Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.

Noticed an issue with this test file? Report an issue →