Base64 Encoder & Decoder

Encode and decode Base64 strings online for free. Handles Unicode text, runs entirely in your browser with no server calls.

Text to Base64

0characters

All encoding and decoding happens locally in your browser. No data is sent to any server.

What Base64 encoding does

Base64 represents binary data using 64 safe ASCII characters, so bytes can travel through channels that only accept text — data URIs, JSON, JWT parts, email attachments. This tool encodes text to Base64 and decodes it back, handling Unicode correctly, and runs entirely in your browser with no server calls.

How to encode and decode

  1. Paste text to encode it to Base64.
  2. Or paste a Base64 string to decode it back to plain text.
  3. Copy the result with one click.

Base64 is not encryption

This is the most important thing to know: Base64 is encoding, not encryption. Anyone can decode it instantly — it hides nothing. It exists to make binary data survive text-only transport, not to protect it. Never use Base64 to "secure" a secret; encode is reversible by design.

Frequently asked questions

Is Base64 secure?

No — it's trivially reversible and provides no security. Use real encryption for secrets; Base64 only makes binary data text-safe.

Why does encoding grow the size?

Base64 uses 4 characters for every 3 bytes, so encoded output is about 33% larger than the input.

Does it handle emoji and Unicode?

Yes — it encodes UTF-8 correctly, unlike a raw btoa() call which chokes on characters outside Latin-1.

SharePost

More tools like this