XML to Javascript POJO Generator

Generate a starter model from JSON or XML locally.

XML to JavaScript classes

Each element with attributes or children becomes an ES class whose constructor reads the matching fields from a parsed object, with JSDoc types inferred from the sample text (numbers, booleans or strings). <user id="7"><name>Ada</name></user> gives class User with /** @type {number} */ this.id and /** @type {string} */ this.name.