XML to Base64
Encode XML markup into Base64 to embed inside JSON or query strings.
Enter or Upload
Input your text or upload a file
Choose Action
Encode, decode or view information
View Results
See output and extra details
Input (Binary)
101010 111100 110101 ...
Split into 6-bit
101010 111100 110101 ...
Convert to Index
42 60 53 ...
Base64 Characters
q 8 1 ...
100% Private & Secure
All processing happens in your browser. No data is sent to any server.
Encode XML documents into Base64 so they can be embedded inside JSON payloads, query strings, or config files without escaping every angle bracket.
Wrapping SOAP envelopes, SAML assertions, or RSS feed snippets for transport over channels that mangle markup.
For file payloads, use Image to Base64 or recover an inline asset with Base64 to Image.
Does the tool validate XML?
No. The bytes are encoded as-is. Validate XML separately if required.