🔐 编码转换工具Encoding & Conversion Tools

共 31个免费在线工具

ASCII/Unicode/字符编码转换ASCII / Unicode / Character Encode Convert在字符与码点之间互转,便于理解字符集、调试编码问题。注意码点(如 U+1F600)只是 Unicode 编号,不是文件字节;…Convert between characters and code points to understand character sets and debug encoding. Note that a code point (e.g. U+1F600) is only a Unicode number, not file bytes; UTF-8 encodes it into 1-4 bytes depending on range, with emoji usually 4 bytes. File and network costs are counted in bytes Base64编码解码Base64 Encode / Decode支持普通 Base64 与 Base64Url 格式,正确处理 Unicode 文本Encode and decode Base64 and Base64URL, correctly handling Unicode text URL编码解码URL Encode / Decode支持 URL 组件编码(encodeURIComponent)与完整 URL 解析Encode URL components with encodeURIComponent or decode a full URL 进制转换位数Number Base Conversion Digits Calculator输入一个整数与目标进制(2 至 36),工具计算该数在目标进制下所需的位数,比较二进制、十六进制等表示同一数值的紧凑程度Compute the number of digits an integer needs in a target radix (2-36), comparing binary and hex compactness 进制位数计算Radix Digits输入需要区分的状态总数 N 与采用的进制,工具计算表示这些状态所需的最少位数(如 256 种状态在十六进制下需 2 位),用于编码设计Compute the minimum digits needed to represent N states in a chosen radix (e.g. 256 states need 2 hex digits) 校验和碰撞概率Check and Collision Probability输入校验和位数 n 与数据量,估算随机错误下未被检出的漏检概率,说明其仅适用于随机错误、不能防蓄意篡改,用于通信可靠性评估Estimate the undetected-error probability from checksum bit width and data volume; suitable for random errors only, not adversarial tampering 汉明码校验位Hamming Code Checksum Bits输入数据位数,按 2^r ≥ m+r+1 计算纠正单比特错误所需的汉明校验位数 r,用于差错控制编码设计与内存 ECC 教学Compute the Hamming parity bits r from data bits m using 2^r >= m + r + 1 for single-bit error correction Base58 校验长度Base58 Check Length输入原始字节长度,工具按 Base58 编码规则并叠加 4 字节校验和,估算编码后字符串长度,常用于比特币等加密货币地址长度预估From raw byte length, estimate the Base58-encoded string length including the 4-byte checksum, as used for Bitcoin-style addresses URL 编码长度估算URL Encode Length Estimate输入可能含中文、空格或符号的 URL 字符串,工具按 RFC 3986 估算编码后长度(仅字母数字及 -_.~ 安全),便于控制请求行长度Estimate the RFC 3986 encoded length of a URL containing CJK, spaces or symbols (only alphanumerics and -_.~ are safe) CRC 校验位宽CRC Checksum Width输入 CRC 标准名称(如 CRC-8、CRC-16、CRC-32),工具给出对应的校验位宽与十六进制表示长度,便于在通信或存储中规划校验字段Look up the checksum width and hex length for common CRC standards (CRC-8, CRC-16, CRC-32) for protocol design URL 编码空间占比URL输入原始 URL 或参数串,工具估算经百分号编码后相比原文的体积增长比例,帮助你预判长参数在链接中的膨胀程度Estimate the percent-encoding size growth of a URL or query string to anticipate parameter bloat in links Base64 编码长度Base64 Encode Length输入待编码数据的字节数,工具按每 3 字节转为 4 字符的规则估算 Base64 编码后的字符数,便于判断传输与存储开销Estimate the Base64 character count from input bytes (3 bytes to 4 chars) to gauge transfer and storage overhead 编码冗余度Coding Redundancy比较平均码长与信源信息熵,按 (平均码长−熵)/熵 评估编码冗余度,冗余越低编码越优,适合通信系统编码方案的效率分析与优化Compare average code length with source entropy to compute redundancy (avgLen - H) / H; lower redundancy means a better code Base64 编码大小Base64 Encode Size按原始大小、MIME 头与换行开销百分比估算 Base64 编码后的体积Estimate the Base64 output size in KB including line-break overhead, with header and padding options Base32 编码长度估算Base32 Encode Length Estimate按输入字节数估算编码后字符串长度,用于传输与存储容量规划Estimate the encoded string length from input bytes per Base32 rules for transfer and storage capacity planning 二维码版本容量QR Code Version Capacity Calculator输入要编码的字符数量与编码模式(数字、字母或字节),工具估算所需的最低 QR 码版本号与容量等级,便于生成合适尺寸的二维码Estimate the minimum QR version and capacity level from character count and encoding mode (numeric, alphanumeric, byte) 凯撒密码移位Encode输入英文字母与移位量(0–25),工具演示凯撒密码下字母在字母表中的位置偏移结果,用于教学理解古典密码的移位机制Shift English letters by 0-25 to demonstrate the Caesar cipher, for teaching classical substitution ciphers 哈希输出长度Hash Output Length速查计算器。列出常见哈希算法(MD5/SHA 系列等)的输出长度,输入算法即给出字节与位数,用于预估哈希值存储空间与摘要长度选型Look up the output length (bytes and bits) of common hash algorithms (MD5, SHA family) for hash value storage planning 哈希碰撞概率Hash Collision Probability输入哈希空间位数与已存入的条目数量,工具用生日攻击模型估算发生碰撞的概率,提醒在 n 接近 √2^bits 时风险显著上升Estimate birthday-paradox collision probability from hash-space bits and stored item count; risk rises sharply as n approaches the square root of 2^bits 数据压缩率Compression Ratio输入原始大小与压缩后大小,计算压缩率与压缩比,量化压缩效果,压缩率越接近 100% 表示压缩越强,用于评估存储与传输优化方案Compute the compression ratio and rate from original and compressed sizes to quantify compression effectiveness 图片转 Base64Image to Base64选择或拖入图片,本地转换为 Base64 编码字符串,可预览、查看大小并一键复制,适合内嵌图片到 HTML/CSS/小程序Convert an image locally to a Base64 string with preview, size display and one-click copy for embedding in HTML/CSS JWT 长度估算JWT Length Estimate按 header、payload 与签名的字节数估算 JWT 编码后的字符串长度,便于控制请求头与 URL 体积Estimate the encoded JWT length from header, payload and signature byte sizes, including the roughly 33% Base64 overhead HTML 实体长度HTML输入包含 &、<、>、" 等特殊字符的文本,工具估算转义为 HTML 实体(如 &amp;)后的长度增量,便于预估网页转义后的体积变化Estimate the escaped length when special characters (&, <, >, quotes, etc.) are converted to HTML entities 二进制/十六进制转 ASCIIBinary to ASCII将二进制(每 8 位一组)按 ASCII 码表映射为字符;结果即对应的文本。协议报文解析:把抓包得到的 8 位二进制/十六进制串还原为可读 ASCIIPaste a continuous bit or hex string and choose the radix to decode it into ASCII text (8 bits or 2 hex digits per character) CRC 检错能力估算CRC Error Detection Capability Estimate输入 CRC 校验位宽(如 16 或 32)与信道随机误码率,工具估算漏检概率与附加开销,帮助比较 CRC-16 与 CRC-32 的检错强度Estimate undetected-error probability and overhead from CRC width (e.g. 16 or 32) and channel bit error rate, comparing CRC-16 with CRC-32 哈夫曼平均码长Huffman Average Code Length输入各符号的出现频率或概率,工具按哈夫曼编码估算平均码长与压缩效率,帮你评估数据在无损压缩中的预期表现Estimate the average code length and compression efficiency from symbol frequencies per Huffman coding UTF-8 字节数UTF-8 Byte Length Calculator输入ASCII字符与多字节字符(如中文、emoji)的数量,按UTF-8变长编码规则估算文本占用的字节数,便于预估存储与传输体积Estimate the UTF-8 byte size from counts of ASCII and multibyte characters (CJK, emoji) for storage estimation 信息熵(香农)Entropy (Shannon)输入离散信源各符号概率,计算平均信息量 H(bit/符号),概率应和为 1、零概率项记 0,是数据压缩与加密强度分析的基础指标Compute Shannon entropy H (bits/symbol) from discrete source symbol probabilities (probabilities should sum to 1; zero-probability terms count as 0) ASCII 可读性检测ASCII Readability Detect估算文本中 ASCII 与可打印字符占比,辅助判断编码与文本内容可读性Estimate the share of ASCII and printable characters in text to judge encoding and content readability 汉明距离估算Hamming Distance Estimate输入两个等长二进制串,估算其差异比特数(汉明距离),差异率可用采样统计近似,适用于编码纠错、数据传输可靠性与字符串相似度分析Estimate the differing-bit count of two equal-length binary strings for error-correction and link-reliability analysis 摩斯电码时长Morse Code Duration输入英文单词或字符序列,工具按摩斯电码的点、划与间隔时长换算总传输时间,帮助你理解报文在不同速率下的发送耗时Convert an English word or character sequence into Morse dot/dash and gap timings to estimate total transmission time
📖关于「编码转换工具」About Encoding & Conversion Tools▼

