Encoder / Decoder

Base64 and URL encoding/decoding tool.

How This Tool Works

Operation: The Encoder / Decoder tool supports multiple encoding schemes commonly used in web development and data processing. Each transformation uses native JavaScript methods or minimal self-contained logic:

  • Base64 Encode: btoa(unescape(encodeURIComponent(utf8String))) — Converts binary-safe strings to Base64 ASCII representation.
  • Base64 Decode: decodeURIComponent(escape(atob(base64String))) — Reverses Base64 back to UTF-8.
  • URL Encode: encodeURIComponent() — Encodes special characters in URL query parameters.
  • URL Decode: decodeURIComponent() — Reverses URL encoding to plain text.
  • HTML Entities Encode: Replaces <, >, &, ", ' with their HTML entity equivalents.
  • HTML Entities Decode: Creates a temporary