What XML URL Decode does
Decode a percent-encoded XML value and indent it.
XML URL Decode examples
The built-in sample
Input
%3Cusers%3E%3Cuser%20id%3D%221%22%3E%3Cname%3EAda%3C%2Fname%3E%3C%2Fuser%3E%3Cuser%20id%3D%222%22%3E%3Cname%3ELin%3C%2Fname%3E%3C%2Fuser%3E%3C%2Fusers%3EOutput
<users>
<user id="1">
<name>Ada</name>
</user>
<user id="2">
<name>Lin</name>
</user>
</users>This is the input that the Load sample button fills in.
A compact document
Input
%3Ca%3E%3Cb%3E1%3C%2Fb%3E%3C%2Fa%3EOutput
<a>
<b>1</b>
</a>After decoding, the XML is indented two spaces per level.
Each output was produced by running this tool on the input above it.
How it works
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then checked for well-formedness and indented, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Details and limits
- The decoded document is re-indented with the XML Formatter rules, so its whitespace between tags may differ from what was encoded.
- If the decoded text is not well-formed XML, the parser's message is shown instead of output.
- Input that is not valid percent-encoded stops the tool, and the status line shows where the problem is. The URL Decode page lists the usual causes.
Questions
Is my data uploaded when I use XML URL Decode?
No. The tool runs in your browser, so what you paste or open is processed on your own device and is not sent to a server.
What does XML URL Decode do?
Decode a percent-encoded XML value and indent it.
How does XML URL Decode work?
The input is percent-decoded as UTF-8, as in URL Decode. The decoded text is then checked for well-formedness and indented, so a damaged or truncated value is reported immediately instead of being shown as if it were complete.
Are there any limits I should know about?
The decoded document is re-indented with the XML Formatter rules, so its whitespace between tags may differ from what was encoded. If the decoded text is not well-formed XML, the parser's message is shown instead of output.
Is there a size limit?
There is no fixed size limit. Everything happens on your device, so very large inputs depend on its memory and can take longer on a phone than on a computer.
Does it work on phones, and is it free?
Yes. It works in any current browser on Android phones, iPhones, tablets and computers. It is free and needs no account or sign-up.