XML URL Decode

Decode URL-encoded XML strings. Handle both percent-encoding and XML entities in one step.

Output will appear here

Decode XML from URLs

When XML is passed through URLs, it gets double-encoded. This tool decodes both URL percent-encoding and XML entities in one step, or encodes them for safe URL transmission.

XML + URL

How this XML URL Decode works

This specialized decoder handles the double encoding often applied when XML content is transmitted via URLs. The processing pipeline first applies URL decoding, then performs XML entity unescaping. This two-phase decoding reverses the typical encoding order used when embedding XML in query strings or HTTP headers.

The encoder performs the reverse operation, first escaping XML special characters to entities, then applying URL percent-encoding to the result. This produces content safe for URL transmission while preserving XML structure.

All processing occurs locally in your browser using JavaScript's native decoding functions. This makes the tool suitable for debugging encoded API responses or analyzing webhook payloads.

How to Use

1

Choose Mode

Select decode to convert URL+XML encoded text, or encode for the reverse.

2

Enter Text

Paste your encoded string or plain XML.

3

Get Result

Copy the decoded or encoded result instantly.

Example Usage

Decoding URL-encoded XML:

Input
%3Cp%3EHello%20%26amp%3B%20World%3C%2Fp%3E
Output
<p>Hello & World</p>

Frequently Asked Questions

What is XML URL encoding?
It's a combination of URL encoding (percent-encoding) and XML entity encoding, commonly used when passing XML in URLs.
Why decode both URL and XML?
XML in URLs often needs double encoding — first XML entities, then URL encoding. This tool handles both in one step.
Is my data safe?
Yes, all processing happens in your browser. No data is sent to any server.

Related Tools

The XML URL Decode is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.