ホーム
Tom Utilities

JSON → XML

JSON ツール

ルート要素を設定可能な整形式の XML に JSON 文書を変換します。

入力

結果

使い方

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.