Sample XML Files for Parser Testing

XML · .xml

Free downloads · No account required · File sizes and checksums listed

Download sample XML files for parsing and upload tests. The 10 KB sample contains an orders root with 28 fictional order records and a UTF-8 declaration.

Choose a sample below. Exact file sizes are listed beside each download.

Download Sample XML Files

Verified sample files · Actual sizes · SHA-256 available

Target size File Actual size Download
10 KB example-10kb.xml 10 KB Download
100 KB example-100kb.xml 99 KB Download
500 KB example-500kb.xml 497 KB Download
1 MB example-1mb.xml 1018 KB Download
5 MB example-5mb.xml 4.98 MB Download
10 MB example-10mb.xml 9.97 MB Download

Target size is approximate. Use Actual size for limit tests. Open file details for SHA-256 checksums.

File details and SHA-256 checksums

Full SHA-256 for automated tests. MIME application/xml for all sizes.

  • 10 KB example-10kb.xml 10115 bytes (10 KB)
    2985b90bb4f1008a9647691ef3b7a107731934152a90205dce7a2e4e22983fa5
  • 100 KB example-100kb.xml 101845 bytes (99 KB)
    4fe241632b3388a148d77c2e675c04be36dfaba865be862f891f1a88c58b1155
  • 500 KB example-500kb.xml 509307 bytes (497 KB)
    14de1a3d3af4ea7dc64daaa3b0e56b2834cd12949b94bbf4b52a48b1dfc3ec71
  • 1 MB example-1mb.xml 1042921 bytes (1018 KB)
    24a6593d9190fd71103016d52e957796e8ebd508f0edb2e721f7e27a20337a83
  • 5 MB example-5mb.xml 5223355 bytes (4.98 MB)
    cbdb8ff33614f4310619dae1420b1b5f5db24cc55165ec5a398514bda6118cbd
  • 10 MB example-10mb.xml 10456791 bytes (9.97 MB)
    02701cb3dedc32f8811bd72a12f3922f6114bb73644f7833b1788f26a87c377f

How to download

  1. Choose a file in the table and click Download.
  2. Optional: open File details and SHA-256 checksums to confirm the exact bytes for repeatable tests.

Browse more Sample Developer Files or return to Free Example Files.

About these samples

These are synthetic sample files for testing and learning. They are not real user documents and are not intended to contain personal data. A matching SHA-256 confirms you received the published bytes — it is not a malware scan or a guarantee that every application will accept the file.

File information

Format
XML Document
Extension
.xml
MIME type
application/xml
Category
Developer Files
License
Free for testing and development

Common test uses

  • Parser QA: Feed stable XML into validators.
  • Upload forms: Confirm .xml acceptance and limits.
  • API fixtures: Checksum-backed interchange samples.

What's in these samples

Checked on example-10kb.xml: well-formed UTF-8 XML; root orders with 28 direct order children; fields include customer, city, product, quantity, unitPrice, orderDate, and department. Well-formed XML does not establish SOAP or XSD compliance.

XML excerpt

Abbreviated preview — not a complete file. Opening records from the published 10 KB XML with later orders omitted.

<?xml version="1.0" encoding="UTF-8"?>
<orders source="get-examplefiles.com" currency="USD">
  <order id="1" code="ORD-100001" status="processing">
    <customer email="keira.everhart1@example.com">Keira Everhart</customer>
    <city>Brightmoor</city>
    <product>Tidewater Binoculars</product>
    <quantity>1</quantity>
    <unitPrice>38.94</unitPrice>
    …
  </order>
  <!-- 28 order children in the 10 KB file -->
</orders>

What Is an XML Example File?

An XML example file is a well-formed XML document for parser and upload tests.

These samples use a generic orders document — not SOAP envelopes. No XSD is supplied for this sample. For JSON serialization of similar demo data, see JSON samples.

Notes about these XML samples

MIME type is application/xml (also text/xml). Related: JSON, YAML, CSV.

Frequently Asked Questions

Are XML example files free?

Yes. Published XML samples are free to download.

Is this SOAP?

No. The 10 KB file is a generic orders document with 28 order elements — not a SOAP envelope.

What is in the 10 KB XML?

UTF-8 XML with an orders root and 28 fictional order records (customer, product, quantity, price, and related fields).

Looking for More Sample Developer Files?

Return to the Developer Files category to browse published formats.

Also try: JSON Example Files · YAML Example Files · CSV Example Files · SQL Example Files

Browse Sample Developer Files