Base64 Decode
Developer & Author —Egor VolchenkoBase64 Decode converts a standard Base64 string into text so you can inspect an encoded field or test a payload. This Base64 decoder accepts valid padded or unpadded input and ignores ordinary ASCII whitespace. The result is displayed as UTF-8 text.
How to use Base64 Decode
Follow these steps to check the input and read the result.
Read a Base64-encoded string
- Type or paste the standard Base64 string itself into Base64 Encoded String.
- Leave Input Encoding: at UTF-8. The current decoder reads the entered Base64 string directly; changing this selector does not choose a decoded-text character set.
- Keep Auto / Live on to update the result as you edit. To process it manually, turn Auto / Live off and click Run.
- Read Decoded Text and check the result before using it.
- Click Copy to copy the result. Use Clear where shown, or a field’s clear control, to clear the text before starting again.
Enter SGVsbG8= to get Hello. The unpadded form SGVsbG8 also produces Hello.
Match the standard Base64 alphabet
Use the standard letters, digits, plus, and slash alphabet with valid optional padding. Base64URL uses different characters and is not accepted when those characters occur. There is no custom-alphabet, MIME, or IMAP selector.
Interpret the decoded bytes as text
Base64 can represent arbitrary bytes, but this form displays the decoded bytes as UTF-8. Binary content and text in another character set may look garbled or contain replacement characters. The form does not turn decoded bytes into a downloadable file.
Frequently asked questions
No. Base64 is a reversible representation of bytes and provides no confidentiality. Anyone who has the string can decode it.
API — Base64 to Text
Automate this tool directly from your scripts, CI/CD pipelines, or backend applications via HTTP POST.
https://million.tools/api/v1/run/base64-decode Request Parameters (JSON / Form Data)
-
start(orinput)Base64 Encoded String
-
input_encodingInput Encoding
hexhex_ignore_non_hexbase64utf-8utf-16leutf-16bewindows-1251windows-1252
curl -X POST https://million.tools/api/v1/run/base64-decode \
-H "Content-Type: application/json" \
-d '{"start":"Zm9vYmFy"}' const response = await fetch('https://million.tools/api/v1/run/base64-decode', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"start": "Zm9vYmFy"
}),
});
const data = await response.json();
console.log(data.result); import requests
response = requests.post(
'https://million.tools/api/v1/run/base64-decode',
json={
"start": "Zm9vYmFy",
},
timeout=15,
)
data = response.json()
print(data['result']) $ch = curl_init('https://million.tools/api/v1/run/base64-decode');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ['Content-Type: application/json'],
CURLOPT_POSTFIELDS => json_encode([
'start' => 'Zm9vYmFy',
]),
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
echo $response['result'] ?? ''; {
"status": "success",
"tool": "base64-decode",
"service": "base64_decode",
"result": "foobar",
"results": {
"result": "foobar"
}
}
Hi! I’m a WordPress developer with over 10 years of experience. I love Tailwind CSS, clean code, and intuitive interfaces. I’m currently working on million.tools — a service with convenient online tools for everyday tasks. I’m building it from scratch with great attention to detail and user experience.
Ratings & feedback 0
Share your experience with this tool.
No feedback yet
Be the first to leave a review or rating.