/
入力とオプション
ブラウザの DOMParser で XML を解析し、構造化 JSON を出力します: 属性は @キーになり、繰り返される兄弟要素は配列になります。
結果
ツールを実行すると結果がここに表示されます。
XML → JSON 完全ガイドと仕様
100% ブラウザ内サンドボックスの安全性
すべての計算と変換は V8 エンジンまたは WebAssembly によりブラウザ内でローカルに実行されます。ファイルやテキストがデバイスの外に出ることはありません。
概要
Attributes become at-prefixed keys, repeated siblings become arrays, and text nodes stay as strings — parsed by the browser own XML parser with errors reported verbatim.
使い方
1
Paste the XMLWell-formed documents only.
2
ConvertThe tree becomes nested JSON.
3
Copy the resultFormatted with two-space indentation.
形式と仕様
入力形式:
Plain text or file input
出力形式:
Converted or analysed output
FAQ
How are attributes shown?
As keys prefixed with an at-sign on the element object.
What about repeated elements?
They collapse into arrays automatically.
Are namespaces preserved?
Prefixes appear verbatim in key names; no URI resolution.
制限事項
- Comments and processing instructions are dropped.