UTF-8-safe Base64, processed entirely in your browser — nothing is uploaded.
XML carries a lot of markup characters — angle brackets, quotes, ampersands — that are awkward to pass through headers, form fields and JSON. Base64 turns the whole document into one safe, text-only string. This tool validates that your XML is well-formed, then encodes it UTF-8-safely in your browser, preserving the declaration and namespaces exactly.
SAMLResponse is Base64-encoded XML.Base64 is reversible and offers no integrity or confidentiality. For secure XML use XML-DSig / XML-Enc, then Base64 the result. Reverse this with Base64 to XML.