Base64 encoder
Encode text to Base64 or decode it back, all in your browser.
Your text is processed only in your browser. Nothing is uploaded.
How to use this tool
- Pick Encode to turn text into Base64, or Decode to read Base64 back as text.
- Paste your text and click Convert.
- Copy the result.
What Base64 is
Base64 represents binary or text data using 64 safe characters (A to Z, a to z, 0 to 9, plus and slash). It is used to carry data through systems that expect plain text, such as embedding small images in CSS or sending tokens in a URL. This tool handles full Unicode text correctly, so emoji and accented characters survive the round trip.
A real example
A developer needs to drop a small SVG icon directly into a stylesheet instead of linking a separate file. Encoding the markup to Base64 lets it sit inside a data URL, saving a network request. Decoding does the reverse when you need to read what a token or data URL actually contains.
Common questions
Why did decoding fail?
The input was not valid Base64, often because it was truncated or included stray characters. Make sure you paste the complete string.
Does it handle emoji and accents?
Yes. Text is converted through UTF-8 first, so any Unicode character encodes and decodes correctly.