64 Base64Toolkit
Language:

Base64 Decode

Paste Base64 below and get the decoded text instantly. Free, forgiving of broken padding, and 100% in your browser.

0 chars · 0 bytes

0 chars · 0 bytes

Options

Recent conversions

Nothing yet — your last 10 conversions will appear here (stored only in this browser).

    About Base64 decoding

    Base64 decoding reverses the encoding process: each group of 4 Base64 characters is converted back into the original 3 bytes. Because the mapping is fixed and public, any Base64 string can be decoded by anyone — it is an encoding for safe transport, not a form of protection.

    This decoder is deliberately forgiving, because real-world Base64 is messy. It automatically strips whitespace and line breaks (common in MIME email and PEM certificates), converts URL-safe Base64URL characters back to the standard alphabet (common in JWT tokens and OAuth state values), and repairs missing = padding (common when tokens are trimmed by shells or config parsers). If the input still cannot be decoded, you get a clear error message explaining what is wrong instead of silent failure.

    Common decoding tasks

    Frequently Asked Questions

    How do I decode a Base64 string?

    Paste the Base64 string into the Base64 box above — the decoded text appears instantly in the Plain Text box. Stray whitespace, line breaks, and missing = padding are handled automatically.

    Why do I get "Invalid Base64" errors?

    Usually the string is truncated (a valid Base64 length is never one more than a multiple of 4), contains characters outside the Base64 alphabet, or is actually Base64URL from a JWT. This tool auto-converts URL-safe characters (-, _) and fixes padding, so most "broken" strings decode fine here.

    How do I decode Base64 that contains binary data?

    If the decoded result looks like garbage text, it is probably a binary file (image, PDF, zip) rather than text. Use Base64 to File to download it, or Base64 to Image to preview images.

    How do I decode a Kubernetes secret value?

    Run kubectl get secret mysecret -o yaml, copy any value under data:, and paste it here. To decode all keys of the secret at once, paste the entire YAML into our Kubernetes Secret Decoder.

    Can Base64 be decoded without a key or password?

    Yes — always. Base64 is a public, reversible encoding with no secret involved. If you were expecting the content to be protected, it needs encryption (AES, GPG, etc.), not Base64.

    Related Tools