BrowserLeaksUSBrowserLeaksUS

Base64 Converter

What this tool does

Encodes text to Base64 or decodes Base64 back to text - fully in your browser. Supports URL-safe Base64 variant for tokens and query strings.

Who it's for: Developers embedding binary data in JSON or URLs, engineers working with JWTs, and anyone pasting mystery Base64 strings from logs.

When to use

  • •Encode a small image or binary as a data URI.
  • •Decode a base64-encoded email body or HTTP header value.
  • •Embed credentials into a Basic Auth header.
  • •Inspect the contents of a Data URI.

How it works

  1. 1Paste text in the input area.
  2. 2Toggle encode/decode.
  3. 3Result updates live as you type.
  4. 4All computation is local - no data leaves your browser.

Tips

  • •Base64 is encoding, NOT encryption - never use it to hide secrets.
  • •Base64 adds ~33% size overhead - avoid for large payloads.
  • •Use URL-safe variant (- and _) inside query strings and JWTs.