Canonical: https://toolipedia.app/saml-message-decoder

# SAML Message Decoder

Paste a SAMLRequest or SAMLResponse, or a whole redirect URL, and get the decoded and pretty-printed XML with the key fields pulled out into a table.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > SAML Message Decoder

## About SAML Message Decoder

SAML messages travel through the browser in two common ways. With the HTTP-Redirect binding the XML is deflated, Base64 encoded and URL encoded into a SAMLRequest or SAMLResponse parameter; with HTTP-POST it is only Base64 encoded. This decoder accepts the raw value, a whole URL or the XML itself, undoes each layer, pretty-prints the XML and pulls out issuer, destination, ID, timestamps, audience, NameID, status, attributes and signature algorithms. Signatures are shown but not verified, and everything stays in your browser.

## How to use SAML Message Decoder
1. Paste the SAMLRequest or SAMLResponse value, or the full redirect URL, into the box.
2. Read the field table for issuer, destination, NameID, conditions and attributes.
3. Use the pretty-printed XML below it to inspect the full message and copy it if needed.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- saml message decoder
- decode samlrequest
- decode samlresponse
- saml xml viewer
- saml redirect binding decoder
- base64 deflate saml

## Frequently asked questions

### How does the page know which encoding was used?

It decodes the Base64 first. If the result starts with an angle bracket it is plain XML from the POST binding, otherwise it tries raw deflate and then zlib.

### Does it verify the signature?

No. Verifying needs the other party's certificate, so the page only lists the algorithms and tells you a signature is present.

### Is it safe to paste a real response?

Decoding stays inside your browser, but responses can contain names and e-mail addresses, so use test data or remove personal details when you can.

### Is SAML Message Decoder free?

Yes. SAML Message Decoder on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with SAML Message Decoder:
- [Base64 encoder / decoder](https://toolipedia.app/base64)
- [XML formatter & validator](https://toolipedia.app/xml-formatter)
- [Query string parser](https://toolipedia.app/query-string-parser)
- [Slack Block Kit Message Builder](https://toolipedia.app/slack-block-kit-message-builder)
- [CSR (certificate signing request) decoder](https://toolipedia.app/csr-decoder)
