In short
To Base64-encode text, choose Encode and paste your text; to decode, choose Decode and paste the Base64 string. The tool handles UTF-8 correctly (including accents and emoji) and offers URL-safe Base64, which uses - and _ instead of + and /.
How to use the Base64 Encode & Decode
- 1Pick Encode or Decode.
- 2Paste your text or Base64 string.
- 3Copy the result, or press Swap to reverse it.
What Base64 is for
Base64 represents binary data using 64 printable characters so it can travel safely through systems built for text, such as email, JSON, URLs and HTTP headers. It is an encoding, not encryption: anyone can decode it.
Frequently asked questions
Is Base64 secure?
No. Base64 only changes how data is written; it provides no secrecy. Never use it to hide passwords.
What is URL-safe Base64?
A variant that replaces + with - and / with _ and drops = padding, so the result can be used in URLs and filenames. JWT tokens use it.
Is my text or data sent anywhere?
No. This tool runs entirely in your browser using JavaScript. Nothing you type is uploaded, stored or logged.
Last updated

