Formatters & Code
XML Formatter & Validator
Gratis online XML formatter, beautifier en validator. Pretty-print rommelige XML, vouw het samen tot een compacte regel, of controleer op syntaxisfouten. Draait volledig in uw browser.
Redactionele opmerking
Understanding · Whitespace, with intent.
Dit uitgebreide hoofdstuk is momenteel alleen in het Engels beschikbaar. De conversietool hierboven werkt in jouw taal; de lange uitleg is nog niet vertaald.
Veelgestelde vragen
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.
Mensen zoeken ook naar
Gerelateerde tools
More in this room.
- JSON Formatter & ValidatorVerfraai, comprimeer en valideer JSON — gratis, geen aanmelding.
- SQL FormatterVerfraai en laat lelijke SQL-query's inspringen.
- HTML FormatterVerfraai en comprimeer HTML — Prettier-defaults.
- CSS FormatterVerfraai en comprimeer CSS stylesheets.
- JavaScript / TypeScript FormatterPrettier-geformatteerde JS & TS, in de browser.
- YAML-FormateerderNormaliseer YAML-inspring en -structuur.