Site icon A Free Tools

Base64 Decoder

Decode Base64, URL-safe Base64, Base32, and Hex encoded data instantly. Our smart detector identifies the format automatically.

Decode Base64 to Text
Smart format detection enabled
Base64
Input (Base64/Encoded) 0 chars
Output (Decoded) 0 chars
Decoded output will appear here…
Try Encode

Why Use Our Base64 Decoder?

Common Encoding Examples

Base64 Standard
SGVsbG8gV29ybGQh
Hello World!
URL-Safe Base64
SGVsbG8tV29ybGQh
Hello-World!
JSON Data
eyJ1c2VyIjoiQWxleCIsImFnZSI6MzB9
{“user”:”Alex”,”age”:30}
Basic Auth Header
YWRtaW46cGFzc3dvcmQ=
admin:password
Hexadecimal
48 65 6c 6c 6f
Hello

How to Decode Base64

  1. Paste your encoded text: Take the Base64, URL-safe Base64, Base32 or Hex string and enter it into the input box on the left.
  2. Auto-Detection (Recommended): Set the format to “Auto” and our intelligent detector will determine your encoding format automatically.
  3. Click Decode: To get the results instantly, click the “Decode” button, or enable the option “Auto-decode on paste”.
  4. Get Your Plain Text: The text that is being decoded will instantly appear. Copy it with a single click or include it as is into your application.

What is Base64 Decoding?

Base64 decoding is the opposite of Base64 encoding. Decodes base64 encoded strings back to their binary or text form. This is crucial for APIs, data transfer or any system using Base64 encoding to send data.

When Do You Need Base64 Decoding?

The following are typical cases where you might need to decode a Base64 string:

What is the Decoding Process?

Base64 decoding is the reverse of base64 encoding. Base64 characters contain 6 bits of data each. There are 4 Base64 characters and 3 bytes of original data. During decoding, padding characters (“=”) will be discarded as they are used for the purpose of making the encoded string length divisible by 4.

URL-Safe Base64 Decoding

The Base64 String is updated to be URL-safe by replacing + with -, and / with _ in the string. These substitutions are automatically done by our decoder in the “Auto” or “URL-Safe” mode.

Common Decoding Errors

If decoding doesn’t work, remember that there may be some common problems, such as:

Auto-Detection Feature

Our “Auto” detection mode identifies the encoding mode and automatically selects it. It checks for:

Related Tools You May Like

Calculators | Converters | Games | Generators | Random | Web Tools | Developer Tools

Exit mobile version