Base64 to XML
Decode Base64 into well-formed, validated, and formatted XML.
Validate and encode XML as Base64 or base64url instantly. Free, private, and 100% in your browser.
SOAP and SAML messages, document exports, and SVG images are often transported as Base64-encoded XML. This encoder checks that your XML is well-formed and then converts it to standard Base64 or URL-safe base64url.
Your XML is checked for well-formedness before encoding, with exact line and column errors.
Encode exactly as typed, minified to save space, or pretty-printed.
Non-ASCII characters are encoded correctly as UTF-8, unlike the browser's btoa().
Encode SVG images to embed them in CSS or HTML as data:image/svg+xml;base64 URIs.
Use the URL-safe alphabet, or wrap lines at 76 characters for email and MIME.
Encoding runs entirely in your browser. Your data is never uploaded.
<order id="1042"><item sku="A-100">Keyboard</item></order>PG9yZGVyIGlkPSIxMDQyIj48aXRlbSBza3U9IkEtMTAwIj5LZXlib2FyZDwvaXRlbT48L29yZGVyPg==Base64 lets you safely embed XML inside other formats: SOAP attachments, JSON fields, SAML messages, email (MIME), and data URIs. It avoids problems with quotes, angle brackets, and line breaks.
Paste the SVG markup, copy the Base64 output, and prefix it with data:image/svg+xml;base64, for use in CSS background-image or an img src attribute.
Minifying removes whitespace between elements, which makes the Base64 output shorter. Choose As typed if the exact original text matters, for example for signed XML.
No. Encoding runs entirely in your browser. Your XML never leaves your device.
Decode Base64 into well-formed, validated, and formatted XML.
Convert XML to JSON with attributes, repeated elements as arrays, and automatic number and boolean detection.
Convert XML documents and configs into clean, readable YAML.
Turn repeated XML records into a CSV table for Excel or Google Sheets, with automatic row detection.