Base64 Encoder & Decoder
Encode and decode Base64 strings fast.
The result will appear here.
About the Base64 Encoder & Decoder
Encode text to Base64 and decode it back, instantly and locally. Useful for data URIs, API tokens and debugging, the GetOmniOne Base64 tool is Unicode-safe and runs entirely in your browser.
How to use it
- 1Paste text to encode, or a Base64 string to decode.
- 2Switch direction with one click.
- 3Copy the result.
What Base64 is actually for
Base64 converts binary or text data into a set of 64 safe characters (A–Z, a–z, 0–9, + and /) that survive being passed through systems built for plain text — email, URLs, JSON and HTML. That's why it shows up in data URIs that embed images directly in a page, in JWT tokens, and in email attachments. It is deliberately reversible and offers no security whatsoever, so it's the wrong tool for hiding a password. This encoder is Unicode-safe, so accented characters and emoji round-trip correctly in both directions.
Common uses
- Building a data URI to embed a small image inline in HTML or CSS.
- Decoding a Base64 string from an API response or config to read it.
- Encoding text so it passes cleanly through a system that expects plain ASCII.
Frequently asked questions
- Is Base64 encryption?
- No. Base64 is an encoding, not encryption — anyone can decode it. Don't use it to protect secrets.
- Why is Base64 output larger than the original text?
- Base64 represents every three bytes as four characters, so encoded data is about 33% bigger. That's the cost of making binary data safe to transmit as plain text.