Início
Tom Utilities

Minificador XML

Ferramentas XML e YAML

Remove espaços entre as tags XML para produzir a menor carga possível.

Entrada

Resultado

Como usar

How to minify XML

Press Minify to strip indentation. Whitespace inside text nodes is preserved.

  1. Paste XML into the input editor.
  2. Press Minify.
  3. Copy the compact output.

Perguntas frequentes

Will it break my text content?

No. Only whitespace between tags is removed, text inside elements is untouched.

Does it keep comments?

Yes, comments and processing instructions are preserved.