Base64 Encoder & Decoder
Convert text to Base64 or decode Base64 back into readable text. This tool supports Unicode characters, including emojis and non-English languages, and processes everything locally in your browser.
Unicode supported: this tool converts text to UTF-8 bytes before Base64 encoding, so emojis and non-English characters are supported.
Security note: Base64 is an encoding format, not encryption. Anyone can decode it. Do not use it to protect passwords, API keys, tokens, or other confidential information.
Privacy: conversion happens in your browser. Your input is not uploaded or stored by this tool.
What is Base64?
Base64 is an encoding scheme, described in RFC 4648, that represents binary data using 64 printable text characters (letters, digits, plus and slash, with "=" padding). It lets data such as images, files or keys travel safely through systems built for plain text.
Where Base64 is used
- Email attachments (MIME) and data URIs embedded in web pages.
- HTTP Basic authentication headers, which carry "username:password" in Base64.
- JSON Web Tokens, which use a URL-safe Base64 variant. See our JWT Decoder.
How to use this tool
- Choose whether to encode or decode.
- Paste your text or Base64 string.
- Run the conversion and copy the result.
Base64 is not security
Anyone can decode Base64 in seconds, so it hides nothing. Credentials sent in a Basic authentication header are only protected if the connection uses HTTPS. Never treat encoded text as encrypted.
Frequently asked questions
Is Base64 encryption?
No. It is a reversible format change with no key and no secrecy.
Why does Base64 end with equals signs?
The "=" characters are padding that makes the output length a multiple of four.
Does it make data larger?
Yes. Base64 output is about one third larger than the original data.
This tool is for education and general use. Your text is processed locally in your browser.
