Pular para o conteúdo

📄 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

🔗 Ferramentas relacionadas

📖 Como usar

  1. 1
    Set direction and options
    Pick XML to JSON or JSON to XML, then choose attribute prefix, text key, and indent.
  2. 2
    Enter data
    Paste XML or JSON on the left. Use the Sample buttons to load RSS or JSON with attributes.
  3. 3
    Copy or download the result
    The 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.

※ Para reproduzir problemas, informações do navegador (UA / tamanho de tela / idioma / URL) são enviadas automaticamente