Base64 Toolkit

v1.0.0

Base64 encoding and decoding toolkit. Encode/decode text, URL-safe Base64, and image to Base64 conversion.

0· 142· 1 versions· 0 current· 0 all-time· Updated 7h ago· MIT-0

Install

openclaw skills install base64-toolkit

Base64 Toolkit

A comprehensive Base64 encoding and decoding tool for developers.

Features

  • Encode - Convert text to Base64
  • Decode - Convert Base64 back to text
  • URL-Safe - URL-safe Base64 encoding (+/- instead of /+)
  • Image to Base64 - Convert images to Base64 data URI

Usage

python3 skills/base64-toolkit/scripts/base64_toolkit.py <action> [options]

Actions

ActionDescription
encodeEncode text to Base64
decodeDecode Base64 to text
encode-urlURL-safe Base64 encoding
decode-urlURL-safe Base64 decoding
image-encodeConvert image to Base64 data URI

Options

OptionTypeDefaultDescription
--inputstring-Input string or file path
--fileboolfalseTreat input as file path

Examples

# Encode text
python3 skills/base64-toolkit/scripts/base64_toolkit.py encode --input "Hello, World!"

# Decode Base64
python3 skills/base64-toolkit/scripts/base64_toolkit.py decode --input "SGVsbG8sIFdvcmxkIQ=="

# URL-safe encode
python3 skills/base64-toolkit/scripts/base64_toolkit.py encode-url --input "Hello+World?"

# URL-safe decode
python3 skills/base64-toolkit/scripts/base64_toolkit.py decode-url --input "SGVsbG8rV29ybGQ_"

# Image to Base64
python3 skills/base64-toolkit/scripts/base64_toolkit.py image-encode --input /path/to/image.png

Use Cases

  1. API authentication - Encode credentials for Basic Auth
  2. Data transmission - Safely transmit binary data as text
  3. URL parameters - Use URL-safe Base64 in URLs
  4. Image embedding - Embed images in HTML/CSS as data URIs
  5. JWT tokens - Decode and inspect JWT payload

Current Status

Ready for testing.

Version tags

latestvk973nsznzf76tb47w50th0615983f8xp

Runtime requirements

🔐 Clawdis
Binspython3