Base64 Encode / Decode
Convert text to Base64 and back, UTF-8 safe.
Runs entirely in this tab. Nothing is uploaded.
Result
Frequently asked questions
Is my text sent anywhere?+
No. Encoding runs in this tab.
Does it handle emoji and accents?+
Yes. The text is encoded as UTF-8 first, which is where naive Base64 tools break.
Why does the output end in one or two equals signs?+
Base64 packs three bytes into four characters. When the input length is not a multiple of three, equals signs pad out the final group. One or two is normal and expected; three means something upstream is wrong.
Can I encode a file rather than text?+
This tool works on text. Base64 makes binary data roughly a third larger, which is why it is normally used for embedding small assets inline rather than for moving files around.
Tools that pair with Base64 Encode / Decode
- URL Encode / DecodePercent-encode URLs and query strings, or decode them.
- JSON FormatterFormat, minify, validate and sort JSON keys.
- Hash GeneratorSHA-256, SHA-1, SHA-384 and SHA-512 digests.
- Case ConvertercamelCase, snake_case, Title Case and six more.
- Word CounterWords, characters, sentences and reading time.
- Text DiffCompare two blocks of text line by line.