Base64 Encoder / Decoder

Encode and decode Base64 strings

FreeNo sign-upDeveloper Tools →

Base64 Encoder / Decoder converts text to Base64 and back. Encoding handles UTF-8 properly, so accented letters, non-Latin scripts and emoji survive the round trip instead of turning into question marks.

The conversion is live, and a Swap button moves the output into the input and flips the direction, which is handy for checking a result. Base64 makes binary-unsafe content safe to carry inside text formats such as JSON, URLs and email; it adds about a third to the length and provides no secrecy.

Advertisement

How to use Base64 Encoder / Decoder

1

Pick a direction

Encode or Decode.

2

Enter the text

Output appears as you type.

3

Copy or swap

Copy the result, or swap to reverse it.

Use Cases

  • Building a Basic authentication header
  • Decoding a value found in a config or token
  • Embedding small text payloads in a URL or JSON field

Frequently Asked Questions