Base64 Encode & Decode — Free, Instant, Private
Encode text to Base64 or decode Base64 back to plain text instantly in your browser — no upload, no signup, free.
How to encode or decode Base64
Paste your text into the left panel, then click 'Encode' to convert it to Base64, or paste a Base64 string and click 'Decode' to convert it back to plain text.
The tool handles full Unicode — emoji, accented characters, and non-Latin scripts all encode and decode correctly using UTF-8.
Everything runs in your browser. Your data is never sent to a server or stored anywhere.
Frequently asked questions
- Is my data sent to a server?
- No. Encoding and decoding happen entirely in your browser using JavaScript's built-in btoa/atob APIs with UTF-8 support. Nothing is uploaded or stored.
- What is Base64 used for?
- Base64 is used to represent binary or arbitrary data as plain ASCII text. Common uses include embedding images in HTML/CSS via data URIs, encoding binary data in JSON payloads, and passing data through systems that only handle text (such as email or URLs).
- Can I encode non-English text and emoji?
- Yes. The tool encodes your input as UTF-8 before applying Base64, so any Unicode character — emoji, accented letters, Arabic, Chinese, and more — is handled correctly.
- What does 'Invalid Base64' mean?
- Base64 strings must contain only the characters A–Z, a–z, 0–9, +, /, and = (for padding). If your input contains other characters or has an incorrect length, it cannot be decoded.
- Is Base64 the same as encryption?
- No. Base64 is encoding, not encryption — it is trivially reversible by anyone. Do not use Base64 to hide sensitive information. For security, use a proper encryption algorithm.