Base64 Encoder & Decoder
Encoders & Decoders100% Client-SideEncode and decode plain text and files to/from Base64 with UTF-8 and URL-safe support.
Plain Text Input23 chars
Base64 Result
0 chars
SponsorNon-intrusive
What is Base64 Encoder & Decoder?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. This tool supports full UTF-8 encoding (including emojis and Vietnamese characters), standard Base64, and URL-safe Base64 (replacing + with - and / with _).
Key Features
Live bidirectional Encode and Decode modes
Full UTF-8 Unicode character support without encoding corruption
URL-safe Base64 mode (RFC 4648 §5)
Character and byte size counter for input and output
Quick swap input/output button
Common Use Cases
- Encoding Basic Auth credentials for HTTP headers
- Embedding small icons/images directly into CSS or HTML
- Decoding API tokens and encoded query parameters
Frequently Asked Questions
No! Base64 is an encoding scheme, not encryption. Anyone can decode Base64 back to original plain text. Do not use it alone to store passwords or confidential secrets.