tool / encoding

Base64 Encoder / Decoder

Encode text or files to Base64, or decode Base64 back to text, images, or downloadable files. Supports Standard, URL-safe, and MIME variants. Nothing leaves your browser.

← Back to tools
Input
Output

Encode vs Decode

Encode converts raw text or a binary file into a Base64 string safe for transport in JSON, URLs, or email. Decode reverses that — recovering the original text, image, or binary file from a Base64 payload.

Variants

  • Standard — uses + and /, padded with =. Default for most APIs and data URIs.
  • URL-safe — replaces +→- and /→_, no padding. Safe for query strings and JWT tokens.
  • MIME — inserts a line break every 76 characters. Required by email (RFC 2045) and some legacy systems.

How To Use

  • Select Encode or Decode mode at the top.
  • Choose Text for strings or File for binary files.
  • Pick a variant and (for decode) a charset.
  • Click Encode / Decode — output renders instantly.
  • Copy to clipboard or download the result.

// huntermussel

Need to automate data encoding across your pipelines?

HunterMussel builds intelligent automation workflows that handle encoding, transformation, and API integration at scale — so your team stops doing it manually.

Explore Intelligent Automation →

Advertisement · Publicidade