Base64 Encoder / Decoder
Encode and decode Base64 strings with full UTF-8 support. Your text never leaves your browser.
Encode or Decode Base64
No output yet
Paste some text and click Encode or Decode to get started.
What this tool does not do
- Base64 is not encryption — it is an encoding scheme and can be reversed easily.
- Very large files may slow down the browser.
- Binary file encoding (images, PDFs) is not supported — text input only.
How It Works
Paste your text
Enter or paste any text into the input area.
Click Encode or Decode
Convert text to Base64 or decode Base64 back.
Copy or download
Grab the result instantly or save it as a file.
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents binary data in an ASCII string format. It is commonly used for transmitting data over media that are designed to handle textual data.
Does this tool support UTF-8 characters?
Yes. The tool properly handles UTF-8 characters and non-ASCII text by first encoding the string as UTF-8 before applying Base64 encoding. This ensures emoji and international characters work correctly.
What happens if I try to decode invalid Base64?
The tool will show an error message if the input is not valid Base64. It validates the input before attempting to decode and handles errors gracefully.
Is my text uploaded to a server?
No. All processing happens entirely in your browser. Your text never leaves your device.