ST

SnapTool.top

Loading...

Base64 Encoder / Decoder

Text
Result

About Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 back to text. Works with Unicode and supports one‑click copy.

Useful for data URLs, embedding small assets and safe transport over text‑only channels.

Common Use Cases

  • Safely transfer binary over text protocols
  • Create data URLs for images or fonts
  • Inspect Base64 payloads from APIs
  • Store small blobs in config or local storage

How It Works

  • Handles Unicode via TextEncoder/TextDecoder
  • Supports both encode and decode
  • Warns when input is not valid Base64
  • One‑click copy of results

FAQ

Is binary supported?

Yes, when represented as Base64 strings.

Will whitespace break decoding?

Whitespace is ignored in decoding.

Is data sent to server?

No, everything runs in the browser.

Can I encode files?

Paste text or use tools that produce Base64 strings for files.