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.
Ctrl/⌘ + Enter to run
Browser strings are UTF-16. Rewriting encoding= does not truly re-encode arbitrary charsets.
How to use
- Paste XML and analyze BOM / EOL / indent.
- Apply the transforms you need.
- 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.