XML Repair

Heuristic repair for near-XML text from logs: bare &, unquoted attributes, missing closers.

All processing on this page runs locally in your browser unless noted otherwise.

Repair is best-effort and may change semantics. Always run Validate afterwards.

Broken input

Repaired output

How to use

  1. Paste truncated or broken XML from logs.
  2. Run Repair and review the fix list.
  3. Validate and format the result before using it.

FAQ

Will repair always succeed?

No. Severely corrupted documents may still fail to parse.

Is repair local?

Yes.

Related tools