Base64 Encoder & Decoder
Free Base64 encoder and decoder with full UTF-8 Unicode support. Encode text to Base64 or decode Base64 strings instantly. URL-safe mode, live conversion, 100% client-side, no signup required.
Loading tool...
What is Base64 Encoder & Decoder?
Base64 Encoder/Decoder converts text to Base64 format and back. Base64 represents binary data using 64 ASCII characters, making it safe to transmit through text-only channels like email, JSON, and HTML. This tool handles full UTF-8 Unicode, so Thai, emoji, and CJK characters encode and decode correctly without corruption.
Key Benefits
- Full UTF-8 and Unicode support
- URL-safe Base64 mode for URLs and filenames
- Instant live conversion as you type
- Automatic padding and whitespace handling
Common Use Cases
- •Embedding binary data in JSON
- •Data URIs for images and fonts
- •JWT token inspection
- •API payload encoding
How to Encode and Decode Base64
- Choose encode or decode: Select "Encode" to convert plain text into Base64, or "Decode" to convert a Base64 string back to readable text.
- Enter your text: Type or paste your text into the input box. For encoding, any Unicode characters (including emoji and Thai) are supported via UTF-8.
- View the result: The converted output appears instantly in the result box as you type. Use the Copy button to copy it to your clipboard.
- Use URL-safe mode: When encoding, toggle "URL-safe Base64" to replace + and / with - and _ and strip padding for safe use in URLs and filenames.
Key Features
- Encode text to Base64 instantly
- Decode Base64 back to readable text
- Full UTF-8 and Unicode support (emoji, Thai, CJK)
- URL-safe Base64 mode (- and _ alphabet)
- Live conversion as you type
- Automatic padding handling for decode