- Unescaped
&in text/attributes (must be&). - Hidden control characters (often from copy/paste).
- Duplicate
<type name="...">entries across merges. - Broken nesting: missing closing tags after manual edits.
How to use
Use it as a fast “paste → validate → fix → copy” workflow.
- Paste your DayZ XML into the input box.
- Click Validate to check for parser errors and quick DayZ-related warnings.
- Click Format (pretty print) or Minify if needed.
- Copy the output and replace your server file.
FAQ
Does this tool upload my DayZ XML anywhere?
No. It runs entirely in your browser and makes no network requests.
Why does DayZ XML break on an ampersand (&)?
In XML, & must be encoded as & unless it starts a valid entity like < or {.
What DayZ files does it work with?
Any well-formed XML works; it also recognizes common roots like <types>, <events>, and <cfgspawnabletypes>.
Will formatting change my values or logic?
No values are edited; formatting only changes whitespace/indentation (and minify removes extra whitespace).
It says “BOM” — what should I do?
Remove the byte-order mark at the start of the file; some server parsers are picky and it can cause confusing failures.
What does “Duplicate <type> name” mean?
You have multiple <type name="..."> entries with the same name; merges often create this and DayZ configs can behave unexpectedly.
Can it tell me the exact line number of the error?
Browsers vary: some include line/column in the parser message, but it’s not guaranteed. The tool also adds practical hints like unescaped &.