Base64 Encoder & Decoder
Convert text to Base64 encoding and back. Supports UTF-8 text with full Unicode support. All processing happens in your browser.
How It Works
Enter your text or Base64
Type or paste plain text to encode, or a Base64 string to decode.
Encode or decode
Click Encode to convert text to Base64, or Decode to convert Base64 back to plain text. Use Swap to reverse.
Copy the result
The converted output appears instantly. Copy it to your clipboard with one click.
Frequently Asked Questions
What is Base64 encoding?
Base64 is a binary-to-text encoding scheme that represents data as ASCII characters. It is commonly used for embedding data in HTML, transmitting content in URLs, and encoding email attachments.
Is my data sent to a server?
No. All encoding and decoding happens entirely in your browser using JavaScript. Your data never leaves your device.
Does it support UTF-8 and special characters?
Yes. The tool fully supports UTF-8 encoding, so characters from any language and special symbols are handled correctly.
What does the Swap button do?
The Swap button exchanges the input and output, and reverses the operation direction. This makes it easy to quickly switch between encoding and decoding.