🔍

首页Home

🔐 编码与加密Encoding & Crypto (第 2 页)(page 2)

🌀

Whirlpool 哈希生成器Whirlpool Hash Generator

在浏览器本地计算文本的 Whirlpool 哈希(最终 2003 版,ISO/IEC 10118-3 标准),输出 512 位 / 128 位十六进制。Whirlpool 由 AES 的设计者之一等人设计,基于类 AES 结构,适合校验和、文件指纹和与支持 Whirlpool 的软件(如 VeraCrypt)配合。数据不会上传。Compute the Whirlpool hash of text locally in your browser (the final 2003 version, ISO/IEC 10118-3), giving a 512-bit / 128-hex-character digest. Designed by one of the AES authors and others on an AES-like structure, Whirlpool suits checksums, file fingerprints and working with software that supports it (such as VeraCrypt). Nothing is uploaded.

🔢

文字转任意进制(ASCII 转 2–36 进制编码)Convert ASCII to Arbitrary Base

把文字的每个字符(或 UTF-8 字节)转换成 2 到 36 之间任意进制的数字:二进制、八进制、十进制、十六进制、三进制、Base36……可设置固定位数补零、大写字母、分隔符和 0b / 0o / 0x 前缀,也能把这些数字反向解码回文字。中文等非 ASCII 字符可按 UTF-8 字节或 Unicode 码点处理。适合编码练习、CTF 解题和计算机课教学,数据在本地处理。Convert every character of a text (or every UTF-8 byte) into a number in any base from 2 to 36: binary, octal, decimal, hex, ternary, base 36 and more. Choose fixed-width zero padding, uppercase letters, the separator and 0b / 0o / 0x prefixes, and decode such numbers back into text. Chinese and other non-ASCII characters can be handled as UTF-8 bytes or as Unicode code points. Handy for encoding practice, CTF puzzles and computing classes. Processed locally.

🔗

文本转 Data URI(data: 链接生成与解析)Convert ASCII to Data URI

把文本内容转换成 Data URI(data: 链接),可直接嵌入 HTML、CSS 或 Markdown:可选 MIME 类型(纯文本、HTML、CSS、JavaScript、JSON、SVG、CSV 或自定义),Base64 或 URL 百分号编码(SVG 用百分号编码通常更短),可附加 charset=utf-8;也能把 Data URI 解析回原文并显示类型和编码。支持中文等 Unicode 文本,数据在本地处理。Turn text into a Data URI (a data: link) that you can embed straight into HTML, CSS or Markdown. Choose the MIME type (plain text, HTML, CSS, JavaScript, JSON, SVG, CSV or your own), Base64 or URL percent-encoding (percent-encoding is often shorter for SVG), and optionally add charset=utf-8. It also decodes a Data URI back into its text and shows the type and encoding. Chinese and other Unicode text works. Processed locally.

🔀

翻转 ASCII 位(按位取反、异或、反转位序)Flip ASCII Bits

对文字的每个字节做位运算:按位取反(NOT,8 位或只翻转低 7 位)、与掩码异或(XOR,如 0x20 切换大小写)、翻转指定的位,或把每个字节的位顺序反转;结果可以显示为二进制、十六进制、十进制或文字。也可以直接输入二进制或十六进制字节。适合学习位运算、ASCII 编码原理和 CTF 解题,数据在本地处理。Apply bit operations to every byte of a text: invert all bits (NOT, 8-bit or just the low 7 bits), XOR with a mask (0x20 toggles letter case), flip chosen bit positions, or reverse the bit order of each byte. Show the result as binary, hex, decimal or text. You can also enter binary or hex bytes directly. Handy for learning bitwise operations and how ASCII works, and for CTF puzzles. Processed locally.

🔡

二进制转 UTF-8 文本(解码二进制字节)Convert Binary to UTF-8

把二进制字节解码成 UTF-8 文本:每 8 位一个字节,可用空格、逗号或换行分隔,也可以连在一起;中文、表情等多字节字符都能正确还原。遇到无效的 UTF-8 字节时,会指出是第几个字节,或者按你的选择替换成 �。适合解 CTF 题、检查编码问题和学习 UTF-8 的字节结构,数据在本地处理。Decode binary bytes into UTF-8 text. Each byte is 8 bits; separate bytes with spaces, commas or new lines, or run them together. Chinese, emoji and other multi-byte characters are restored correctly. When a byte sequence is not valid UTF-8 the tool tells you which byte, or replaces it with � if you prefer. Handy for CTF puzzles, tracking down encoding problems and learning how UTF-8 bytes are built. Processed locally.

