SAML Decoder
Decode a Base64 SAMLResponse and inspect assertions and attributes.
Decode a Base64 SAMLResponse and inspect the assertion, attributes, conditions and signature element. The tool only parses the XML; it does not validate the signature, issuer or audience. Use it for debugging SSO payloads, then verify trust with the identity provider's certificate and your service provider configuration.
Use cases
When to use SAML Decoder
Decode a Base64 SAMLResponse and inspect assertions and attributes.
Guidance
Get reliable results
- 1Confirm the output fulfills the stated goal: Decode a Base64 SAMLResponse and inspect assertions and attributes.. Then review algorithm parameters, encoding, salts, keys and one-way security semantics and the supported limits.
- 2Review algorithm parameters, encoding, salts, keys and one-way security semantics before relying on the result, especially values that affect money, security or published content.
- 3Remove sensitive values from test data and validate the final output in the receiving system.
Common mistakes
What usually goes wrong
- 1Assuming a decoded assertion is trusted is dangerous; signature validation, audience restriction and replay protection must happen in the service provider.
- 2Base64 decoding a URL-encoded SAMLResponse can fail; URL-decode the parameter first when it comes from a query string.
- 3Reading attributes without checking the namespace can select the wrong element; SAML uses specific XML namespaces.
Verification checklist
Check before you ship
- Confirm the issuer, audience and subject in the decoded assertion match the expected identity provider and application.
- Check the NotBefore and NotOnOrAfter conditions against the current time.
- Validate the XML signature with the identity provider's certificate before accepting any attribute.
Frequently asked questions
What is SAML Decoder best used for?
Decode a Base64 SAMLResponse and inspect assertions and attributes. A representative use case is Start with an input that matches the supported fields for SAML Decoder, then confirm the output format, required fields and file integrity before using it downstream.
What should I verify before relying on SAML Decoder output?
SAML Decoder processes the browser inputs described on this page; validate algorithm parameters, encoding, salts, keys and one-way security semantics and any external platform rules separately before production use.
Can I start using SAML Decoder without installing software?
Yes. Decode a Base64 SAMLResponse and inspect assertions and attributes. Another common workflow is Check algorithm parameters, encoding, salts, keys and one-way security semantics on the result rather than relying only on a success message; if something looks wrong, keep the source and narrow the input to reproduce it. Review the target API, runtime, database or document workflow before production use.
Does this tool validate the SAML signature?
No. It only decodes and displays the XML. Signature validation requires the identity provider's certificate and a SAML-aware library.
Why does decoding fail?
The SAMLResponse may be URL-encoded, compressed or truncated. URL-decode the parameter first and confirm you copied the complete value.
Official references
Primary specifications and vendor documentation used to describe this tool's behavior and limits.
Reviewed by the JsonMind editorial team on 2026-11-21. Browser behavior is tested; external services and target environments require separate validation. Editorial standards