Base64 Encoder / Decoder

Encode and decode Base64 — for tokens, images and data URIs.

Free forever No signup Runs in your browser
The short answer

Base64 turns binary data into plain ASCII text — that’s how images hide inside data URIs and how email attachments travel. ‘Hello’ becomes ‘SGVsbG8=’. It’s encoding, not encryption: anyone can decode it, so never use it for secrets.

How to use the base64 encoder / decoder

  1. Paste your text.
  2. Choose encode or decode.
  3. Copy the result.

Base64 Encoder / Decoder — FAQs

What is Base64 used for?

Embedding images in HTML/CSS (data URIs), email attachments (MIME), and safely transporting binary data through text-only systems.

Is Base64 encryption?

No — it’s trivially reversible encoding. It hides nothing from anyone; it just makes binary data text-safe.

Why does output end with =?

Padding: Base64 works in 3-byte chunks, and = fills the last chunk. One or two = signs are normal.

Is my data uploaded?

No — encoding happens entirely in your browser.

Keep exploring

People who used this also opened: