Tools · Free tool
Base64 decoder
Decode Base64 or Base64url into readable text, structured JSON or a short hexadecimal preview of binary bytes. Processing happens locally in your browser. Base64 is an encoding, not encryption.
Open Base64 decoderNo sign-up. Decoding stays on your device.
Try a harmless example
Open the Base64 decoder, paste SGVsbG8sIHdvcmxkIQ== and read Hello, world! in the output. You can also choose the built-in Base64 sample to inspect a JSON object.
Input: SGVsbG8sIHdvcmxkIQ==
Output: Hello, world! Standard Base64 and Base64url
The decoder accepts the standard + and / alphabet and the URL-safe - and _ alphabet. Whitespace is removed and missing padding is added when possible. Invalid input returns no decoded result; selecting Base64 manually helps when a short string is ambiguous.
| Input/output | Behavior |
|---|---|
| Readable UTF-8 | Displayed as decoded text |
| JSON object or array | Displayed as structured JSON |
| Binary or non-UTF-8 | First 64 bytes shown as hexadecimal, with byte count |
| Impossible length or invalid alphabet | No Base64 result |
Why does decoded data look like binary?
Base64 represents bytes, and those bytes need not be text. Images, compressed data and encrypted payloads will not become readable prose after a single decode. The tool uses strict UTF-8 decoding and a printable-text check before showing text.
It does not decrypt encrypted content or infer an arbitrary character encoding. A binary preview is not a full file viewer. Inputs over 2 MB pause decoding to keep the tab responsive.
Keep encoded data private
Encoding does not remove secrets. Pasted input stays in the decoder tab; opt-in history and share links should still be treated as sensitive when they contain private information.
Content updated . Maintained by Sandile Mongi Dlamini. Product explanations describe the current implementation; they are not an independent security audit.