Formattatore XML
Formatta l'XML con indentazione uniforme e ritorno a capo degli attributi opzionale.
Input
Risultato
Come usare
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.
Domande frequenti
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.
Strumenti correlati
Validatore XML
Verifica che un documento XML sia ben formato e mostra una chiara descrizione dell'errore.
Minificatore XML
Rimuove gli spazi tra i tag XML per produrre il payload più piccolo.
Da XML a JSON
Converte l'XML in JSON gestendo in modo sensato attributi ed elementi ripetuti.
Formattatore YAML
Analizza e riserializza YAML con indentazione uniforme e convalida.
Validatore YAML
Convalida la sintassi YAML e ottieni un errore preciso quando l'indentazione o la struttura sono errate.
Da YAML a JSON
Converte i documenti YAML in JSON per API e applicazioni JavaScript.