🔠

UTF-8 文本转二进制(查看 UTF-8 字节)Convert UTF-8 to Binary

把文本按 UTF-8 编码转换成二进制字节:中文、表情等多字节字符会显示为 2–4 个字节。可以按字节用空格分隔、全部连在一起,或者每个字符一行(显示字符、码点和它的字节),还能用 | 标出 UTF-8 的前缀位,直观看到 110xxxxx / 10xxxxxx 的结构。适合学习 UTF-8 编码原理、排查乱码和解 CTF 题,数据在本地处理。Convert text into its UTF-8 bytes in binary. Chinese, emoji and other multi-byte characters show as 2–4 bytes. Separate bytes with spaces, run them together, or list one character per line with its code point and bytes, and optionally mark the UTF-8 prefix bits with | to see the 110xxxxx / 10xxxxxx structure. Handy for learning how UTF-8 works, debugging mojibake and CTF puzzles. Processed locally.

🎲

随机二进制数生成器(指定位数、不重复、可设种子)Generate Random Binary Values

一次生成最多 10000 个随机二进制数(全部加起来最多 200 万位):可设定每个数的位数(1–1024 位),可要求首位为 1(保证正好是 N 位)、互不重复,并可选择换行、空格或逗号分隔,加 0b 前缀或在括号里显示十进制值。默认使用浏览器的安全随机数(crypto.getRandomValues);填写“种子”后,相同设置每次都会得到相同结果,便于出题和复现测试数据。全部在浏览器本地完成。Generate up to 10,000 random binary numbers at once (total at most 2,000,000 bits across all values). Choose the bit length (1–1024), require the first bit to be 1 so every value is exactly N bits long, make all values different, and separate them with new lines, spaces or commas, with an optional 0b prefix or the decimal value in brackets. By default the secure random generator built into the browser (crypto.getRandomValues) is used; enter a seed and the same settings always give the same result, which is handy for exercises and reproducible test data. Everything runs in your browser.

🖼️

二进制转图片(0 和 1 画成像素图)Convert Binary to Image

把二进制数据画成图片:默认每一位是一个像素(1 = 黑、0 = 白,颜色可改,可反转),也可以每 8 位作为一个灰度像素,或每 24 位作为一个 RGB 像素。多行输入且每行长度相同时,每行文字就是一行像素;也可以手动指定宽度,或自动排成接近正方形。可按整数倍放大像素便于查看,导出无损 PNG。适合查看位图字模、二维码数据和二进制图案。全部在浏览器本地完成。Turn binary data into an image. By default each bit is one pixel (1 = black, 0 = white; colours can be changed or swapped), or every 8 bits can be one greyscale pixel, or every 24 bits one RGB pixel. When several lines have the same length, each line of text becomes a row of pixels; you can also set the width yourself or let the tool arrange a near-square. Pixels can be enlarged by a whole-number scale for viewing, and the result downloads as a lossless PNG. Useful for bitmap fonts, QR-code data and binary patterns. Everything runs in your browser.

🧬

Unicode 转 Base64Convert Unicode to Base64

把文本按 UTF-8 编码成 Base64。本地处理。Encode text as UTF-8 Base64. Processed locally.

01

Unicode 转二进制Convert Unicode to Binary

把文本的 UTF-8 字节写成 8 位二进制。本地处理。可设置「每字节一行」。Write UTF-8 bytes as 8-bit binary groups. Processed locally. Settings: One byte per line.

#️⃣

Unicode 转十六进制Convert Unicode to Hex

把 UTF-8 字节写成十六进制(或改为按码位)。本地处理。可设置「模式」、「大写」、「码位加 U+ 前缀(补足 4 位)」。Write UTF-8 bytes as hex (or switch to code points). Processed locally. Settings: Mode, Uppercase, U+ prefix for code points (4-digit padded).

8️⃣

Unicode 转八进制Convert Unicode to Octal

把 UTF-8 字节写成八进制。本地处理。Write UTF-8 bytes as octal groups. Processed locally.

🔤

Unicode 转 UTF-16Convert Unicode to UTF-16

