A short word
The UTF-8 bytes for Hello encode as SGVsbG8=. The final equals sign fills the last four-symbol group.
Turn text into a portable ASCII representation, or inspect the bytes behind a Base64 string. Choose standard Base64 or the URL-safe alphabet, then choose text or hexadecimal output so binary data is never mistaken for broken text.
UTF-8 text and raw bytes are distinct. Decode to hex for images or other binary data. Strict canonical validation catches incorrect padding and unused bits. Input limit: 250,000 UTF-16 code units. Base64 provides no secrecy.
Conversions run locally in your browser. This tool does not upload input or save it to browser storage.
Choose encode or decode and select the alphabet used by your system.
For encoding, enter UTF-8 text or pairs of hexadecimal digits. Base64url can include or omit padding.
For decoding, choose text for valid UTF-8 or hex for arbitrary bytes. Enable whitespace removal only when needed for wrapped input.
Copy or download the result. Reverse the direction to check the same bytes.
The UTF-8 bytes for Hello encode as SGVsbG8=. The final equals sign fills the last four-symbol group.
Hex FF encodes as /w== in standard Base64 and _w== in Base64url. Decoding this byte as UTF-8 fails correctly; hex output remains ff.
A Base64 symbol carries six bits. The input to this process is a sequence of bytes, so non-ASCII text first becomes UTF-8. A waving-hand emoji takes four bytes, rather than one byte per displayed character.
The standard alphabet uses plus and slash. Base64url substitutes minus and underscore. This decoder accepts omitted Base64url padding, requires correct standard padding, and rejects mixed alphabets and nonzero unused bits.
Anyone with the encoded string can recover its bytes. Base64 is useful for transport, debugging, and protocol compatibility; it is not encryption or a password storage method.
Base64 can represent any bytes. Some byte sequences are not valid UTF-8, including most image or archive contents. Hex preserves those bytes without substituting replacement characters.
Only when you enable the whitespace option. It removes ASCII spaces, tabs, form feeds, and line endings; it does not silently remove other symbols.
Yes. Text decoding preserves a UTF-8 BOM as U+FEFF so a text round trip does not silently lose that code point.