Base64 Encoder & Decoder

Convert text to and from Base64. Text is handled as UTF-8, so accented letters, other alphabets and emoji round-trip correctly.

  • Free, no sign-up
  • Runs in your browser
  • Verified

How to use it

  1. Choose encode or decode.
  2. Paste your input.
  3. Copy the result.

How it works

Encoding turns the UTF-8 bytes of your text into the Base64 alphabet (RFC 4648). The URL-safe form replaces + and / with - and _ and drops the = padding. Decoding accepts both forms and ignores whitespace.

Examples

  • “Hello” encodes to SGVsbG8=.
  • “héllo” encodes to aMOpbGxv.

Limitations

  • Base64 is encoding, not encryption. Anyone can decode it.
  • Decoding fails if the result is not valid UTF-8 text (for example, a decoded image).

References

Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].