← Back to Tools

Base64 Encode / Decode

Encode text to Base64 or decode Base64 to text. All processing happens in your browser.

Encode to Base64
Enter text to convert to Base64 encoding.
Decode from Base64
Enter Base64 string to decode to text.

Base64 Encode and Decode

Base64 encodes binary data as ASCII text. Used in emails, data URLs, APIs, and storing binary in JSON. This tool encodes text to Base64 and decodes Base64 back to text. No uploads—everything runs in your browser. Useful for embedding small images, passing data in URLs, or debugging encoded strings.

How to Encode or Decode Base64

  1. Encode: Type or paste text in the input, click "Encode". Copy the Base64 result.
  2. Decode: Paste a Base64 string, click "Decode". See the original text. Invalid Base64 shows an error.

When to Use

Encode credentials for API auth, decode JWT payloads (before using a JWT decoder), create data URLs for images, debug webhook payloads, or work with APIs that use Base64. Handles Unicode (UTF-8). All processing in your browser.