XML-Formatierer
Formatiert XML mit einheitlicher Einrückung und optionalem Attributumbruch.
Eingabe
Ergebnis
Verwendung
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.
Häufige Fragen
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.
Ähnliche Tools
XML-Validator
Prüft, ob ein XML-Dokument wohlgeformt ist, und zeigt eine klare Fehlerbeschreibung.
XML-Minifizierer
Entfernt Leerzeichen zwischen XML-Tags für die kleinste Nutzlast.
XML zu JSON
Wandelt XML in JSON um und behandelt Attribute und wiederholte Elemente sinnvoll.
YAML-Formatierer
Analysiert und serialisiert YAML mit einheitlicher Einrückung und Validierung neu.
YAML-Validator
Validiert die YAML-Syntax und liefert einen präzisen Fehler bei falscher Einrückung oder Struktur.
YAML zu JSON
Wandelt YAML-Dokumente in JSON für APIs und JavaScript-Anwendungen um.