No upload, 100% local, no account

SAML 2.0 Decoder and Inspector

Inspect SAMLResponse and SAMLRequest payloads, HTTP-Redirect URLs, assertions, and X.509 certificates locally.

Developer · No upload, 100% local, no account

SAML Decoder: how it works

Inspect and debug SAML 2.0 AuthnRequest and Response payloads directly in your browser without exposing enterprise identity assertions, session tokens, or corporate email attributes to public server logs. The decoder auto-detects raw XML, HTTP-POST Base64 payloads, compressed HTTP-Redirect bindings, and full SSO query strings with RelayState, checks XML well-formedness while rejecting XXE DOCTYPE declarations, parses embedded X.509 certificate details, and encodes XML back into POST or Redirect bindings. Note: signature authenticity against an IdP trust store is NOT verified.

How to use SAML Decoder, step by step

  1. Paste a full SSO URL, HTTP-Redirect parameter, Base64 HTTP-POST SAMLResponse/SAMLRequest, or raw SAML XML, or load a sample.
  2. Keep Auto-detect enabled (or specify XML, POST Base64, or Redirect Deflate explicitly) to decode and inflate the payload.
  3. Review Protocol Summary and Assertions tabs to inspect Issuer, Destination, NameID, Audience, Conditions validity, and user attributes.
  4. Open the XML tab to read indented markup or check the Certificate tab to view embedded X.509 subject/validity details and explicit non-verification status.
  5. Switch to the Encoder tab to convert edited SAML XML into HTTP-POST Base64 or HTTP-Redirect deflated query URLs.

Common use cases

  • Corporate SSO Troubleshooting: Inspect NameID formats, Audience URIs, and clock skew in live enterprise logins without leaking internal attributes.
  • Security Audits: Check Assertion attribute mappings and Conditions timestamps (NotBefore / NotOnOrAfter) offline.
  • IdP Integration Testing: Decode compressed SAMLRequest Redirect URLs or build valid test POST payloads quickly.
  • X.509 Metadata Inspection: Read serial numbers, issuers, and expiry dates inside embedded ds:X509Certificate blocks.

Frequently asked questions

Does this SAML decoder verify XMLDSig cryptographic signatures?

No. This offline inspector parses XML structure, assertions, and embedded X.509 certificate metadata only; it does not verify cryptographic signatures against an IdP trust store or certificate authority.

Which SAML 2.0 bindings and inputs are supported?

It auto-detects HTTP-POST Base64 payloads, raw DEFLATE-compressed HTTP-Redirect parameters, full query URLs containing SAMLRequest/SAMLResponse and RelayState, and plain SAML XML.

Are confidential user assertions sent to a backend server?

Never. Decompression via fflate, XML parsing, XXE blocking, and X.509 certificate decoding execute 100% locally in your browser memory.

How does the tool protect against XXE in untrusted SAML XML?

Before parsing attributes or assertions, the inspector checks for <!DOCTYPE and <!ENTITY declarations and rejects any document containing them.

Can I re-encode modified XML back to POST or Redirect format?

Yes. The Encoder tab converts edited XML into standard Base64 for HTTP-POST forms and raw DEFLATE + URL-encoded SAMLRequest/SAMLResponse query strings.

Sources