Formatador XML
Formata XML com recuo consistente e quebra de atributos opcional.
Entrada
Resultado
Como usar
How to format XML
Paste XML and press Format. Nested elements are indented and parse errors are reported with a message.
- Paste XML into the input editor.
- Press Format.
- Copy the beautified document.
Perguntas frequentes
Does it validate XML too?
Yes. If the document is not well formed the formatting stops and the error is displayed.
Which indentation is used?
Two spaces by default, and you can switch to four spaces or tabs from the toolbar.
Ferramentas relacionadas
Validador XML
Verifica se um documento XML está bem formado e mostra uma descrição clara do erro.
Minificador XML
Remove espaços entre as tags XML para produzir a menor carga possível.
XML para JSON
Converte XML em JSON tratando atributos e elementos repetidos de forma sensata.
Formatador YAML
Analisa e reserializa YAML com recuo consistente e validação.
Validador YAML
Valida a sintaxe YAML e exibe um erro preciso quando o recuo ou a estrutura estão incorretos.
YAML para JSON
Converte documentos YAML em JSON para APIs e aplicações JavaScript.