写成 UTF-16 码元的十六进制(可含 BOM)。本地处理。可设置「字节序」、「加 BOM (FEFF)」。Write UTF-16 code units as hex (optional BOM). Processed locally. Settings: Byte order, Add BOM (FEFF).

🔗

Unicode 转 Data URLConvert Unicode to Data URL

把文本做成 data:text/plain;base64,... 或百分号编码的 Data URL。本地处理。可设置「编码」、「MIME」。Make a data:text/plain Base64 or percent-encoded Data URL from text. Processed locally. Settings: Encoding, MIME.

🔤

Unicode 转 UTF-32Convert Unicode to UTF-32

把文本写成 UTF-32 编码(每个码位 4 字节,8 位十六进制),可选大端或小端以及 BOM。本地处理。Write text as UTF-32 (4 bytes, 8 hex digits per code point), big- or little-endian, with an optional BOM. Processed locally.

🔗

Unicode URL 编码URL Encode Unicode

对文本做 encodeURIComponent(UTF-8 百分号编码)。本地处理。Percent-encode the text as UTF-8 with encodeURIComponent. Processed locally.

🔢

任意进制转 UTF-8 文本Convert Arbitrary Base to UTF-8

把按指定进制(2–36)写成的字节序列解码成 UTF-8 文本,每个字节都严格校验。本地处理。Decode a byte sequence written in a chosen base (2 to 36) into UTF-8 text, strictly checking every byte. Processed locally.

🧬

Base64 转 UTF-8 文本Convert Base64 to UTF-8

把 Base64(含 URL 安全变体、缺少填充或带换行)解码成 UTF-8 文本。本地处理。Decode Base64, including the URL-safe variant, missing padding and line breaks, into UTF-8 text. Processed locally.

🔤

码位转 UTF-8 字节Convert Code Points to UTF-8

把码位(U+4E2D、0x4E2D、\u4E2D、\U0001F600 或纯十六进制数字)转换成 UTF-8 十六进制字节(如 E4 B8 AD),可选同时显示文本。本地处理。Convert code points (U+4E2D, 0x4E2D, \u4E2D, \U0001F600 or bare hex numbers) into UTF-8 hex bytes such as E4 B8 AD, optionally showing the text as well. Processed locally.

🔗

Data URI 转 UTF-8 文本Convert Data URI to UTF-8

从文本类 data: URI(百分号编码或 ;base64)取出文字,按 URI 里的 charset 解码(默认 UTF-8)。本地处理。Extract the text from a text data: URI (percent-encoded or ;base64), decoded with the charset named in the URI (UTF-8 by default). Processed locally.

🔟

十进制字节转 UTF-8Convert Decimal to UTF-8

把 0–255 的十进制字节序列按 UTF-8 解码成文本。本地处理。Decode a sequence of decimal bytes (0–255) as UTF-8 text. Processed locally.

8️⃣

八进制字节转 UTF-8Convert Octal to UTF-8

把八进制字节序列(0–377)按 UTF-8 解码成文本。本地处理。Decode a sequence of octal bytes (0–377) as UTF-8 text. Processed locally.

🔤

UTF-16 转 UTF-8 文本Convert UTF-16 to UTF-8

把 UTF-16 码元(每个 4 位十六进制)解码成文本,支持大端/小端和 BOM。本地处理。Decode UTF-16 code units (4 hex digits each) into text, with big-endian/little-endian and BOM handling. Processed locally.

🔤

UTF-32 转 UTF-8 文本Convert UTF-32 to UTF-8

把 UTF-32 码位(每个 8 位十六进制)解码成文本,支持大端/小端和 BOM。本地处理。Decode UTF-32 code points (8 hex digits each) into text, with big-endian/little-endian and BOM handling. Processed locally.

🔢

UTF-8 转任意进制Convert UTF-8 to Arbitrary Base

把文本的 UTF-8 字节写成指定进制。本地处理。可设置「进制 (2–36)」、「每字节一行」。Write UTF-8 bytes of the text in a chosen base. Processed locally. Settings: Base (2–36), One byte per line.

🧬

UTF-8 转 Base64Convert UTF-8 to Base64

把文本按 UTF-8 编码成 Base64。本地处理。Encode text as UTF-8 Base64. Processed locally.

🔢

UTF-8 文本转码位Convert UTF-8 to Code Points

把文本写成 U+XXXX 码位列表。本地处理。可设置「每码位一行」。Write the text as U+XXXX code points. Processed locally. Settings: One per line.

