"undefined" in Base64

Base64 Encoded

dW5kZWZpbmVk

"undefined" encoded in Base64 is: dW5kZWZpbmVk

How it works

Base64 encoding converts binary data to ASCII text using 64 characters (A-Z, a-z, 0-9, +, /). Each 3 bytes of input becomes 4 Base64 characters. Padding with "=" is added when needed.

"undefined"input
dW5kZWZpbmVkBase64 output

Common use cases

  • Encoding data in URLs and email
  • Storing binary data in JSON or XML
  • HTTP Basic Authentication headers
  • Embedding images in HTML/CSS
  • JWT token payloads

Try the encoder

Loading tool...