SAML Decoder

Decode a SAMLResponse or SAMLRequest from Base64 or a redirect URL, inflate it if needed, and read the issuer, subject, conditions and attributes.

Processed on your device. Files are not uploaded

How to decode a SAML message

  1. Paste your SAMLResponse, SAMLRequest or the whole URL

    Paste or type your SAMLResponse, SAMLRequest or the whole URL into the box, or press Try an example.

  2. Read the summary

    Issuer, subject, audience, times and status are pulled out for you.

  3. Check the attributes and XML

    The attributes sent about the user are listed, and the full XML is formatted below.

When to use SAML Decoder

Single sign-on fails with a vague error and you need to see what the identity provider actually sent.

You are setting up a new SAML integration and want to confirm the attributes and name id format the other side expects.

Tips for a better SAML Decoder result

Copy the SAMLResponse value from the browser's network panel on the POST to your assertion consumer URL, not from the page source.

Compare the Audience and Destination with your service provider's entity id and URL: a mismatch there causes most rejections.

SAML Decoder: limits and what to check

Times in SAML are in UTC, so a NotOnOrAfter that looks wrong may be correct for your time zone.

Decoded messages contain user details such as email addresses, so remove them before pasting into tickets or chats.

About SAML Decoder

Single sign-on problems usually come down to what is inside the SAML message: a wrong audience, an expired time window, a missing attribute or a mismatched name id. Copy the SAMLResponse from your browser's network panel or a SAML tracer, or the redirect URL that carries a SAMLRequest, and read it here.

FAQs

Why was my request deflated?

Requests sent in a redirect URL are compressed before Base64 encoding. Responses sent by POST usually are not. Both are handled.

Does it verify the signature?

No. It shows what the message claims. Your service provider must check the signature against the identity provider's certificate.

Why can I not see the attributes?

The assertion is encrypted. Only the service provider's private key can read it.

Related tools