🔗

UTF-8 转 Data URIConvert UTF-8 to Data URI

把文本做成带 charset=utf-8 的 Data URI,MIME 类型可改(默认 text/plain),可选 Base64。本地处理。Build a Data URI with charset=utf-8 from text; the MIME type is editable (text/plain by default) and Base64 is optional. Processed locally.

🔟

UTF-8 转十进制字节Convert UTF-8 to Decimal

把文本的 UTF-8 字节写成十进制。本地处理。可设置「每字节一行」。Write UTF-8 bytes as decimal numbers. Processed locally. Settings: One byte per line.

8️⃣

UTF-8 转八进制字节Convert UTF-8 to Octal

把文本的 UTF-8 字节写成八进制。本地处理。可设置「每字节一行」。Write UTF-8 bytes as octal numbers. Processed locally. Settings: One byte per line.

🔤

UTF-8 转 UTF-16Convert UTF-8 to UTF-16

把文本写成 UTF-16 码元十六进制(大端,无 BOM)。本地处理。可设置「每码元一行」、「大写」。Write the text as UTF-16 code units in hex (big-endian, no BOM). Processed locally. Settings: One unit per line, Uppercase.

🔤

UTF-8 转 UTF-32Convert UTF-8 to UTF-32

把文本写成 UTF-32 码位十六进制(每个 8 位),可选大端/小端和 BOM(默认大端、无 BOM)。本地处理。Write the text as UTF-32 code points in hex (8 digits each), with a big-endian/little-endian choice and an optional BOM (default: big-endian, no BOM). Processed locally.

🎲

随机 UTF-8 文本Generate Random UTF-8

在码位范围内生成随机 UTF-8 文本(可设种子)。本地处理。可设置「数量」、「起始」、「结束」、「种子」。Generate random UTF-8 text in a code-point range (optional seed). Processed locally. Settings: Count, From, To, Seed.

🔓

UTF-8 URL 解码URL Decode UTF-8

对百分号编码做 decodeURIComponent。本地处理。decodeURIComponent percent-encoded text. Processed locally.

🔗

UTF-8 URL 编码URL Encode UTF-8

对文本做 encodeURIComponent。本地处理。encodeURIComponent the text. Processed locally.

✅

校验 UTF-8Validate UTF-8

校验 UTF-8:可检查文本、十六进制字节(如 C0 AF)或上传的文件,严格按 Unicode/WHATWG 规则找出过长编码、代理区、超出 U+10FFFF、截断和多余的后续字节,列出每个错误的字节位置和原因。本地处理。Validate UTF-8 in text, hex bytes (such as C0 AF) or an uploaded file, using the strict Unicode/WHATWG rules: overlong forms, surrogates, values above U+10FFFF, truncated sequences and stray continuation bytes are listed with their byte offset and reason. Processed locally.

₈

八进制转文本Convert Octal to Text

把空格分隔的八进制字节解码为 UTF-8 文本。本地处理。可设置「用 ␀ 等符号显示控制字符」。Decode space-separated octal bytes as UTF-8 text. Processed locally. Settings: Show control characters as symbols like ␀.

🔤

ASCII ↔ 十六进制ASCII Hex Converter

在 ASCII 文本与十六进制字节之间转换;支持“48 69”、连写“4869”、“0x48 0x69”和“\x48\x69”。本地处理。Convert between ASCII text and hex bytes; accepts "48 69", run-together "4869", "0x48 0x69" and "\x48\x69". Processed locally.

🔐

Scrypt 哈希格式检查Scrypt Hash Format Check

检查 scrypt 密码哈希字符串格式(浏览器无完整 scrypt 验证)。本地处理。Check scrypt password-hash string format (no full in-browser scrypt verify). Processed locally.

🗜️

Gzip 压缩解压Gzip Compress / Decompress

在线 Gzip 压缩和解压:文本压缩成 Base64 或十六进制,Gzip 数据还原成文本;也可以把任意文件压缩成 .gz 或解压 .gz 文件,全部在浏览器本地完成。Gzip-compress text to Base64 or hex and decompress Gzip data back to text, or compress any file to .gz and extract .gz files — all locally in your browser.

🧬

Keccak / SHAKE 哈希计算Keccak & SHAKE Hash Calculator

