Putting XML inside a URL is normally impossible — angle brackets, quotes and ampersands would break the request. URL-encode XML percent-encodes your document so it travels safely in query strings, redirects and API calls.
Choose between query-string mode (encodeURIComponent, compact and standard) and byte mode (every UTF-8 byte as its own %XX sequence). The output is ready to paste into any URL, and the companion decoder reverses it. Encoding happens entirely in your browser.