/
Entrada y opciones
Analiza XML con el DOMParser del navegador y emite JSON estructurado: los atributos se vuelven claves @, los hermanos repetidos se vuelven arrays.
Resultado
Los resultados aparecerán aquí al ejecutar la herramienta.
XML a JSON Guía completa y especificaciones
Seguridad 100% en el navegador
Todo el cálculo y la conversión se ejecutan en local en el navegador mediante el motor V8 o WebAssembly. Los archivos y el texto nunca salen de tu dispositivo.
Acerca de
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.
Cómo usar
1
Paste the XMLWell-formed documents only.
2
ConvertThe tree becomes nested JSON.
3
Copy the resultFormatted with two-space indentation.
Formatos y especificaciones
Formatos de entrada:
Plain text or file input
Formatos de salida:
Converted or analysed output
Preguntas frecuentes
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.
Limitaciones
- Comments and processing instructions are dropped.