About the Base64 Encoder & Decoder
Base64 turns any text or binary data into plain letters and numbers. It is used in data URLs, email attachments, JWTs and HTTP Basic authentication.
This tool converts as you type, supports all Unicode characters (UTF-8) including emoji and non-Latin scripts, and handles the URL-safe variant. Everything runs locally in your browser — nothing you paste is sent to a server, so it is safe to use with API keys, tokens and private data.
How to use the Base64 Encoder & Decoder
- Choose Encode or Decode.
- Type or paste your input — the output updates instantly.
- Tick “URL-safe” if needed, then copy the result.
Frequently asked questions
Is Base64 encryption?
No. Base64 is an encoding, not encryption — anyone can decode it. Never use it to protect passwords or secrets.
Why is Base64 output longer than the input?
Base64 represents every 3 bytes with 4 characters, so encoded data is about 33% larger.
What is URL-safe Base64?
A variant that uses - and _ instead of + and /, and usually drops the = padding, so the result is safe in URLs and file names.