Private & local
All encoding and decoding happens in your browser. Nothing is uploaded, logged, or stored — your data never leaves your device.
Encode and decode text with Base64 online — free, fast, private. Supports Unicode. All processing happens in your browser, no data is uploaded.
Encode text to Base64 or decode Base64 back to text. Supports Unicode, all local.
Three simple steps — no signup, no upload, no waiting.
A local Base64 encoder built for developers and everyday use.
All encoding and decoding happens in your browser. Nothing is uploaded, logged, or stored — your data never leaves your device.
No need to click a button. Output refreshes automatically while you type, with a short debounce for smooth performance.
Encode any text — Chinese, Japanese, Arabic, emoji, and more. Toggle URL Safe mode for web-friendly output without + or / characters.
Common questions about Base64 encoding and how our tool works.
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It uses 64 characters (A-Z, a-z, 0-9, +, /) plus = for padding. It's commonly used for embedding images in HTML/CSS (data URIs), sending binary data in JSON APIs, and storing binary data in text-only formats.
Standard Base64 uses + and / characters, which have special meaning in URLs. URL Safe Base64 (RFC 4648 §5) replaces + with -, / with _, and omits the = padding. Enable the URL Safe checkbox in the tool to use this variant — ideal for URL parameters, file names, and JWTs.
This tool is designed for encoding and decoding text strings. If you need to encode an image or other file to Base64, use our image tools or a dedicated file-to-Base64 converter. For text strings only — this page handles that perfectly with full Unicode support.
Yes. Standard browser Base64 APIs (btoa/atob) only work with Latin-1 characters. Our tool automatically uses TextEncoder and TextDecoder internally, so all Unicode characters — including Chinese, Japanese, Korean, Arabic, Cyrillic, emoji, and special symbols — encode and decode correctly.
No. Base64 is encoding, not encryption. It transforms data into a different format but does not provide any security. Anyone can decode a Base64 string back to its original form. Do not use Base64 to protect sensitive information.