jsonwiz.dev

Base64 Encoder / Decoder

Encode text to Base64 or decode Base64 to text — live output as you type.

Plain text
Base64 output

What is Base64?

Base64 is a binary-to-text encoding scheme that represents binary data using 64 printable ASCII characters. Commonly used for embedding images in CSS, encoding email attachments, and passing data in URLs and APIs.

How to use

  1. Choose Encode or Decode tab
  2. Type or paste your input — output updates live
  3. Enable URL-safe mode for use in URLs/JWT
  4. Click Swap to reverse encode ↔ decode

URL-safe Base64

Standard Base64 uses + and / which are reserved characters in URLs. URL-safe Base64 (RFC 4648 §5) replaces + with -, / with _, and omits padding = signs. Used in JWTs, OAuth tokens, and URL parameters.