Skip to content

Base64 Encoder

Encode text to Base64 (UTF-8) in your browser.

Useful for data URIs and transport-safe text. Nothing is uploaded.

What is Base64 encoding?

Base64 represents binary or text using a safe ASCII alphabet.

How to encode Base64

  1. 1

    Enter text

    Paste the UTF-8 text to encode.

  2. 2

    Encode

    Bytes are Base64-encoded in your browser.

  3. 3

    Copy output

    Copy the Base64 string for APIs or data URLs.

Base64 Encoder FAQ

Binary files?

This page encodes text. For files, convert to text/data-URL workflows carefully.

URL-safe Base64?

Output is standard Base64; swap +/ and padding yourself if a API requires URL-safe form.

Uploaded?

No.

Related tools?

Base64 Decoder; URL Encoder.