📄 Conversão XML ⇔ JSON
Converte entre XML e JSON. Suporta prefixo de atributo, chave de nó de texto, CDATA e detecção automática de array. Também pode manipular XML complexo como RSS/SOAP.
100% Free
No signup
Browser-only
5 languages
Dark mode
🔒 Sobre Privacidade
- ・Todo o processamento é concluído dentro do seu navegador
- ・Os dados de entrada não serão enviados para o servidor sob nenhuma circunstância
🔗 Ferramentas relacionadas
📖 Como usar
-
1
Set direction and optionsPick XML to JSON or JSON to XML, then choose attribute prefix, text key, and indent.
-
2
Enter dataPaste XML or JSON on the left. Use the Sample buttons to load RSS or JSON with attributes.
-
3
Copy or download the resultThe converted output appears on the right in real time. Use Copy or Download to save it.
❓ Perguntas frequentes
How are attributes and text nodes represented?
Attributes are stored under a prefixed key (e.g. @id) and text nodes under a chosen key (e.g. #text). The prefix and key name are configurable.
Are CDATA sections supported?
Yes. XML to JSON keeps CDATA content as plain text. JSON to XML automatically wraps values containing reserved characters in CDATA.
Are repeated tags converted into arrays?
When Array Auto is enabled, two or more siblings with the same tag are grouped into an array. When disabled, later occurrences overwrite earlier ones.
🐛 Você encontrou um problema com esta ferramenta?
Completamente gratuito e sem registro. Até as etapas de reprodução são suficientes. Os relatos recebidos chegam diretamente aos operadores e servem como referência para correções.
✅
Obrigado por seu relato!
Recebido pelos administradores. Usaremos como referência para melhorias.