Base64 Encoder & Decoder

Encode any text to Base64 or decode Base64 back to text.

100% in your browser · No uploads
Output
SGVsbG8sIFV2ZWxpYSE=

What this does

Base64 Encoder & Decoder converts text to Base64 and back. UTF-8 safe — handles emoji, accents, and non-Latin scripts correctly.

When to use it

  • Embedding small files or text in a URL or email
  • Decoding a Base64 string from an API response or token
  • Inspecting the payload of a JWT (header and body are Base64-encoded)
  • Encoding text for HTTP Basic Auth headers

Frequently asked

Is Base64 encryption?

No. Base64 is an encoding, not encryption. Anyone with the encoded string can decode it back to the original.

Why does my Base64 string have padding (=)?

Base64 output is always a multiple of 4 characters. The = signs at the end pad short inputs to the right length.