0
0

Base64 Decode

Egor VolchenkoEgor Volchenko
CreatedNov 16, 2026
UpdatedNov 16, 2026

Base64 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.

1
1

How to use Base64 Decode

Follow these steps to check the input and read the result.

Read a Base64-encoded string

  1. Type or paste the standard Base64 string itself into Base64 Encoded String.
  2. 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.
  3. Keep Auto / Live on to update the result as you edit. To process it manually, turn Auto / Live off and click Run.
  4. Read Decoded Text and check the result before using it.
  5. 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.

No API Key Required 60 req/min
https://million.tools/api/v1/run/base64-decode

Request Parameters (JSON / Form Data)

  • start (or input)

    Base64 Encoded String

    Type: string Default: —
  • input_encoding

    Input Encoding

    hex hex_ignore_non_hex base64 utf-8 utf-16le utf-16be windows-1251 windows-1252
    Type: string Default: utf-8
bash — cURL
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"
    }
}
Egor Volchenko
Egor Volchenko Developer & Author

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.

Published:
Updated:

Ratings & feedback 0

Share your experience with this tool.

Leave feedback

Your rating (optional)

Select a rating

Write a review, leave a rating, or do both.

Your email stays private.

No feedback yet

Be the first to leave a review or rating.