Decode SAML / Email Base64 Payloads Without Uploading
Decode Base64-encoded SAML assertions, JWTs, or email payloads directly in your browser without uploading sensitive data. This utility is pre-configured for 'decode' mode, ensuring your tokens, logs, and proprietary configurations remain strictly on your local machine, never touching external servers. Instantly reveal the plain text content.
Workflow Checklist
- Verify Base64 string is complete and free of leading/trailing whitespace.
- Confirm decoded SAML XML structure is well-formed and contains expected attributes (e.g., <saml:AttributeStatement>).
- Check JWT header (first segment) and payload (second segment) for correct algorithm ('alg') and issuer ('iss') claims.
- Ensure decoded email content is readable and any quoted-printable or HTML entities are correctly rendered.
Parent Tool & Hub
Step-by-Step Guide: Decode SAML / Email Base64 Payloads Without Uploading
Follow these exact steps to complete this workflow locally in your browser without uploading files.
- 1
Copy Encoded Base64 String
Locate the Base64 string from your SAML response, JWT, or email header. Copy the entire encoded payload to your clipboard, ensuring no truncation or extra whitespace.
Tip: For SAML, look within the <saml:Assertion> or <samlp:Response> tags; for JWTs, the middle segment. - 2
Paste into Input Field
On this ShowPro page, paste your copied Base64 string into the large 'Input Base64 String' text area. The decoding process begins instantly as you paste.
Tip: Avoid pasting partial strings; the decoder requires the full, valid Base64 sequence for correct output. - 3
Review Decoded Output
The 'Decoded Output' area will automatically populate with the plain text representation of your Base64 string. Verify its content for readability and expected data structure.
Tip: If the output appears garbled, confirm the original encoding (e.g., UTF-8) matches the expected format of the decoded content. - 4
Copy Decoded Text
Click the 'Copy to Clipboard' button below the output field to quickly transfer the decoded text for use in your application, log analysis, or documentation.
Tip: Before pasting elsewhere, a quick visual scan of the first few lines can confirm successful decoding. - 5
Inspect for XML/JSON Structure
For SAML or JWTs, the decoded output is often XML or JSON. Use browser developer tools or a local text editor to pretty-print and inspect the structure.
Tip: Consider using a browser extension for XML/JSON formatting if the output is a single, unformatted line.
Technical Specifications & Preset Reference
| Parameter | Recommended Setting | Why It Matters |
|---|---|---|
| Processing Location | Browser-Local | Ensures sensitive SAML/email payloads never leave your device, maintaining strict data privacy and security. |
| Input String Length | Unlimited (browser memory) | Handles very large Base64 strings common in complex SAML assertions or extensive email attachments without truncation. |
| Output Encoding | UTF-8 (default) | Provides broad compatibility for displaying diverse characters found in globalized SAML claims or email content. |
| Mode | Decode | Pre-configured for direct Base64-to-plain text conversion, streamlining the specific workflow for payload inspection. |
| Network Activity | 0 Bytes Uploaded | Confirms no data transmission, critical for compliance with internal security policies and protecting proprietary information. |
Common Issues & Troubleshooting Fixes
Decoded output appears as garbage characters (mojibake).
This often indicates a mismatch in character encoding. The original Base64 might represent data encoded in ISO-8859-1 or UTF-16, but the browser defaults to UTF-8. Try copying the output into a text editor like VS Code and changing its encoding interpretation.
SAML assertion fails validation in an identity provider (IdP) or service provider (SP) portal after manual modification.
Manual modification of decoded SAML is highly error-prone. SAML assertions are often signed; any alteration invalidates the signature. Use this tool for inspection only, not for modifying and re-encoding for production systems.
JWT validation fails due to 'invalid signature' after decoding/re-encoding.
Similar to SAML, JWTs rely on cryptographic signatures. Decoding breaks this signature. Re-encoding a modified payload without properly re-signing it with the correct secret will always result in validation failure. This tool is for inspection, not re-signing.
Email attachment Base64 decodes to binary data, not readable text.
Many email attachments (images, PDFs) are binary files Base64-encoded. Decoding them directly yields raw binary data. This tool is intended for text-based payloads. You'd need a separate tool to save raw binary output as a specific file type (e.g., .pdf, .jpg) and open it with the appropriate application.
Why Run This Workflow Locally in ShowPro?
Unlike remote Base64 decoders that require uploading your sensitive SAML assertions or email payloads to a third-party server, ShowPro processes everything locally in your browser. This '0 bytes uploaded' approach is critical for debugging proprietary systems, inspecting security tokens, or handling confidential email content, ensuring your data never leaves your control or risks exposure during transit.
Frequently Asked Questions
Can I decode Base64 strings that are not UTF-8 encoded?
Yes, the tool decodes the raw Base64. However, the browser's display defaults to UTF-8. If your source data used another encoding (like ISO-8859-1), the output might appear garbled. You can copy the output and use a text editor to re-interpret it with the correct encoding.
Is there a limit to the length of the Base64 string I can decode?
The practical limit is determined by your browser's memory and performance, not by the tool itself. For typical SAML or email payloads, you will not encounter issues. Extremely large strings (many megabytes) might cause temporary browser slowdowns.
Does this tool validate the integrity or signature of SAML or JWTs?
No, this tool performs a raw Base64 decoding operation only. It does not validate XML signatures for SAML, nor does it check JWT signatures. Its purpose is to reveal the plain text content for inspection, not to authenticate or authorize tokens.
Can I re-encode the decoded text back to Base64 using this tool?
This specific page is pre-configured for 'decode' mode only. However, ShowPro offers a full Base64 Encoder/Decoder tool at /tools/base64-encoder-decoder where you can switch between encode and decode modes as needed.
What if the Base64 string contains non-standard characters or padding issues?
The tool adheres to standard Base64 decoding rules (RFC 4648). If your string has malformed characters or incorrect padding, it might fail to decode or produce incorrect output. Ensure the source string is valid Base64, often ending with one or two '=' padding characters.