Главная
Tom Utilities

Преобразует JSON-документ в правильно сформированный XML с настраиваемым корневым элементом.

Ввод

Результат

Как использовать

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.

Частые вопросы

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.