SAML Response Decoder
Decode a base64 SAML message to readable XML, inflating if needed.
This tool needs JavaScript enabled to run in your browser.
What this tool does
Decode a SAML message into readable XML. A SAML Response or assertion is base64-encoded XML; the HTTP-Redirect binding also DEFLATE-compresses it, and this tool inflates that automatically. It pretty-prints the XML and pulls out a few key fields: the issuer, the subject NameID, the status, and the validity window. Everything happens in your browser.
Why testers reach for it
Single sign-on fails in ways that are invisible until you read the actual assertion: a wrong issuer, an expired condition window, a status that is not Success. A SAML message also carries identity data, so pasting one into a web decoder exposes it. Decoding locally lets you debug an SSO flow without sending the assertion anywhere.
Good to know
- Paste the base64 value of a
SAMLResponseorSAMLRequest. URL-encoded values are handled too. - Redirect-binding messages are DEFLATE-compressed; the tool inflates them for you.
- This reads the message. It does not verify the signature, which needs the issuer's certificate.
Common use cases
- Checking the issuer and audience in an SSO assertion.
- Reading the status when a login is rejected.
- Confirming the NotBefore and NotOnOrAfter window.
Frequently asked questions
- Is my assertion uploaded?
- No. A SAML message carries identity data, so it is decoded entirely in your browser and never sent anywhere.
- Does it verify the signature?
- No. It reads the message. Verifying the signature needs the issuer's certificate and is a separate step.
Learning resources
Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.