Base64 Converter
Convert any text to Base64 and back with full UTF-8 support — Arabic, emoji and symbols encode correctly. Everything runs on your device and nothing is uploaded.
Please enter valid values.
How to use
- Paste your text or Base64 string into the input box.
- Click "Encode to Base64" or "Decode from Base64" depending on the direction you need.
- Copy the result with one click — invalid Base64 is reported instantly.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding scheme, not encryption: it converts data into a safe text form using a public alphabet and needs no key. Anyone can decode it instantly, so never use it to protect passwords or secrets — use real encryption for that.
Does the encoding happen on my device?
Yes, entirely. The tool uses the browser’s built-in TextEncoder and btoa/atob functions, so your text is converted locally and is never uploaded to, stored on, or seen by any server.
Why do I see � characters after decoding?
That happens when the original Base64 was produced from bytes that are not valid UTF-8, or when the string was copied incompletely. Make sure you paste the whole Base64 string, including any = padding at the end; this tool encodes and decodes with UTF-8 on both sides.
Is the output URL-safe, and why does it end with =?
Standard Base64 uses +, / and one or two trailing = padding characters, which have special meanings in URLs, so it is not URL-safe as-is. Escape it before putting it in a query string, or use the base64url variant, which swaps + and / for - and _.