Encode text to Base64 or decode Base64 to text
Enter your text or Base64 string
Paste the text you want to encode, or a Base64 string you want to decode.
Select encode or decode mode
Choose whether to encode plain text to Base64 or decode Base64 back to text.
Copy the result
Click the Copy button to copy the encoded or decoded output to your clipboard.
Yes, this Base64 tool is completely free with no usage limits. Encode or decode as many strings as you need without any registration or payment required.
Yes, your data is completely secure. All Base64 encoding and decoding operations happen locally in your browser. No data is ever transmitted to our servers or any third party. Your sensitive information stays on your device at all times.
Base64 encoding is commonly used to safely transmit binary data over text-based protocols like email (MIME) or embed images directly in HTML/CSS (data URIs). It converts binary data into ASCII characters, making it safe to include in JSON, XML, URLs, and other text formats that might not handle raw binary data well.
Base64 encoding increases data size by approximately 33% because it represents 6 bits of binary data with 8-bit ASCII characters. For every 3 bytes of input, Base64 produces 4 characters of output. This overhead is the trade-off for being able to safely transmit binary data as text.