Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 to text — live output as you type.
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
- Choose Encode or Decode tab
- Type or paste your input — output updates live
- Enable URL-safe mode for use in URLs/JWT
- 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.