How to use Base64 Encoder
How do I use it?
- Encode UTF-8 text as Base64 or Base64URL and copy the result.
- The standard format for the selection of normal text transports, the URL or file name environment is available for the Base64URL.
- Check for line breaks when packing by mime.
How it works and example
Convert the input to UTF-8 bytes, then encode each group of 6 bits as one character. Standard Base64 uses = padding. Base64URL omits it by default.
“中文” → 5Lit5paH; 😀 → 8J+YgA==. The URL-safe form of the second result is 8J-YgA.
Input limits
- Base64 is an encoding, not encryption. Empty input encodes to empty text.