Base64 Encoder / Decoder
Encode or decode Base64 text instantly, entirely client-side.
What is a Base64 Encoder / Decoder?
Base64 turns arbitrary bytes, including binary data, into plain ASCII text — which is why it shows up wherever binary data has to travel through a text-only channel: a small image embedded directly in CSS, an email attachment, or an API's auth header.
How to use the Base64 Encoder / Decoder
- Paste text or Base64
- Pick encode or decode
- Copy the result — nothing left your device
Example
Encoding the text hello world produces aGVsbG8gd29ybGQ=; decoding aGVsbG8gd29ybGQ= returns hello world exactly, including the original spacing.
Frequently asked questions
Is my data uploaded anywhere?
No — Base64 Encoder / Decoder runs entirely in your browser using JavaScript/WebAssembly. Your data is never sent to a server.
Why does my Base64 output end with one or two equals signs?
That's padding — Base64 encodes input in 3-byte groups into 4 characters, and \"=\" pads the last group when the input length isn't a multiple of 3. It's a normal part of standard Base64, not an error.
Is Base64 the same as encryption?
No — it's an encoding, not encryption. Anyone can decode Base64 back to the original text instantly with no key or password required, so it doesn't protect the data's confidentiality.