Decode Base64 text
Decode a Base64 string to readable text directly in your browser, with full UTF-8 support.
Processed on your device. Nothing is sent to any server.
Decodes the Base64 string to bytes and interprets them as UTF-8 text, showing a clear error if the string isn't valid Base64.
Use cases
- Reading the content of a basic authentication header.
- Decoding a Base64 value found in a JSON or log.
- Checking the content of encoded data while debugging.
How it works
- 1
Paste the Base64 string
Type or paste the encoded text.
- 2
Decode it
Click Decode and copy the resulting text.
Technical details
- It accepts standard Base64, with or without line breaks at the start or end. The - and _ characters of the Base64URL variant aren't accepted: replace them with + and /.
- The result is read as UTF-8 text. If the Base64 contains binary data (an image, a PDF), you'll see garbled characters; for images use the Base64 to image tool.
- To read the middle part of a JWT, the JWT decoder is easier, since it already handles Base64URL.
Frequently asked questions
What happens if the text isn't valid Base64?
An error message is shown stating the format isn't recognized, instead of an incorrect result.