Base64 Decoder

Decode Base64 and Base64url strings back to readable text instantly. Handles UTF-8, missing padding and line breaks, with clear error messages. Free.

Runs locally in your browser. Nothing you enter is uploaded.

How to decode Base64

  1. Paste the Base64 string into the left box. Line breaks and spaces are ignored.
  2. The decoded text appears instantly on the right.
  3. Copy or download the result.

Example

SGVsbG8sIEZpZ3RyYXkhIPCfkYs= decodes to Hello, Figtray! 👋.

Common uses

Need to go the other way? Use the Base64 Encoder.

Frequently asked questions

Does it support URL-safe Base64?

Yes. Standard Base64 and Base64url (with - and _) are both detected automatically, with or without = padding.

Why do I get 'not valid UTF-8 text'?

The Base64 string decodes to binary data — such as an image, PDF or compressed file — rather than text. The input is valid Base64, but the result can't be shown as text.

Can I decode a JWT with this?

You can decode the header or payload segment (the parts between the dots) to read their JSON. The signature segment is binary and won't decode to text.

More Developer tools →