Base64 Decoder
Turn a Base64 string back into the original text. Decodes UTF-8 correctly, so Arabic text and emoji come back intact. A quick way to inspect tokens, embedded data or encoded config values.
What this means
Decoding reverses encoding: 4 Base64 characters map back to 3 bytes, which are then interpreted as UTF-8 text.
How we calculate it
Formula
Strip padding, map each 6-bit character to its byte value, reassemble bytes, decode as UTF-8.Worked example
Decode 'SGVsbG8gV29ybGQ=':
- 1Paste the Base64 string.
- 2The decoded text appears live.
- 3Copy the result.
Important assumptions
- The input is a valid Base64 string; whitespace is ignored.
Frequently asked questions
Why does decoding fail?
The string may be truncated, contain spaces in the middle, or use URL-safe characters. Whitespace is stripped automatically.
Can Base64 represent binary files?
Yes. Decoded bytes may not be readable text — for files, save the raw bytes instead.
Related tools
Base64 Encoder
Encode any text, including Unicode, to Base64.
URL Decoder
Decode percent-encoded URLs back to readable text.
Hash Generator
Generate MD5, SHA-1 and SHA-256 hashes of any text.
JSON Formatter
Format, minify and validate JSON with one click.
URL Encoder
Encode text for safe use inside URLs and query strings.
Regex Tester
Test regular expressions against text with live matches.