SAML Metadata Viewer
Read IdP/SP metadata XML: entity IDs, endpoints, bindings, name-ID formats and certificates.
SAML metadata XML
Structured view
Paste SAML metadata to inspect it
Works with IdP metadata, SP metadata and EntitiesDescriptor bundles.
Find the IdP SSO URL
<md:IDPSSODescriptor …>
<md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect"
Location="https://idp.example.com/sso"/>
</md:IDPSSODescriptor>
→ Identity provider (IdP): Single sign-on (SSO) · HTTP-Redirect · https://idp.example.com/ssoBinding URNs are decoded to friendly names and endpoint URLs are shown in a table you can copy with one click.
Copy a signing certificate as PEM
<ds:X509Certificate>MIIC…</ds:X509Certificate> → -----BEGIN CERTIFICATE----- (base64 re-wrapped at 64 characters) -----END CERTIFICATE-----
Certificates are grouped by KeyDescriptor use and re-wrapped into standard PEM, ready for a vendor config field.
Inspect a multi-entity bundle
<md:EntitiesDescriptor> <md:EntityDescriptor entityID="https://idp.example.com">…</md:EntityDescriptor> <md:EntityDescriptor entityID="https://app.example.com">…</md:EntityDescriptor> </md:EntitiesDescriptor> → 2 entities in file · switch with the entity tabs
Nested entity collections become tabs; each entity keeps its own endpoints, certificates and contacts.
Examples
IdP SSO endpoint
<md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://idp.example.com/sso"/>Identity provider (IdP) → Single sign-on (SSO) · HTTP-Redirect · https://idp.example.com/ssoThe binding URN becomes a readable label and the location is copied with one click.
SP assertion consumer service
<AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://app.example.com/acs" index="0" isDefault="true"/>Assertion consumer service (ACS) · HTTP-POST · https://app.example.com/acs · index 0 (default)ACS index and isDefault are shown explicitly; a missing index produces a warning row.
Certificate as PEM
<ds:X509Certificate>U0FNTCBt…</ds:X509Certificate>-----BEGIN CERTIFICATE-----
U0FNTCBt… (64-character lines)
-----END CERTIFICATE-----Whitespace is stripped and the base64 is re-wrapped at 64 characters, the format most config fields expect.
About this tool
The SAML Metadata Viewer turns the XML file exchanged during SAML federation setup into a structured summary. Paste or drop IdP or SP metadata and the tool lists entity IDs, supported protocols, SSO/SLO/ACS endpoints with decoded binding URNs, NameID formats, signing and encryption certificates, and organization or contact details.
It handles both prefixed and default namespace documents, nested EntitiesDescriptor bundles (with one tab per entity), and reports XML syntax errors with a line and column so you can fix a truncated or hand-edited file. Certificates are re-wrapped as standard PEM with copy and download buttons, and SHA-1/SHA-256 fingerprints are computed locally with WebCrypto for matching against vendor portals.
Parsing happens entirely in your browser tab — metadata is never uploaded or stored. This is a reader, not a SAML conformance validator and not a trust engine: an embedded ds:Signature is reported as present but is never verified.
What this tool does not do
- Only XML well-formedness is checked; there is no SAML conformance or schema validation.
- Embedded signatures are reported but never cryptographically verified; certificate trust and expiry are not evaluated.
- X.509 certificates are displayed and digested, not parsed into subject, issuer or extension fields.
- The UI renders at most 20 entities per file; the Markdown export and diff still use all entities.
- Documents larger than 2 million characters are rejected before parsing to keep the browser tab responsive.
- Fingerprints require WebCrypto; browsers without it show an unavailable notice.
How to use this tool
Paste or drop metadata
Paste an IdP or SP metadata XML file into the input pane, drop the file there, or load one of the examples.
Select an entity
For an EntitiesDescriptor bundle, switch between the entity tabs or filter by entityID.
Read the endpoints and copy values
Open the Endpoints tables to see bindings and locations, then copy an entityID or endpoint URL for your vendor config field.
Copy or download a certificate
In the Certificates section, copy the PEM (or download the .pem file) and compare its SHA-256 fingerprint with the vendor portal.
Export or compare
Use Export .md for a ticket-ready summary, or the Compare tab to diff a second metadata file against the first.
Use cases
Wire up an IdP connection
Pull the entityID, HTTP-Redirect SSO URL and signing certificate from a vendor metadata file into your SP configuration.
Verify generated SP metadata
Check that ACS indexes, bindings and NameID formats in a file you generated match what the customer expects.
Support a federation ticket
Export a Markdown summary of a customer's metadata and paste it into the ticket without exposing the raw XML wall.
Migrate between providers
Use the Compare tab to see which entity IDs and endpoint URLs changed between the old and new metadata.
What the viewer reads
| Element / attribute | Displayed as |
|---|---|
| md:EntityDescriptor @entityID | Entity identity, with copy button and an #entity-n Markdown anchor |
| md:IDPSSODescriptor / md:SPSSODescriptor | Role tables: SSO, SLO, ACS, artifact resolution and attribute services |
| Binding URI | Decoded label such as HTTP-Redirect or HTTP-POST; unknown URIs shown verbatim |
| md:NameIDFormat | Friendly name (Persistent, Transient, Email address, …) with copyable URI |
| md:KeyDescriptor / ds:X509Certificate | Signing or encryption certificate cards with PEM and WebCrypto fingerprints |
| md:Organization / md:ContactPerson | Localized organization names and technical/support contacts |
| @validUntil, @cacheDuration, ds:Signature | Dates, freshness badge and a signature-presence indicator (not validated) |
Namespace-agnostic localName matching means md: prefixes, default namespaces and legacy namespace URIs all work.
Common mistakes
Mistake:Treating the viewer as a signature validator.
Fix:It only reports whether ds:Signature is present. Validate signatures and certificate chains with your federation software.
Mistake:Confusing SAML metadata with a SAML assertion.
Fix:Metadata describes an entity's endpoints and keys; the response/assertion is a separate artifact decoded by a SAML response decoder.
Mistake:Pasting only the inner <IDPSSODescriptor> element.
Fix:Paste the whole EntityDescriptor or EntitiesDescriptor document — the root element must be one of those two.
Mistake:Expecting the first 20 entities to be the whole bundle.
Fix:The UI renders up to 20 entities for responsiveness; the Markdown export and the Compare tab still include every entity.
Mistake:Comparing a certificate fingerprint to the PEM body.
Fix:Use the SHA-256 or SHA-1 fingerprint shown under the certificate card, not the base64 lines.
Frequently asked questions
What is an entityID?
An entityID is the globally unique identifier of an identity provider or service provider in SAML, usually a URL such as https://idp.example.com/metadata. It is not necessarily a live web address — both sides must configure exactly the same string. The viewer shows it at the top of each entity with a copy button.
Where is the SSO URL in SAML metadata?
Look inside the IDPSSODescriptor for SingleSignOnService elements; their Location attribute is the SSO URL. The viewer lists each one with its binding, highlighting HTTP-Redirect first. For service provider metadata, the equivalent field is the AssertionConsumerService Location used as your ACS URL.
What are HTTP-Redirect vs HTTP-POST bindings?
Bindings describe how a SAML message travels. HTTP-Redirect sends a signed, deflated AuthnRequest through URL query parameters; HTTP-POST sends it in a form body. The viewer decodes these URNs into readable labels and shows unknown binding URIs verbatim rather than guessing.
How do I copy the certificate from metadata?
Open the Certificates section of the entity, then click Copy PEM on the signing or encryption certificate card. The base64 is re-wrapped at 64 characters with BEGIN/END CERTIFICATE headers, ready to paste into a vendor field. SHA-1 and SHA-256 fingerprints are shown underneath for matching against a portal.
Can I view multiple entities in one file?
Yes. An EntitiesDescriptor bundle with nested entity collections becomes a set of entity tabs; the header shows how many entities were found. The UI renders the first 20 for responsiveness, while the Markdown export and Compare tab still include all of them.
Does this tool validate the metadata signature?
No. It reports whether a ds:Signature element is present, but it never verifies signatures, certificate chains or expiry. Use your federation software for trust decisions — this is a reader for configuration work.
References & standards
Related tools
AES Encryption
Encrypt and decrypt text with AES-GCM and a passphrase, fully in your browser. Uses PBKDF2 key derivation and the Web Crypto API — your data and keys never leave your device.
Android Network Security Config Builder
Generate network_security_config.xml with cleartext rules, trust anchors, certificate pinning and debug-only CAs — plus the manifest snippet and file placement checklist.
Ansible Vault Encrypt/Decrypt
Encrypt secrets into $ANSIBLE_VAULT;1.1;AES256 format or decrypt vault content with its password — locally in your browser, drop-in compatible with ansible-vault.
Argon2 Hash Generator & Verifier
Generate Argon2id/2i/2d hashes with proper m/t/p parameters and verify PHC strings — reference algorithm in your browser, nothing uploaded.
AWS Signature V4 Builder
Build AWS Signature V4 headers and presigned URLs from a canonical request — signed curl, key chain and debug diff, computed locally in your browser.
Basic Auth Generator
Generate an HTTP Basic Authentication header from a username and password. Produces the Authorization header and ready-to-use curl and fetch snippets. Runs fully client-side.