XSD diagram online

Reading an XML Schema as text means keeping a dozen xs:complexType and xs:group references in your head. The diagram does that for you, in the notation people know from XMLSpy and Oxygen:

Real-world schemas

Industry schemas are rarely one file. Drop a .zip with the main schema and its xs:import, xs:include and xs:redefine targets, or several .xsd files at once — the viewer resolves the references and draws the bundle as one model. Schemas on the web load by URL (/url?src=https://…), with GitHub, GitLab and Bitbucket browse links rewritten to the raw file.

Export and share

Try it with a real schema: the FundsXML releases load with one click.

Open the viewer

Questions

Can I export the diagram?

Yes, as PNG or SVG from the diagram toolbar, and the whole schema as standalone HTML documentation.

Does it work with large schemas?

The viewer is tested with schemas up to about 50 MB. The diagram renders lazily: expand the branches you need, collapse the rest.