计算 Keccak-224/256/384/512(以太坊使用的原始 Keccak)和 SHAKE128/SHAKE256 可变长度哈希,支持 UTF-8 文本或十六进制输入,并与标准 SHA3 结果对照。Compute Keccak-224/256/384/512 (the original Keccak used by Ethereum) and SHAKE128/SHAKE256 variable-length hashes from UTF-8 text or hex, side by side with standard SHA3.

#️⃣

MD2 哈希生成器MD2 Hash Generator

按 RFC 1319 计算文本的 MD2 哈希值(128 位),支持 UTF-8 文本和十六进制输入,可比对期望值,用于兼容旧系统和旧证书。Compute the 128-bit MD2 hash (RFC 1319) of UTF-8 text or hex bytes and compare it with an expected value — for legacy systems and old certificates.

🗄️

数据库密码哈希生成(MySQL / MariaDB / PostgreSQL)Database Password Hash Generator (MySQL, MariaDB, PostgreSQL)

生成 MySQL / MariaDB 的 mysql_native_password 哈希(PASSWORD() 结果)、PostgreSQL 的 MD5 与 SCRAM-SHA-256 密码串,并给出 CREATE USER / ALTER USER 语句。Generate MySQL/MariaDB mysql_native_password hashes (the PASSWORD() value) and PostgreSQL MD5 and SCRAM-SHA-256 password strings, with ready-to-run CREATE/ALTER USER statements.

🔑

Cisco Type 7 密码加密解密Cisco Type 7 Password Encoder / Decoder

把 Cisco 配置里的 "password 7" 密文还原成明文,或把明文编码成 Type 7 格式;可一次粘贴整段配置,自动找出所有 Type 7 密码。Decode Cisco "password 7" strings back to plain text or encode plain text as Type 7; paste a whole config to find and decode every Type 7 password at once.

🧂

Scrypt 哈希生成与验证Scrypt Hash Generator & Verifier

按 RFC 7914 计算 scrypt 密钥派生结果,可设置 N、r、p、输出长度和盐(UTF-8、Hex 或 Base64),并能把结果与已有哈希比对验证。Derive scrypt keys per RFC 7914 with configurable N, r, p, output length and salt (UTF-8, hex or Base64), and verify the result against an existing hash.

🧲

种子转磁力链接Torrent to Magnet Link

选择 .torrent 种子文件,在本地解析出 info hash(v1 SHA-1,支持 v2 / 混合种子的 SHA-256),生成磁力链接,并列出名称、大小、文件列表和 Tracker。Pick a .torrent file to compute its info hash locally (v1 SHA-1, plus SHA-256 for v2/hybrid torrents), build the magnet link, and list the name, size, files and trackers.

📎

文件与 Base64 互转File to Base64 & Back

把任意文件(PDF、Word、压缩包、音视频等)转换成 Base64 字符串或 Data URI,也可以把 Base64 还原成文件下载,自动识别文件类型,全程本地处理不上传。Convert any file (PDF, Word, archives, audio, video…) to a Base64 string or data URI, or turn Base64 back into a downloadable file with automatic type detection — all locally, nothing uploaded.

📜

自签名 SSL 证书生成器Self-Signed SSL Certificate Generator

在浏览器本地生成自签名 X.509 SSL/TLS 证书和私钥(PEM 格式):支持 RSA 2048/3072/4096 和 ECDSA P-256/P-384,可填写多个域名和 IP(SAN)、有效期和组织信息,也能生成本地 CA 根证书,私钥不会离开你的电脑。Generate a self-signed X.509 SSL/TLS certificate and private key (PEM) right in your browser: RSA 2048/3072/4096 or ECDSA P-256/P-384, multiple domains and IPs (SAN), validity and organisation details, or a local CA root — the private key never leaves your device.

🔐

CSR 证书签名请求生成(含私钥)CSR Generator — Certificate Signing Request

在浏览器本地生成 SSL/TLS 证书申请所需的 CSR 和 RSA 私钥(2048/3072/4096 位,SHA-256 签名):填写通用名称、多个 SAN 域名(支持 *. 通配符和 IP)、组织和地区信息,一键复制或下载 .csr 与 .key;也可粘贴已有 CSR 解析主题、SAN、密钥长度并校验签名。Generate the CSR and RSA private key (2048/3072/4096-bit, SHA-256) for an SSL/TLS certificate locally in your browser: common name, multiple SANs (wildcards and IPs), organisation and location, then copy or download .csr and .key.