Decode Base64: Zm9v

Base64 Input

Zm9v

Decoded Text

foo

The Base64 string "Zm9v" decodes to: "foo"

How it works

Base64 decoding converts a Base64-encoded string back to the original data. Each 4 Base64 characters decode to 3 bytes of original data.

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...