Tested tool guide
Tested browser tools
Checked August 16, 2026
What SAML Decoder does, with a checked example
SAML is how single sign-on passes proof of identity between an identity provider and a service provider, and in transit a SAML message is almost always base64. This tool takes that base64 blob, decodes it back to the XML document underneath, indents it so the nesting is readable, and extracts the parts that matter: the issuer, the NameID, the attribute name/value pairs, and the validity conditions. The thing people miss most often: a SAMLRequest or SAMLResponse copied from an HTTP-Redirect URL is usually still percent-encoded and, depending on the sender, may also be DEFLATE-compressed before the base64 step. Pasted verbatim it often shows as an error or binary garbage; percent-decode it, inflate if needed, and it decodes normally. Processing happens entirely in your browser, so the token never leaves your machine.
Worked example
A concrete input and expected output from the current implementation.
Input
PHNhbWw6TmFtZUlEIHhtbG5zOnNhbWw9InVybjpvYXNpczpuYW1lczp0YzpTQU1MOjIuMDphc3NlcnRpb24iPmFsaWNlQGV4YW1wbGUuY29tPC9zYW1sOk5hbWVJRD4=
->
Expected output
<saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">[email protected]</saml:NameID>
The pasted string is the RFC 4648 base64 encoding of that exact XML fragment, so decoding reproduces the original markup character for character. A leaf element with no children stays on one line; the fragment contains no Subject, Conditions, or AttributeStatement for the extraction view, so the output is the XML alone.