How to decode Base64
- Paste the Base64 string into the left box. Line breaks and spaces are ignored.
- The decoded text appears instantly on the right.
- Copy or download the result.
Example
SGVsbG8sIEZpZ3RyYXkhIPCfkYs= decodes to Hello, Figtray! 👋.
Common uses
- Reading Basic auth headers and encoded config values.
- Inspecting JWT header and payload segments.
- Decoding values found in logs, emails (MIME) and API responses.
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.