Base64 Encode / Decode
Encode text to Base64 or decode it back, with full UTF-8 support — all in your browser, nothing uploaded.
How it works
- Choose a direction — encode plain text to Base64, or decode Base64 back to text.
- Type or paste — the result updates live as you go.
- Copy the result — everything is computed on your device.
Private by design
The conversion runs inside your browser, so whatever you paste — tokens, config, snippets — never leaves your machine. This is enforced by a Content-Security-Policy that blocks the page from talking to any third-party server, and it keeps working offline once loaded. Read more in our privacy policy.
Frequently asked questions
Is my text uploaded anywhere?
No. Encoding and decoding happen entirely in your browser. Our pages ship a Content-Security-Policy that blocks the page from sending your text to any server.
Does it handle emoji and non-English text?
Yes. The tool encodes and decodes through UTF-8, so emoji, accented characters and non-Latin scripts round-trip correctly — unlike naive Base64 tools that only handle Latin-1.
What is Base64 used for?
Base64 represents binary or text data using 64 safe ASCII characters. It's commonly used to embed images in HTML/CSS (data URLs), send binary data in JSON or email, and store small blobs in text-based formats.
Is Base64 encryption?
No. Base64 is encoding, not encryption — it provides no security. Anyone can decode it back to the original. Never use it to protect secrets.
Is it free?
Completely free, with no sign-up and no limits.
Related developer tools
Turn any URL or text into a downloadable QR code (PNG or SVG) — generated in your browser, nothing sent to a server.
Decode a JSON Web Token's header and payload, read its claims and expiry, and verify HS256 signatures — all in your browser.
Beautify, minify and validate JSON with clear error messages — processed locally in your browser, never uploaded.
Generate MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text — computed in your browser, nothing sent anywhere.