Text is converted to UTF-8 bytes before Base64 encoding. To encode bytes from another text encoding, use the file encoder.
Encode text as Base64
Enter text to encode:
Encode or decode with 64baser
- Paste text into the text encoder, or select a file to encode its bytes.
- To decode, paste standard Base64 or select a Base64 text file.
- Copy displayable text or download the result. The help guide covers each workflow.
Carrying binary data as Base64 text
Base64 represents each complete three-byte block with four characters from a 64-character alphabet. A shorter final block uses = padding. The format appears in MIME email, data URLs, HTTP Basic authentication, and PEM-style files; JWT uses the related base64url alphabet. For long inputs, the encoded data is about one third larger before line wrapping or other protocol overhead.