Início
Tom Utilities

JSON para XML

Ferramentas JSON

Converte um documento JSON em XML bem formado com um elemento raiz configurável.

Entrada

Resultado

Como usar

Converting JSON to XML

Press Convert. Root level keys map to elements and arrays produce repeated sibling elements.

  1. Paste JSON into the input editor.
  2. Press Convert.
  3. Copy or download the XML output.

Perguntas frequentes

How are arrays represented?

Every array item becomes an element named after the array key.

How are invalid XML tag names handled?

Keys that are not valid XML names are sanitised so the output stays well formed.