Formateadores y código
Formateador y Validador de XML
Formateador, embellecedor y validador de XML online gratuito. Imprime en bonito XML desordenado, lo colapsa en una línea compacta o verifica errores de sintaxis. Se ejecuta completamente en tu navegador.
Nota del editor
Understanding · Whitespace, with intent.
Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.
Preguntas frecuentes
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.
La gente también busca
Herramientas relacionadas
More in this room.
- Formateador y Validador de JSONEmbellece, minifica y valida JSON — gratis, sin registrarse.
- Formateador de SQLEmbellece e indenta consultas SQL feas.
- Formateador de HTMLEmbellece y minifica HTML — valores por defecto de Prettier.
- Formateador de CSSEmbellece y minifica hojas de estilo CSS.
- Formateador de JavaScript / TypeScriptJS y TS formateados con Prettier, en el navegador.
- Formateador YAMLNormaliza la indentación y estructura de YAML.