XML to Base64
Encode XML documents, SOAP messages, and SVG as Base64 or base64url.
Decode Base64 into validated, formatted XML instantly. Free, private, and 100% in your browser.
SAML assertions, SOAP attachments, embedded SVG images, and many enterprise APIs deliver XML as Base64. This decoder turns it back into readable XML, checks that it is well-formed, and formats it for you.
Base64 is decoded and the XML is validated and indented in one step.
Accepts standard Base64 and base64url, line breaks, missing padding, and data URI prefixes.
Invalid Base64 and malformed XML are both reported with their exact line and column.
Read Base64-encoded SAML responses, SOAP attachments, and XML API fields.
Choose As decoded to see the exact decoded text without reformatting.
Decoding runs entirely in your browser. Your data is never uploaded.
PG9yZGVyIGlkPSIxMDQyIj48aXRlbSBza3U9IkEtMTAwIj5LZXlib2FyZDwvaXRlbT48aXRlbSBza3U9IkItMjAwIj5Nb3VzZTwvaXRlbT48L29yZGVyPg==<order id="1042">
<item sku="A-100">Keyboard</item>
<item sku="B-200">Mouse</item>
</order>
Copy the SAMLResponse value (URL-decode it first if it contains %2B or similar sequences) and paste it into the input. If the response was sent with the HTTP-Redirect binding, it is also compressed and must be inflated first.
The tool shows the line and column of the problem in the decoded XML. Choose As decoded to see the raw text instead.
Yes. Paste the Base64 part of a data:image/svg+xml;base64, URI (or the whole URI) to get the SVG markup back.
No. Decoding runs entirely in your browser. Your data never leaves your device.
Encode XML documents, SOAP messages, and SVG as Base64 or base64url.
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.