XML → Base64
Кодируйте XML в Base64 прямо в браузере — удобно для вставки в CSS, JSON-конфиг или тестов API.
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.
For file payloads, use Image to Base64 or recover an inline asset with Base64 to Image.
Encode an XML document — SOAP envelopes, SAML assertions, RSS feeds, generic config — into Base64 so the angle brackets do not interfere with surrounding markup or escaping rules.
Every byte is preserved, including indentation and namespace declarations. Decoding returns the document unchanged.
No. The bytes are encoded as-is. Validate XML separately with an XML linter if you need a schema check.
Yes — every byte, including XML declarations and processing instructions, passes through unchanged.
If your XML starts with a UTF-8 BOM, the BOM is encoded too. Strip it externally if downstream consumers reject it.
Only browser memory. Encoding a few megabytes of XML is comfortable in any modern browser.