Accueil
Tom Utilities

JSON vers XML

Outils JSON

Convertit un document JSON en XML bien formé avec un élément racine configurable.

Entrée

Résultat

Comment utiliser

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.

Questions fréquentes

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.