base64_decode
Decode Base64 or Base64url strings to plaintext UTF-8. Inspect encoded payloads, credentials, or embedded data. Accepts standard (+/) and URL-safe (-_) alphabets with optional padding. Returns decoded string or error on invalid input.
Instructions
Decode a Base64 or Base64url string back to its original UTF-8 plaintext. Use to inspect encoded payloads, credentials, or embedded data; accepts both standard (+/) and URL-safe (-_) alphabets, with or without trailing = padding. Pure local decode with no network calls; validates that the result is valid UTF-8. Returns the decoded string on success. On failure (invalid Base64 or non-UTF-8 bytes), returns an error message describing what went wrong.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Base64 or Base64url encoded string to decode. Trailing = padding is optional. Both standard (+/) and URL-safe (-_) alphabets are accepted. |