Utility Tool

Base64 Encoder/Decoder

Encode and decode Base64 strings. Supports text, files, and URL-safe encoding. Everything runs locally in your browser.

Standard Base64

Uses characters A-Z, a-z, 0-9, +, / and = for padding. Standard encoding for data transfer.

URL-Safe Base64

Replaces + with -, / with _, and removes padding. Safe for use in URLs and filenames.

Common Use Cases

  • • Data URIs: Embed images directly in HTML/CSS
  • • API Payloads: Encode binary data for JSON transmission
  • • Email Attachments: MIME encoding for email content
  • • JWT Tokens: Decode JWT payload and header sections
  • • Credentials: Basic HTTP authentication encoding