← All tools

XML Sorter

Sort XML elements and attributes while protecting text mixed with markup.

xml-sorterLOCAL WORKSPACE

Your document is processed in this browser. Up to 512 KiB.

Sorted output

How to use this tool

Paste well-formed XML and review the output before using it.

When not to use it

Even element-only XML can require a particular child order under its schema.