📝栏目简介

编码转换工具集合收录了 31 个免费在线工具,覆盖编码转换场景下的常见计算、换算与查询需求。无论你是相关领域的从业者、学生还是普通用户,都能在这里找到即用即走的实用小工具。所有工具纯前端运行,数据不上传服务器,保护隐私安全。This collection gathers 31 free online Encoding & Conversion tools for everyday calculations, conversions and lookups. Whether you are a professional, a student or a casual user, you will find handy tools you can use right away. Everything runs client-side — no data is uploaded.

✨核心功能与适用场景

本页收录的编码转换工具包括(部分代表工具):Featured Encoding & Conversion tools on this page include:

  • ASCII/Unicode/字符编码转换ASCII / Unicode / Character Encode Convert
  • URL编码解码URL Encode / Decode
  • 进制转换位数Number Base Conversion Digits Calculator
  • 校验和碰撞概率Check and Collision Probability
  • Base58 校验长度Base58 Check Length
  • CRC 校验位宽CRC Checksum Width
  • URL 编码空间占比URL
  • 编码冗余度Coding Redundancy
  • Base32 编码长度估算Base32 Encode Length Estimate
  • 凯撒密码移位Encode
  • 哈希输出长度Hash Output Length
  • 数据压缩率Compression Ratio
  • JWT 长度估算JWT Length Estimate
  • HTML 实体长度HTML
  • CRC 检错能力估算CRC Error Detection Capability Estimate
  • UTF-8 字节数UTF-8 Byte Length Calculator
  • ASCII 可读性检测ASCII Readability Detect
  • 汉明距离估算Hamming Distance Estimate

