← 返回
未分类

Base64 Toolkit

Base64 encoding and decoding toolkit. Encode/decode text, URL-safe Base64, and image to Base64 conversion.
Base64编解码工具包。支持文本编解码、URL安全Base64及图片转Base64。
freeter226 freeter226 来源
未分类 clawhub v1.0.0 1 版本 99726.8 Key: 无需
★ 0
Stars
📥 365
下载
💾 4
安装
1
版本
#latest

概述

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.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-31 06:58 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 72 📥 181,470
dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 677 📥 325,912
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,426