XML URL Decode
Turn a percent-encoded XML document back into readable XML. A malformed escape is reported, not dropped.
What URL-decoding XML does
Each percent escape is replaced by the byte it names and the bytes are decoded as UTF-8, so an accented name in an attribute comes back as the character rather than as mojibake. A plus sign is left alone: it means a space only in form encoding, and this page does not guess which encoder produced the input. A truncated escape is reported instead of being skipped.
How to use it
XML URL Decode: paste the URL-encoded text into the box above, and press Run to get the XML below.
Worked example
Input:
%3Cnote%20to%3D%22Ada%22%3Ea%20%26amp%3B%20b%3C%2Fnote%3E
Output:
<note to="Ada">a & b</note>
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads URL-encoded text and returns XML; reloading the page discards both.
Each percent escape is replaced by the byte it names and the bytes are decoded as UTF-8, so an accented name in an attribute comes back as the character rather than as mojibake. A plus sign is left alone: it means a space only in form encoding, and this page does not guess which encoder produced the input. A truncated escape is reported instead of being skipped.
Turn a percent-encoded XML document back into readable XML. A malformed escape is reported, not dropped.
How to use it
XML URL Decode: paste the URL-encoded text into the box above, and press Run to get the XML below.
Why it runs in your browser
The conversion happens on this page with JavaScript. Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere. The page reads URL-encoded text and returns XML; reloading the page discards both.
What to Expect
Best for
- Converting URL-encoded text to XML when the data is already on screen.
What this tool keeps
- Your input is not posted to a server, so it works offline after the page loads and nothing is retained anywhere.
Sample input
%3Cnote%20to%3D%22Ada%22%3Ea%20%26amp%3B%20b%3C%2Fnote%3E
Sample output
<note to="Ada">a & b</note>
Frequently asked questions
How do I use the xml url decode?
XML URL Decode: paste the URL-encoded text into the box above, and press Run to get the XML below.
Is my input uploaded?
No. The text is parsed on this page with JavaScript and is never posted to a server.
Is there a size limit?
Yes: 5 MB per run. Larger input is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.