Encoders & Decoders

Base64 Encoder/Decoder

Encode and decode Base64 strings for data transmission

Encode text or data to Base64 and decode it back again. Base64 turns arbitrary bytes into a safe ASCII string, which is why it's used for embedding images in CSS, transmitting binary data in JSON, and encoding the parts of tokens and data URIs.

Runs 100% in your browser · no upload, no tracking, no ads

How to use Base64 Encoder/Decoder

  1. Paste the text or data you want to convert.
  2. Select encode to produce Base64, or decode to reverse it.
  3. See the converted output immediately.
  4. Copy the result for use in your data URI, header, or payload.

Frequently asked questions

Is Base64 a form of encryption?

No. Base64 is an encoding, not encryption. Anyone can decode it. Use it to represent binary data as text, never to protect secrets.

Why is encoded data larger than the original?

Base64 represents every 3 bytes as 4 characters, so encoded output is roughly 33% larger than the input. That's the trade-off for safe text transport.

Can it handle Unicode text?

Yes. Text is interpreted as UTF-8 before encoding, so accented characters, emoji, and non-Latin scripts round-trip correctly.

Related Encoders & Decoders tools