360 Secure SkillHub
360 安全技能中心

Hex Tool

提供 hex-tool 命令行工具,用于在十六进制、十进制、二进制和 ASCII 表示之间进行编码与解码,适用于二进制数据调试、文件头检查和字节级数据查看。支持文本转十六进制、十六进制转文本以及进制互转。

分类:效率
dinghaibin
dinghaibin
热度 24.69
最近更新 2026-05-11 17:46:29

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add dinghaibin/hex-tool
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
hex-tool
description
Convert data between hexadecimal and other formats. Use for debugging binary data, examining file headers, and working with hex dumps.

Hex - Hexadecimal Conversion Tool

Convert between hexadecimal, decimal, binary, and ASCII representations. Essential for low-level debugging, binary protocol analysis, and byte-level data inspection.

Usage

hex-tool [options] <value>

Operations

  • Encode text or numbers to hexadecimal
  • Decode hexadecimal back to readable text
  • Convert between hex, decimal, and binary bases

Examples

# Encode text to hex
hex-tool --encode "Hello World"

# Decode hex to text
hex-tool --decode "48656c6c6f"

# Convert decimal to hex
hex-tool --from dec --to hex 255