← Back to Home

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text instantly

How to use

  1. Choose Encode or Decode to set the direction.
  2. Paste text (encode) or a Base64 string (decode) into the box.
  3. Results appear instantly; copy with one click.
  4. Switch modes to round-trip the same input quickly.

Examples

Encode

Text 'hello world' → Base64 aGVsbG8gd29ybGQ=

Decode

Base64 'U3BhY2VzICYgTGluZXM=' → Text 'Spaces & Lines'

API headers

Encode small payloads for basic auth or data URIs.

FAQs

What is Base64?

A text-safe encoding of binary data using ASCII characters.

Why did decoding fail?

Input may be invalid or missing padding (=). Check characters and spacing.

Is my data stored?

No. All encoding/decoding happens locally in your browser.

Related tools