Quick Start

The encoding toolkit (HeronTool) provides a one-stop solution. Use [Image to Base64] to upload an image and generate a Data URI; use [Base64 Encoder/Decoder] for plain text—paste content and click encode or decode.

Common Use Cases

Text & URL

  • When links contain Chinese or special characters, use [URL Encoder/Decoder] to ensure compatibility.
  • [HTML Encoder] escapes HTML tags to prevent XSS injection.
  • [Text to Unicode Escape] is useful for storing non-ASCII characters.

Security & Conversion

  • [AES Encrypt / Decrypt] requires setting a key and IV—ideal for sensitive data.
  • [Basic Auth Generator] quickly builds an Authorization header.
  • [Text to Binary] shows ASCII binary sequences for debugging or teaching.

Step-by-Step Example

  1. Open [Base64 Encoder/Decoder], paste "Hello" into the input.
  2. Click "Encode"—output shows "SGVsbG8=".
  3. Copy the result, use [Image to Base64] to upload a small icon, and embed the returned string directly in CSS.

FAQ

Q: Why does URL encoding turn spaces into %20?
A: Spaces are not allowed in URLs; %20 is the standard escape.

Q: AES encryption results differ each time?
A: If a random IV is used, the ciphertext will vary even for the same plaintext—this is a normal security feature.