Base64 Encode/Decode
Encode and decode text or files.
Runs on this deviceSent to a server: 0 bytes
How it works
- Type, paste or pick what you're working with.
- Set the options you need.
- Copy or download the result. It's made on this device.
Converts data to and from Base64 — the encoding used whenever binary content has to travel through something that only handles text, such as an email attachment, a data URI or a JSON field.
How the encoding works
Base64 takes three bytes at a time and re-expresses them as four characters drawn from a 64-character alphabet: A–Z, a–z, 0–9, plus and slash. Because four characters carry what three bytes did, encoded output is about 33% larger than the input. The = padding at the end marks a final group that was not a full three bytes.
Worked example
The five bytes of “Hello” encode to SGVsbG8=, which is eight characters — the single = padding the last incomplete group. Decoding it returns exactly the original bytes; nothing is lost either way.
Base64 is not encryption
This is the most consequential misunderstanding in the whole of web development. Base64 is a transport format, not a secret: anyone can decode it instantly, with no key, using this page. A password, an API token or a personal record that is “Base64 encoded” is stored in plain sight. If it needs to be secret it needs encryption; if it needs to be verified it needs a signature or a hash. Base64 only answers the question of how to move bytes through a text-only channel.
Questions
Is Base64 secure?
Not at all — it is a reversible encoding with no key involved, and decoding takes a fraction of a second. Treat anything Base64-encoded as fully readable by whoever holds it.
Why does Base64 make my file bigger?
Because it spends four output characters on every three input bytes, adding roughly a third. That cost is what buys the ability to carry binary data through channels that only accept text.
Is Base64 Encode/Decode free to use?
Yes. Base64 Encode/Decode is completely free, with no account, no sign-up and no usage limits.
Are my files or data uploaded anywhere?
No. Base64 Encode/Decode runs entirely in your browser. Your files, text and numbers are processed on your own device and are never uploaded to a server.
Does Base64 Encode/Decode work offline?
Yes, once you have opened it. NWS Kit installs as a Progressive Web App and keeps working with no connection. Video and audio tools download their engine (about 32 MB, from nwskit.com) the first time one is used; save the Video and audio pack to have it ready offline.
Do I need to install any software?
No installation is required. Base64 Encode/Decode works in any modern browser on desktop or mobile.
Read the guide
- Password security: what actually matters
Why length beats complexity, why reuse is the real risk, what hashing does and does not protect, and how to think about the advice you were given in 2010.