established

Base64 Encode / Decode

Encodes or decodes Base64 text, or encodes a whole file to a Base64 string.

Why it exists

Embedding binary data in JSON, a URL, or a data-URI image, or decoding Base64 you've received back to its original form.

How to use it

Type or paste into the text box and click Encode or Decode, or drop a file to encode it whole.

Good to know

Decodes text as UTF-8, so encoded emoji and non-Latin text round-trip correctly. Invalid Base64 shows an error rather than garbled output.

Open the tool