B64
Base64 Encoder/Decoder
Encode and decode text and files with Base64 — full UTF-8 support and a URL-safe mode.
Plain text
1
Base64
This tool runs entirely in your browser. In encode mode you can upload a file (including images); in decode mode, the output can be downloaded as the original binary file.
ABOUT
Base64 encoder and decoder for text and files
Base64 turns binary data into transport-safe text and shows up in Basic Auth headers, tokens, email and Data URIs. This tool handles text with full UTF-8 support and files, produces ready-made Data URIs and supports the URL-safe variant used inside JWTs. Remember that Base64 is an encoding, not encryption.
HOW TO
How to use it
- Type text or load a file and choose encode or decode.
- Enable URL-safe mode when the result goes into a URL or a JWT.
- Copy the output, or for images take the ready-made Data URI.
FAQ
Frequently asked questions
Is Base64 secure?
No. Anyone can reverse it. Use real encryption to protect data — Base64 only changes the representation.
What is the difference between standard and URL-safe Base64?
URL-safe replaces
+ and / with - and _ and usually drops the = padding.Why is the output larger?
Base64 maps every 3 bytes to 4 characters, so the data grows by about 33%.