Free Base64 Encoder & Decoder
Encode text to Base64 or decode it back · with full UTF-8 support. Handy for inspecting tokens, data URIs, and encoded config.
100% client-side · nothing you enter is ever sent to a server or stored.
Preview · sign in with a free account to run it
How to use it
- Choose Encode → Base64 or Decode ← Base64.
- Type or paste your text. The result updates as you type.
- Copy the result. If decoded data isn't text, download the decoded bytes instead.
Example
UTF-8 safe: accents and symbols round-trip.
Input
Héllo, wörld ✓
Result
SMOpbGxvLCB3w7ZybGQg4pyT
What you'll see
- Encoded output
- Every 3 bytes of input become 4 characters from A–Z, a–z, 0–9, + and /, with = padding at the end.
- Not valid Base64 or UTF-8 text
- The input has characters outside Base64, or it decodes to binary data such as an image. Use the download button for binary.
- Base64url
- JWTs and URLs use - and _ instead of + and / and drop the padding. Swap them back before decoding here.
Go deeper
Page updated
Frequently asked questions
Does it handle emoji and non-ASCII text?
Yes. The encoder uses UTF-8 aware encoding, so emoji, accents, and other multi-byte characters round-trip correctly · unlike a raw btoa() call.
Is Base64 encryption?
No. Base64 is an encoding, not encryption · anyone can decode it. Never use it to protect secrets; it only makes binary data safe to transport as text.
Is Base64 safe for storing secrets?
No. It's an encoding that anyone can reverse instantly. A Base64 API key in your frontend code is as exposed as the plain key.
Why is the output longer than the input?
Base64 uses 4 characters for every 3 bytes, about a third more.
Want the full picture?
This tool covers one narrow check. A full SimplyScan runs 60 checks across 14 categories · exposed keys, RLS, XSS, auth, and speed · in 30 seconds.
Run a full security scanRelated tools
URL Encoder / Decoder
Encode or decode percent-encoded URLs · with separate modes for full URLs and individual query components.
HTML Entity Encoder
Escape special characters to HTML entities · or decode &-style entities back to readable text.
Timestamp Converter
Convert Unix epoch timestamps to readable dates and back · seconds and milliseconds auto-detected, UTC and local shown together.