Online Base64 Encoder & Decoder

Encode plain text to Base64 or decode Base64 strings to readable text with robust UTF-8 and Unicode emoji handling.

Runs locally 0 lines • 0 bytes
Results update as you type
Input
Paste or type
Result
Updates as you type
// Converted text will appear here...
About this tool

About the Base64 Encode / Decode

Encode and decode Base64 strings online with full UTF-8 and emoji support. URL-safe Base64 mode with zero data sent to servers.

How to use the Base64 Encode / Decode

  1. Paste plain text to encode, or a Base64 string to decode.
  2. Choose the direction and enable URL-safe Base64 if the result goes into a URL or JWT.
  3. Copy the converted text.

Base64 Encode / Decode example

Input
Encode: Hello, SnipFerry!
Decode: SGVsbG8gV29ybGQ=
Result
SGVsbG8sIFNuaXBGZXJyeSE=
Hello World

When to use it

  • Reading Base64 values in API responses, environment variables and Kubernetes secrets.
  • Building HTTP Basic authentication headers.
  • Embedding small text payloads in JSON or data URLs.

Tip: Base64 is an encoding, not encryption: anyone can decode it, so never use it to hide passwords.

Full UTF-8 & Emoji Support

Uses standard TextEncoder/TextDecoder to prevent common garbled character bugs with international text.

URL-Safe Base64 Mode

Replaces + and / with - and _ and trims padding = characters for safe URL transmission.

Instant Bidirectional Toggle

Switch seamlessly between Encode mode and Decode mode with one click.

Zero Latency & 100% Privacy

Safely decode credentials, JWT payloads, and API tokens without external network exposure.

FAQ

Common questions

What is Base64 encoding?

Base64 is a binary-to-text encoding scheme that represents binary or text data in an ASCII string format using 64 printable characters.

Why do other online Base64 tools break on emojis or non-English text?

Standard JavaScript btoa() only supports ASCII (Latin-1). SnipFerry uses modern UTF-8 byte encoding so emojis and accents decode flawlessly.

What is URL-Safe Base64?

Standard Base64 contains + and / which have special meanings in URLs. URL-safe Base64 replaces them with - and _ to prevent routing errors.

Is it safe to decode private tokens here?

Yes, 100%. Data never leaves your computer; all encoding/decoding is performed client-side.