How to use it
- Choose “Encode” or “Decode”.
- Paste text or a Base64 string into the box. The result appears immediately.
- “Use result as input” moves the result into the input box and switches direction, so you can confirm that it converts back correctly.
What Base64 is
Base64 represents any data using only letters, digits, “+”, “/” and “=” for padding. It is used wherever binary data has to travel through text-only channels: email attachments, images embedded in web pages as data URLs, HTTP Basic authentication and many APIs.
Encoded data is about 4/3 the size of the original, roughly 33% larger.
Why non-English text comes out right
Base64 encodes bytes, not characters, so the result depends on how the text is turned into bytes. This tool always uses UTF-8, the encoding used by almost every modern system.
For example, “café” becomes Y2Fmw6k=. If another tool gives a different result, it is probably using an older encoding such as Latin-1.
URL-safe Base64
The “+” and “/” characters have special meanings in URLs. The URL-safe variant replaces them with “-” and “_” and drops the trailing “=”. It is used in JSON Web Tokens (JWT) and in URL parameters.
When decoding, both variants are detected automatically. Line breaks, spaces and missing “=” padding are fine too.
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode Base64, so it offers no protection. Never rely on it to hide passwords or personal data.
Can I convert images or files?
Only text is supported for now. If you decode Base64 that contains an image or other binary data, the tool tells you the result is not UTF-8 text.
Is my input uploaded?
No. All conversion happens in your browser.