Developer tools · Encoding
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to plain text instantly. Supports UTF-8 and international characters. Runs entirely in your browser.
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
- 1Select Encode to convert plain text to Base64, or Decode to reverse the process.
- 2Type or paste your input in the text area.
- 3The 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
- text:
- Hello, World!
Result
- output:
- SGVsbG8sIFdvcmxkIQ==
Decode 'SGVsbG8sIFdvcmxkIQ=='
Decoding 'SGVsbG8sIFdvcmxkIQ==' returns the original string.
Inputs
- mode:
- decode
- text:
- 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.