Encoding Tools

Base64 Encode

Encode plain text—including Unicode emoji—into Base64 for data URLs, JWT payloads, and API fields that require ASCII-safe strings.

Base64 Encode

Text is encoded to Base64 instantly.

Live

Examples

Text to encode as Base64
Base64-encoded string
Input: 0 chars Output: 0 chars Status: ready

Your text stays in your browser — nothing is uploaded.

How to Use

  1. Paste UTF-8 text into the input area.
  2. Copy the Base64 output from the panel.
  3. Use the encoded string in JSON, headers, or data URIs as required.
  4. Switch to Base64 Decode to verify round-trip accuracy.

Example

Plain text

Hello, 世界!

Base64

SGVsbG8sIOS4lueVjCE=

Before and After Examples

ASCII text

Before

Hello

After

SGVsbG8=

Unicode

Before

café

After

Y2Fmw6k=

Credentials

Before

admin:secret

After

YWRtaW46c2VjcmV0

JSON value

Before

{"ok":true}

After

eyJvaSI6dHJ1ZX0=

What This Tool Does

Base64 Encode represents binary UTF-8 bytes as ASCII characters using the Base64 alphabet plus optional padding equals signs. It is the standard way to embed small text blobs in JSON, XML, email MIME parts, and configuration files that only accept printable ASCII. Decode results with Base64 Decode or chain to URL Encode for transport-safe strings.

Guidelines

Tip

Creating data URI snippets for inline SVG or small images

Practice

Encoding credentials or tokens for HTTP Basic auth examples

Use case

Preparing text fields in API test collections

Note

Embedding Unicode in systems limited to ASCII transport

Common Uses

Best Practices

Paste UTF-8 text into the input area.

Copy the Base64 output from the panel.

Use the encoded string in JSON, headers, or dat…

Switch to Base64 Decode to verify round-trip ac…

Creating data URI snippets for inline SVG or sm…

Encoding credentials or tokens for HTTP Basic a…

Preparing text fields in API test collections

Embedding Unicode in systems limited to ASCII t…

Popular Workflows

Notes & Limitations

All processing runs locally in your browser. Results may vary with edge-case characters or very large inputs.

Frequently Asked Questions

Is Base64 encryption?

No. Base64 is encoding—anyone can decode it. Do not treat it as secrecy.

Is text uploaded to encode?

Encoding runs in your browser; source text never leaves your device.

Why does output end with =?

Padding aligns bit groups; some outputs omit padding but decode the same.

Does it handle emoji?

Yes. UTF-8 bytes encode fully, including multi-byte emoji characters.