What is Base64?
Base64 is an encoding scheme that represents binary data using 64 printable characters. It's used everywhere in web development: embedding images in CSS, HTTP basic authentication headers, JWT tokens, email attachments, and API payloads that need to travel safely through text-only channels.
UTF-8 support
Many simple Base64 tools break on emoji or non-English text because JavaScript's built-in btoa() only handles Latin-1 characters. This tool encodes your text as UTF-8 bytes first, so any character — Sinhala, Tamil, Chinese, emoji — encodes and decodes correctly.
Privacy
Encoding happens locally in your browser. Nothing you type is transmitted anywhere, which makes this safe to use with tokens and credentials you wouldn't paste into an unknown server.