XSD/XML Schema Generator

Generates a XSD (XML Schema) from a XML file. Simply copy-paste OR upload your XML document and let the generator figure out the rest. The generator will try to use a 'smart' approach to figure out the data type (you can always refine it after).

The generator uses one of 3 designs to generate the XSD (consult xfront.com for more details):

  • Russian Doll: Mimics the document structure, i.e. elements within other elements are declared locally
  • Salami slice: Disassembles the document into individual elements and assembles them into components by referencing them
  • Venetian Blind: Disassembles the document into individual components, but creates type definitions instead of element declaration

*The maximum size limit for file upload is 2 megabytes.

Option 1: Copy-paste your XML document here
Option 2: Or upload your XML document
XSD Design: