Base64 Encoder and Decoder

W Written byManaf Danawar 1 min read

Encode text to Base64 or decode Base64 back to text, with full support for emoji and non-English characters. You can also use URL-safe Base64 or convert a small image into a data URL for HTML and CSS.

How to use it

  1. Type or paste text and press Encode, or paste Base64 and press Decode.
  2. Tick URL-safe if the result will go in a URL or file name.
  3. Or choose a small image to get a data URL you can paste into HTML or CSS.

What Base64 is for

Base64 turns binary data into plain text using 64 safe characters, so it can travel through systems that only handle text, such as email attachments, JSON APIs and data URLs. It is an encoding, not encryption: anyone can decode it, so never use it to hide passwords or secrets. Encoded data is about a third larger than the original.

Frequently asked questions

Does it support emoji and Arabic text?

Yes. Text is converted to UTF-8 before encoding, so any language works.

Is my data uploaded?

No. Encoding and decoding happen in your browser.

Related free tools

← See all free tools

Comments

Archive