SAML Request / Response Decoder.
Decode SAMLRequest and SAMLResponse values (redirect or POST binding) into readable XML and key fields.
Runs in your browserAbout SAML Request / Response Decoder
The SAML Decoder turns the opaque SAMLRequest and SAMLResponse values from single sign-on flows into readable XML and a summary of the fields you usually need when SSO breaks. Paste the whole redirect URL, the query string, the Base64 value from a form post, or the XML itself. The tool extracts the parameter, undoes URL encoding and Base64, and for the HTTP-Redirect binding inflates the raw DEFLATE data, so it handles both bindings without settings. RelayState, SigAlg and Signature parameters are shown too. The summary lists the message type, ID, IssueInstant, Destination, ACS URL, protocol binding, Issuer, status code, NameID and its format, the Conditions window with an expired or not-yet-valid flag, the Audience, the session index and the authentication context; the attributes table lists every attribute with its values. A typical debugging session: the identity provider says the request is invalid, so you check that the Issuer matches the entity ID configured at Okta, Entra ID or Keycloak and that the ACS URL is exactly what was registered, including the trailing slash. In responses, the most common failures are clock skew (NotBefore in the future), an Audience that does not match the SP entity ID, and an unexpected NameID format. Signed messages are marked, but signatures are not verified here, and encrypted assertions can only be read with the SP's private key. SAML messages contain personal data and session identifiers, so this tool runs entirely in your browser and is marked sensitive: inputs are not stored in the URL or history.
How to Use
- Copy the SAMLRequest or SAMLResponse from the browser's network tab, the redirect URL or a SAML tracer.
- Paste it as is; URL encoding, Base64 and DEFLATE are detected automatically.
- Check the summary and attributes, and read the pretty-printed XML for details.
Frequently Asked Questions
What is the difference between the redirect and POST bindings?
With HTTP-Redirect the XML is DEFLATE-compressed, Base64-encoded and URL-encoded into the query string. With HTTP-POST it is only Base64-encoded in a form field. The decoder detects which one you pasted.
Does the tool verify the signature?
No. It shows whether the message contains a Signature element but does not validate it, because that needs the IdP certificate and XML canonicalization. Your SP library must verify it.
Why is the assertion not readable?
The response contains an EncryptedAssertion, which only the service provider's private key can decrypt. The summary shows this.
Is it safe to paste production SAML responses here?
Decoding happens only in your browser and nothing is sent or logged. Still, responses contain personal data and may be replayable until they expire, so avoid sharing them in tickets or chats.
Related Tools
Encode and decode Base64 strings.
Encode and decode URL components.
Format, minify, and validate XML.
Compress or decompress text and files with gzip, zlib deflate and raw deflate (Brotli where supported).
Decode, inspect, and verify JSON Web Tokens.
Split a URL into scheme, credentials, host, port, path, query parameters and fragment, and normalize it.