Base64 Encoder & Decoder
Base64 encodes binary or text data using a 64-character alphabet so it can travel safely through systems that expect plain text — email, JSON, data URLs, HTTP headers, and more. This converter encodes text to Base64 or decodes Base64 back to text, and it is fully UTF-8 aware, so emoji, accented characters, and non-Latin scripts round-trip correctly instead of turning into garbled bytes.
Base64 is encoding, not encryption — it provides no secrecy — but it is essential for transporting or embedding data that is not plain ASCII. Common uses include inspecting the payload of a token, building a data: URL, or decoding a value from a config file or API response. Conversion happens instantly and entirely in your browser, so whatever you paste stays on your device. Type or paste your input, switch between encode and decode, and copy the result.
Encode text to Base64 or decode Base64 back to text (UTF-8 safe). Runs entirely in your browser.
Frequently asked questions
- Is Base64 a form of encryption?
- No. Base64 is reversible encoding with no secret key, so it offers no security. Anyone can decode it — use real encryption to protect data.
- Does it handle emoji and non-English text?
- Yes. The converter is UTF-8 safe, so emoji, accents, and non-Latin scripts encode and decode correctly without corruption.
- Is my input sent to a server?
- No. Encoding and decoding run locally in your browser, so nothing you paste is uploaded or stored.
- Why would I use Base64?
- To move or embed data through text-only channels — data URLs, JSON, email, and headers — where raw bytes would be corrupted or rejected.
- What is the difference between Base64 and Base64URL?
- Base64URL replaces + and / with - and _ (and often drops padding) so the result is safe in URLs and filenames. Standard Base64 uses the original alphabet.