Base64 Encoder / Decoder
Instantly encode plain text to Base64 or decode Base64 strings back to readable text. Works with UTF-8 encoding for full international character support.
Base64 Encoder / Decoder
Encode plain text to Base64 or decode Base64 back to readable text
What is Base64?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It's commonly used to embed images or files in HTML/CSS, transmit data in APIs, and store complex data in text-based formats.
This tool works with UTF-8 encoded text. For best results with special characters, ensure your text is properly encoded. Use the swap button to quickly switch between encoded and decoded views.
About Base64 Encoding
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format using 64 different characters (A-Z, a-z, 0-9, +, /, and = for padding). It's widely used for transmitting data over media that are designed to handle textual data.
Web APIs
Encode binary data in JSON payloads and REST API responses
Email Attachments
MIME uses Base64 to encode email attachments as text
Data URIs
Embed images directly in HTML/CSS as data: URLs
Free online Base64 Encoder and Decoder. Convert text to Base64 and decode Base64 to text instantly. Supports UTF-8, real-time bidirectional conversion, error handling for invalid input, and clipboard copy support. Perfect for developers working with APIs, JWT tokens, and data URIs.