Encode and decode Base64

Choose encode or decode, paste the text, then copy the result.

Base64On this device

Encoding uses UTF-8 bytes, so Arabic and other letters survive a round trip. Decoding expects standard Base64. URL-safe Base64 belongs on the JWT page, which converts it before reading.

How to use it

  1. Paste the text.
  2. Choose encode or decode.
  3. Copy or download the result.

Good to know

  • Spaces and line breaks are ignored when decoding.
  • A file that is not UTF-8 text is refused instead of showing broken letters.
  • Nothing is stored.

Questions

Will emoji survive?

Yes, when you encode and then decode on this page. Both steps use UTF-8.

Does decode accept a data URL?

No. Paste the Base64 itself, without the data: prefix.