Strict validation
Malformed alphabet and padding are rejected instead of being silently ignored.
Start typing to search 227 tools.
Decode standard Base64 online to UTF-8 text or inspect decoded binary bytes as hexadecimal.
Base64 Decoder converts standard Base64 back into its original bytes. Choose UTF-8 text for readable content or Hex bytes when the payload is binary.
The decoder accepts whitespace from wrapped Base64 and can restore omitted trailing padding. It rejects invalid alphabet characters, misplaced padding and malformed lengths rather than silently producing questionable output.
Base64 is not encryption. Decoded data can contain secrets, tokens or private information, so treat the output according to its real sensitivity.
Focused controls, predictable output, and a workflow designed around this exact transformation.
Malformed alphabet and padding are rejected instead of being silently ignored.
Readable UTF-8 and binary byte inspection are both supported.
Whitespace and common omitted trailing padding are handled.
Non-UTF-8 output is reported and can be inspected as hex bytes.
Practical details about input, output, privacy, limits, and the best way to use this tool.
Yes. Missing trailing padding is restored when the remaining Base64 length is valid.
Yes. Whitespace is removed before validation so wrapped Base64 can be decoded.
The Base64 may be valid but decode to binary bytes that are not valid UTF-8. Choose Hex bytes to inspect that payload.
Use the Base64URL Decoder for values that use - and _ instead of + and /.
No. Decoding only reveals bytes; it does not verify origin, authenticity or safety.
Understand Base64 encoding, decoding, Base64URL, UTF-8 input, padding, data URLs, and frequent integration mistakes.
UTF-8 text mode returns the original readable value.
SGVsbG8sIFRyZXhtaSE=
Hello, Trexmi!
Valid omitted trailing padding is restored before decoding.
eyJhY3RpdmUiOnRydWV9
{"active":true}
Hex mode displays bytes that are not valid UTF-8 text.
AP+AQQ==
00 FF 80 41
Input: SGVsbG8sIFRyZXhtaSE=
Mode: UTF-8 text
Output: Hello, Trexmi!
Input: 0J/RgNC40LLRltGCLCBUcmV4bWkh
Mode: UTF-8 text
Output: Привіт, Trexmi!
Input: eyJhY3RpdmUiOnRydWV9
Mode: UTF-8 text
Output: {"active":true}
Input: AP+AQQ==
Mode: Hex bytes
Output: 00 FF 80 41
Base64 represents bytes, not characters. UTF-8 mode succeeds only when those bytes form valid UTF-8 text. Images, archives, compressed data, and encrypted payloads should be inspected in Hex bytes mode rather than forced into unreadable text.
Whitespace from wrapped Base64 is ignored. One or two omitted trailing padding characters can be restored when the remaining length is valid. These conveniences do not make Base64URL input valid standard Base64: URL-safe data uses a different alphabet.
The decoder rejects characters outside the standard alphabet, padding in the middle of a value, more than two padding characters, impossible lengths, and noncanonical encodings. A failure in UTF-8 mode may mean the decoded data is binary; retry with Hex bytes before concluding that the input is malformed.
Use Base64 Encoder for the reverse operation, URL Decoder when the Base64 value is percent-encoded inside a URL, or JSON Formatter after decoding JSON text.
Standard Base64 is defined in RFC 4648.