XML Encoding Toolkit

Inspect BOM / EOL / indent, then normalize newlines, convert indentation, or rewrite the XML declaration encoding attribute.

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

Browser strings are UTF-16. Rewriting encoding= does not truly re-encode arbitrary charsets.

How to use

  1. Paste XML and analyze BOM / EOL / indent.
  2. Apply the transforms you need.
  3. Copy or download the normalized text.

FAQ

Does this convert ISO-8859-1 to UTF-8?

No. It only edits the declaration text and whitespace conventions.

Is it local?

Yes.

Related tools