SAML Decoder

SAML Decoder

Decode and inspect SAML responses and assertions

Client-sideSAML 2.0Instant

What is SAML?

SAML (Security Assertion Markup Language) is an XML-based standard for exchanging authentication and authorization data between an Identity Provider (IdP) and a Service Provider (SP). It is commonly used for Single Sign-On (SSO) in enterprise environments.

How to Use this Tool
  1. Paste SAML Response: Copy the Base64-encoded SAML response from your browser's POST data or logs and paste it into the input area.
  2. Click Decode: Press "Decode SAML" to decode the Base64 data and parse the XML.
  3. View Details: See the extracted issuer, NameID, conditions, session info, authentication context, and all user attributes.
  4. View Raw XML: Scroll down to see the pretty-printed XML source of the SAML response.
  5. Copy XML: Click "Copy XML" to copy the formatted XML to your clipboard.
What Information is Extracted?
  • Issuer: The Identity Provider that created the assertion.
  • NameID: The unique user identifier (often an email or username).
  • Conditions: Validity time range and audience restrictions.
  • Session Index: The session identifier from the IdP.
  • AuthnContext: The authentication method used (e.g., password, MFA).
  • Attributes: All user attributes sent in the assertion (e.g., email, roles, groups).
Important Note:

All decoding is done entirely in your browser using JavaScript. Your SAML data never leaves your device. This tool does not validate SAML signatures — it is intended for inspection and debugging purposes.


Explore More