An XML validator for real-world documents

xmlvalid exists because most online validators give up on large files, upload documents you would rather keep private, and stop at the first error

Why we built it

Production XML is rarely small. E-invoices, payment files, clinical documents, sitemaps and GIS exports routinely run to hundreds of megabytes, and the tools that are supposed to check them cap input at a few megabytes or time out halfway through.

xmlvalid is built for those files: up to 1 GB, validated against XSD, DTD or RelaxNG (and, for e-invoices, the Schematron business rules of EN 16931, Peppol and XRechnung), with every error reported at its exact line and column, not just the first one.

How it works

The validator is a streaming engine. The document is read in small chunks and checked against the schema as the stream advances, so memory use stays roughly constant (about 20 MB) whatever the size of the file.

The same engine runs in two places:

Both produce identical results, because they are the same code built for two targets.

Around the engine: a catalog of official schemas with all their include files in place, validation of a whole folder or zip archive at once, and explanations of the common error messages.

Free and Pro

Validating in the browser costs us nothing, so it is free on every plan. What runs on our servers is what Pro pays for: more API validations, larger uploads, webhooks, URL monitors that check a published document on a schedule, and unlimited history. The details are on the pricing page, along with the Team and Self-hosted plans we are working on.

Privacy

Your files stay on your machine When you open or paste a document, validation happens inside your browser tab. The document and schema are not sent to us.

When a document has to reach our servers (fetched by URL, sent to the API or checked by a monitor), it is validated and deleted as soon as the check is finished; it is never stored or read for anything else. The details are in the privacy policy.

Stack

Engine
Rust on top of libxml2, the same library behind many XML toolchains, so results match what your backend sees.
In the browser
WebAssembly, running in a Web Worker so the page stays responsive.
Schemas
W3C XML Schema 1.0, DTD, RelaxNG in the XML and compact syntaxes.
Web app
Laravel, Livewire, Tailwind CSS.

Who's behind it

Oleksii Babintsev

xmlvalid is built and run by Oleksii Babintsev, a software engineer and indie founder from Kyiv, Ukraine, with more than 20 years of building web applications. He also runs Laravel Ukraine, a community site for Ukrainian Laravel developers, and maintains a few open-source packages. With xmlvalid you talk directly to the person who builds the engine: support questions and bug reports reach him, not a ticket queue.

Legally, xmlvalid is operated by Oleksii Babintsev, a sole proprietor (FOP) registered in Ukraine. Payments are handled by Paddle, our merchant of record.

LinkedIn GitHub X

If you rely on it

Validation in your pipeline shouldn't depend on where its author lives. What keeps xmlvalid running and keeps you free to leave:

  • Servers in the EU. The application, database and queues run at Hetzner in Germany, and uploads wait in Cloudflare R2 under EU jurisdiction. Every service is listed on the security page.
  • Official rules, results you can check. The schemas and business rules are the ones CEN, KoSIT, OpenPeppol and the tax administrations publish, and our findings are compared every week with the KoSIT validator and Saxon. Nothing in your invoices is shaped to suit xmlvalid, so another validator reads them the same way.
  • A documented API. Described in OpenAPI, with clients for PHP, Python, TypeScript and the command line.
  • Your data at any time. Download my data in Dashboard → Settings gives you your account, history and saved schemas as one ZIP file.
  • Uptime in public on the status page.

Contact

Found a document we validate differently from your toolchain, or a schema we don't handle? Write to support@xmlvalid.com. A minimal failing example helps a lot.