SAML Response XML Decoder

Decodes a Base64 or deflated SAML XML string and reports an issuer, character count, and short text preview. It does not extract Subject, Assertion, or Signature blocks.

Saml Decoder · Client runtimeSandboxed
Formatted results will render here in real time.

About this saml response xml decoder

Decodes a Base64 or deflated SAML XML string and reports an issuer, character count, and short text preview. It does not extract Subject, Assertion, or Signature blocks Runs entirely in-memory using Web Crypto primitives to keep sensitive tokens, certificates, and cryptographic keys secure from third-party interception.

Encoding & cryptographic principles

Decodes, inspects, and validates authentication tokens and cryptographic credentials conforming to RFC 7519 (JSON Web Token - JWT), RFC 7515 (JSON Web Signature - JWS), and RFC 6238 (TOTP: Time-Based One-Time Password Algorithm). Decodes Base64URL-encoded JWT headers and claims payloads into syntax-highlighted JSON, parsing UNIX timestamps (iat, exp, nbf) into human-readable UTC dates and evaluating token expiration status without exposing private signing keys.

Worked verification example

Scenario: Inspect the issuer and text preview of an unencrypted SAML response XML.

Sample input:

<samlp:Response xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"><saml:Issuer>https://idp.example.com</saml:Issuer></samlp:Response>

Processing: Parses the XML, extracts the first Issuer element and a short normalized text preview; it does not decrypt or validate signatures or assertions.

Illustrative output:

{ "decoded": true, "encoding": "xml", "issuer": "https://idp.example.com", "characters": 23, "preview": "https://idp.example.com" }

Security parameters & input constraints

This parser does not verify SAML signatures, issuer trust, audience, recipient, expiry or replay protection. Malformed Base64, compressed content or XML can fail; the preview strips tags and is not a safe basis for login decisions.

Cryptographic digests, encoded strings, and signatures generated by SAML Response XML Decoder should be verified against target authentication systems before production use.

Client-side Web Crypto boundary

Key derivation, hashing, and encoding in SAML Response XML Decoder execute in local memory using Web Crypto APIs without remote socket transmission.

Cryptographic specifications & RFC standards

Technical specifications and cryptographic RFC standards governing algorithms and key representations:

SAML Response XML Decoder verification · Audit standards

How to use it

  1. Paste SAML XML, or Base64-encoded XML/DEFLATE content.
  2. Decode locally, parse XML and extract the first Issuer plus a text preview.
  3. Read encoding label, issuer, character count and first 200 preview characters in JSON.

Frequently asked questions

Which SAML representations can the decoder read?+

It accepts XML directly or base64 input; for base64 it first attempts DEFLATE decompression and otherwise interprets decoded bytes as text.

What output does this XML example produce?+

Enter `<Response><Issuer>https://idp.example.test</Issuer>ada</Response>`; it returns encoding `xml`, issuer `https://idp.example.test`, `characters` 28, and preview `https://idp.example.test ada`.

Does it validate a SAML signature or assertion trust?+

No. It extracts displayable fields only. Signature, certificate, audience, recipient, time, and trust validation require a dedicated SAML verifier.

What fields are returned after decoding?+

The JSON result records decoded status, source encoding, an optional Issuer value, normalized text character count, and a preview limited to 200 characters.