Data

Sample XML 10MB File

XML document with structured records

Click below for an instant download — no signup, no redirect.

Download 10MB XML10 MB

TestFile-xml-10mb.xml

File details

FormatXML
Extension.xml
MIME typeapplication/xml
Size10 MB
Exact bytes10,485,760
FilenameTestFile-xml-10mb.xml
Format versionXML 1.0 (W3C Recommendation)
Contents~40,000 Faker <record> elements inside <records> root; 8 child elements per record; 2-space indented
EncodingUTF-8; 2-space indented; XML 1.0; no namespaces

What is a 10MB XML file useful for?

A 10 MB XML file with ~40,000 records is at the upper limit of synchronous XML processing in most web application contexts. Use it to verify that your XML upload endpoint enforces a size limit or uses streaming ingestion, to test that your XML schema validation (XSD) is applied efficiently without full DOM materialisation, and to benchmark lxml iterparse throughput for your processing capacity planning.

What's inside this file?

Generated by data.py with Faker. Approximately 40,000 <record> elements, 8 child elements each, 2-space indented. Full DOM parse with lxml would use 500 MB–1 GB of RAM. iterparse with elem.clear() stays under 20 MB. XSD validation of the full document would require full DOM loading — consider validating a sample or validating per-record in the iterparse loop.

Download via curl

curl -L "http://localhost:8000/files/xml/TestFile-xml-10mb.xml" \
  -o TestFile-xml-10mb.xml

Need different parameters?

Generate a custom XML file with exact settings.

⚙ Generate custom XML

Related formats

Other XML sizes

Frequently asked questions