Encode plain text to Base64 for APIs, data URLs, and authentication headers. Handles Unicode safely using UTF-8 before encoding.
Output will appear here.
Frequently Asked Questions
What is Base64 encoding?
Base64 converts binary or text data into ASCII-safe characters so it can travel through JSON, URLs, and email without corruption.
Does this support Unicode?
Yes. Text is encoded as UTF-8 before Base64 conversion, so emoji and accented characters work correctly.
Is Base64 encryption?
No. Base64 is encoding, not encryption. Anyone can decode it.
Need to decode instead?
Use the Base64 Decoder to reverse encoded strings back to readable text.
Is this tool free and does it work on mobile?
Yes on both counts. The Base64 Encoder on draft21 is completely free with no sign-up required and works on all devices.
Related Tools
Base64 DecoderDecode Base64 strings back to plain text.URL EncoderPercent-encode special characters in URLs.JWT DecoderInspect JWT tokens used in auth flows.HTML Entity EncoderConvert characters to HTML entities.JSON FormatterFormat JSON payloads before encoding.Developer & Web UtilitiesBrowse all developer and web utility tools on draft21.