Encoding

How to Decode a Base64 String

Turn Base64 encoded text back into its original readable form using the DevHexLab Base64 Decoder.

Tool Used

Base64 Decode

Open tool
1

Open the Base64 Decoder

Navigate to /tools/encoding/base64-decode in your browser.

2

Paste your Base64 string

Paste the encoded text into the input box. Base64 strings contain only letters, numbers, plus signs, slashes, and sometimes trailing equals signs. They are common in JWT tokens, basic auth headers, email attachments, and data URIs.

3

Read the decoded output

The tool decodes the string as you type. The original text appears in the output area below. If your input contains valid Base64 of plain text, you will see readable characters. If it contains binary data, you may see strange characters because not all bytes map to printable text.

4

Handle URL safe Base64

If your Base64 uses minus signs and underscores instead of plus signs and slashes (common in JWTs and URL contexts), the tool still decodes it correctly. You do not need to convert the input first.

5

Copy the original text

Click Copy to grab the decoded text. If the output looks like gibberish, the input was either not Base64 or was binary data such as an image or file content that does not render as text.

All done!

You are ready to use Base64 Decode like a pro.

Try it now
All guides