Base64 Encode / Decode
Encode or decode Base64 with UTF-8-safe handling for Unicode, emojis, and binary payloads. Runs locally in your browser.
Added Apr 18, 2026
Input
Result
Enter a value for mode to see your result.
How it works
Encodes plain text to Base64 or decodes Base64 back to text, fully in your browser with UTF-8 support for international characters.
Step by step
- 01Select Encode to convert plain text to Base64, or Decode to reverse the process.
- 02Type or paste your input in the text area.
- 03The result appears instantly below — click Copy to copy it.
Examples
Encode 'Hello, World!'
The ASCII string 'Hello, World!' encodes to 'SGVsbG8sIFdvcmxkIQ==' in Base64.
Inputs
- Mode:
- encode
- Input:
- Hello, World!
Result
- Output:
- SGVsbG8sIFdvcmxkIQ==
Decode 'SGVsbG8sIFdvcmxkIQ=='
Decoding 'SGVsbG8sIFdvcmxkIQ==' returns the original string.
Inputs
- Mode:
- decode
- Input:
- SGVsbG8sIFdvcmxkIQ==
Result
- Output:
- Hello, World!
Frequently asked questions
What is Base64?
Base64 is an encoding scheme that converts binary data into a set of 64 printable ASCII characters. It is widely used to embed binary data in text formats like JSON, XML, and email.
Is my data safe?
Yes. All encoding and decoding happens in your browser. No data is transmitted to any server.
Does it support emojis and accented characters?
Yes. The encoder converts the text to UTF-8 bytes before encoding, so any Unicode character is handled correctly.