Formatadores e Código
Formatador e Validador de XML
Formatador, embelezador e validador de XML online gratuito. Formate XML desorganizado de forma bonita, compacte-o numa linha compacta ou verifique erros de sintaxe. Executa inteiramente no seu navegador.
Nota do editor
Understanding · Whitespace, with intent.
Este capítulo aprofundado está disponível apenas em inglês no momento. A ferramenta de conversão acima funciona no seu idioma; o artigo explicativo longo ainda não foi traduzido.
Perguntas frequentes
Quick answers.
›What XML features does this support?
Attributes, nested elements, mixed content, CDATA blocks, comments, processing instructions and the XML declaration are all preserved. The formatter uses the browser's native DOMParser so anything your browser accepts is accepted here.
›What's the difference between Beautify and Minify?
Beautify adds indentation and line breaks for readability. Minify strips whitespace between tags while keeping text-node content intact — good for reducing payload size before sending XML over the wire.
›Does Validate catch every XML error?
It catches well-formedness errors (unclosed tags, mismatched attributes, stray ampersands). It does not validate against a DTD or XSD — that's a separate schema-validation step.
›Is my XML sent anywhere?
No. Everything runs in your browser — the parser, the formatter, the minifier. Your payload never leaves the page.
As pessoas também pesquisam por
Ferramentas relacionadas
More in this room.
- Formatador e Validador de JSONEmbeleze, minifique e valide JSON — grátis, sem registo.
- Formatador de SQLEmbeleze e indente consultas SQL feias.
- Formatador de HTMLEmbeleze e minifique HTML — Prettier por defeito.
- Formatador de CSSEmbeleze e minifique folhas de estilo CSS.
- Formatador de JavaScript / TypeScriptJS e TS formatados com Prettier, no navegador.
- Formatador YAMLNormalize a indentação e estrutura YAML.