Base64 Encoder / Decoder
Base64 represents binary data with 64 plain characters. Use it for data URIs, email attachments, basic auth headers and APIs that only accept text.
Runs entirely in your browser. Your input and files are not uploaded to any server.
How to use
- Type text, or choose a file to encode.
- Press Encode or Decode. Turn on URL-safe mode for JWTs and URLs (- and _ instead of + and /).
- Copy the result, or download decoded binary data as a file.
Examples
“مرحبا” → 2YXYsdit2KjYpw==
“user:pass” → dXNlcjpwYXNz
Privacy
Your files and text stay in your browser while you use this tool, and ads or anonymous visit statistics do not receive them. Only your favorites and recent tools are saved on your device. Privacy policy
Want proof? Check it with your browser’s Network tab: How to check that a tool does not upload your files
Frequently asked questions
Is Base64 encryption?
No. Anyone can decode it. It is an encoding for transport, not a way to hide data.
Why is the output bigger?
Base64 uses 4 characters for every 3 bytes, so the result is about 33% larger than the input.