这些工具帮助你快速完成编码转换相关的常见任务,无需记忆复杂公式或手动换算,输入即可得结果。每款工具都提供示例参数与常见场景预设,可一键填入后再按需调整。These tools help you complete Encoding & Conversion tasks quickly — no formulas to memorise and no manual conversion, just enter your values and get the result. Every tool includes example parameters and common-scene presets that you can load and adjust.

❓常见问题

编码转换分类下的工具需要下载或注册吗?Do Encoding & Conversion tools require any download or sign-up?

不需要。本页 31 个编码转换工具(如ASCII/Unicode/字符编码转换、URL编码解码、进制转换位数、校验和碰撞概率、Base58 校验长度、CRC 校验位宽)都是纯前端页面,打开网页即可使用,无需安装软件、无需注册账号;输入的数据只在你的浏览器内处理,不会上传服务器。No. The 31 Encoding & Conversion tools on this page (including ASCII / Unicode / Character Encode Convert, URL Encode / Decode, Number Base Conversion Digits Calculator, Check and Collision Probability, Base58 Check Length, CRC Checksum Width) are pure front-end pages: just open them and start using. No software to install, no account needed, and anything you enter is processed inside your browser — never uploaded.

编码转换工具的结果能直接用于医疗、法律或财务决策吗?Can the results be used directly for medical, legal or financial decisions?

不能直接作为决策依据。本页工具多为通用计算、换算与查询,结果仅供日常参考;涉及诊断、诉讼、投资、工程验收等专业场景,请以权威标准、原始仪器读数或持证专业人士的结论为准。所有运算都在本地完成,数据不上传。No — treat them as everyday references only. Most tools here are general-purpose calculators, converters and lookups; for diagnosis, litigation, investment or engineering acceptance, rely on authoritative standards, raw instrument readings or a licensed professional. Everything is computed locally and nothing is uploaded.