All Tools / Developer

Base64 Encoder / Decoder

Encode text to Base64 or decode it back. UTF-8 safe, and files become embeddable data URLs.

How to use

  1. Type or paste text into the input box.
  2. Click Encode to get its Base64 form, or Decode to turn Base64 back into readable text.
  3. Use Swap to move the result back into the input, and Copy result to grab it.
  4. For files, pick any file to receive a data URL ready for embedding.

Frequently asked questions

What is Base64 encoding used for?
Base64 represents binary data as ASCII text, safe to transmit over text-only protocols: email attachments, JSON fields and data URLs in HTML or CSS.
Does this tool support non-English characters?
Yes. The tool uses UTF-8, so Chinese, Japanese, emoji and any Unicode characters work correctly - unlike many simple converters that only handle Latin text.
Can I convert a file to Base64?
Yes. Pick a file and the tool produces a data URL (e.g. data:image/png;base64,...) you can embed directly into HTML, CSS or JSON. Files never leave your device.