Free XML URL Decoder Online
Decode percent-encoded XML strings back to readable XML in your browser
URL Encoded Input
XML Output
Examples
Paste URL-encoded XML into the input panel and the tool decodes it back to readable XML instantly.
URL Decode XML
URL Encoded Input:
Decoded XML Output:
Click Sample to load a URL-encoded XML example and see the decoded result.
What is XML URL Decoding?
Ever pulled XML out of a query string and found nothing but %3C, %3E, and %20 everywhere? That is RFC 3986 percent-encoding doing its job. This tool reverses the process so you can read, debug, or re-parse the original XML. Under the hood it calls JavaScript's decodeURIComponent, and everything runs locally in your browser per the W3C XML specification. No data leaves your machine.
This is the reverse of URL encoding. It is commonly used when receiving XML data that was encoded for transmission over HTTP — such as in query strings, form data, or API payloads.
How to Use
Paste URL-Encoded XML
Paste your percent-encoded XML string (e.g. %3Croot%3E) into the input editor.
Get Decoded Output
The decoded XML appears instantly in the output panel, ready to read or copy.
Encode or Copy
Toggle to encode mode to go the other direction. See also XML URL Encode or XML Escape for entity-based escaping.
When is URL Decoding Useful?
URL decoding of XML is needed when working with HTTP APIs, webhooks, or form submissions where XML was encoded as a URL parameter. Without decoding, the XML will appear as a long string of percent signs and hex codes.
Frequently Asked Questions
What is the difference between XML URL decode and XML unescape?
URL decoding reverses percent-encoding (e.g. %3C back to <). XML unescaping converts entity references like < back to <. They solve different problems at different layers of the stack.
Can I also URL encode XML with this tool?
Yes — click the Toggle button to switch to encode mode, or visit XML URL Encode directly.
Does the tool validate the decoded XML?
This tool focuses on decoding only. After decoding, use our XML Validator to confirm the result is well-formed.
Is my XML data sent to a server?
No. Everything runs in your browser via decodeURIComponent. You can verify by checking the Network tab in your browser's DevTools.
What characters does percent-decoding convert?
Every %XX sequence becomes the corresponding character — %3C → <, %3E → >, %20 → space, and so on. Alphanumeric characters and a few safe symbols (-, _, ., ~) are never encoded in the first place.
Related Tools
References: RFC 3986 – URI Syntax | W3C XML Specification