Get started
HomeEncoding & SecurityBase64 Decode
Encoding & SecurityRuns in your browser · files never uploaded

Decode a Base64 String

Decode Base64 strings

Be the first to rate this tool
Your file never leaves this browser. Everything runs on your device — no uploads, no server storage, no retention.How it works →
✓ DecodedHandles standard and URL-safe Base64. Padding optional. Whitespace ignored.
Base64 input20 chars
Decoded text13 chars
Hello, world!

What is Base64 Decoder?

Decode a Base64 string back to UTF-8 text. Accepts both standard and URL-safe alphabets, tolerates internal whitespace (so pasted multi-line output works), and re-pads strings that are missing their = padding. Throws a clear error when the input contains non-alphabet characters so you don't get mysterious mojibake.

How do I use Base64 Decoder?

  1. Paste the Base64 string into the input panel.
  2. The decoded text appears on the right; errors are flagged inline.
  3. Copy the result.

When should I use Base64 Decoder?

Base64 Decode is the inverse of Base64 Encode. For decoding a JWT specifically (three-segment format with header + payload + signature), use JWT Decoder for cleaner output. For a Base64 image payload, use Base64 to Image.

Frequently asked questions

Why does my decoded output look like garbage?

Because the input was binary; an image or zip, not text. The decoder outputs UTF-8 if possible; for binary data, use the "Decode as file" option to download the bytes.

My base64 says "invalid"; what gives?

Common causes: extra whitespace, wrong padding, or the input was URL-safe base64 (using -/_) while the decoder was set to standard. Toggle URL-safe mode, or strip whitespace and re-paste.

Can it handle data URIs?

Yes. Paste a full data:image/png;base64,... URI and the tool strips the prefix automatically before decoding.

Is my file uploaded anywhere?

No. Everything runs in your browser. Your files never leave your device, and there is no server component for this tool.

Tools that pair well with Base64 Decoder

More encoding & security

Base64 Encode
URL Encode
URL Decode
JWT Decoder
Hash Generator
Password Generator
Strength Checker
HMAC Generator