Encode text to Base64, or decode Base64 to text.
The Base64 converter encodes text into Base64 and decodes Base64 back into text. It fully supports UTF-8, so any language and emoji round-trip correctly, and URL-safe Base64 is decoded too. Everything runs in your browser.
Base64 represents binary data with plain characters. It's used in data URIs, email attachments, HTTP basic authentication, JSON Web Tokens and APIs. Remember that Base64 is an encoding, not encryption.
Encode and decode in one place.
Works with every language and emoji.
Decodes the - and _ variant used in JWTs.
Your data stays in your browser.
No. Anyone can decode Base64, never use it to protect sensitive data.
Base64 uses 4 characters for every 3 bytes, so the output is about 33% larger.
Padding, added when the input length isn't a multiple of 3 bytes.
Only very small ones. Large Base64 images make the HTML or CSS heavier and can't be cached separately.