💻 开发工具Developer Tools (第 4 页)(page 4)
二进制 XNOR 运算(同或)XNOR Binary Values
把两个或多个二进制数按位做 XNOR(同或)运算:先按位 XOR,再全部取反,两个数在该位相同时结果为 1,不同时为 0;多个数时,该位上 1 的个数为偶数结果就是 1。可以每行一组分别计算或所有数一起计算,位数不同时右端对齐左边补 0,可设置最少位数、显示竖式和十进制结果。适合学习逻辑门、比较两个二进制数哪些位相同和数字电路练习,数据在本地处理。Apply bitwise XNOR to two or more binary values: XOR them and invert the result, so with two values a bit is 1 where they match and 0 where they differ; with more values it is 1 where an even number of them have a 1. Work each line separately or combine all values; different lengths are right-aligned with leading zeros. Set a minimum width, show the working and see the result in decimal. Handy for learning logic gates, finding which bits of two values agree and digital-logic exercises. Processed locally.
CSV 加引号(按需或强制)Add CSV Quotes
给 CSV/TSV 每个字段都加上双引号:可选只给含分隔符/引号/换行的字段加引号(标准写法),或强制给所有字段加引号(方便导入挑剔的程序)。自动识别分隔符,正确处理已有引号。Add double quotes around every CSV/TSV field. Quote only fields that need it (the standard style), or force-quote every field for picky importers. The delimiter is detected and existing quotes are handled correctly.
CSV 去引号(去掉不必要的字段引号)Remove CSV Quotes
去掉 CSV/TSV 里不必要的双引号:解析后再按“仅必要时加引号”的规则重新输出,含分隔符/引号/换行的字段仍保留引号,其它字段变成裸文本。Strip unnecessary double quotes from a CSV or TSV. The file is parsed and rewritten with quotes only where needed — fields with the delimiter, a quote or a line break stay quoted; the rest become bare text.
CSV 更换分隔符(逗号 / 分号 / 制表符)Change CSV Delimiter
把 CSV/TSV 的分隔符换成另一种:逗号、分号、制表符或竖线。自动识别原分隔符,带引号和换行的单元格正确转换,适合在美式 Excel 和欧洲 Excel 之间互转。Switch a CSV/TSV from one delimiter to another: comma, semicolon, tab or pipe. The original delimiter is detected and quoted cells with line breaks convert correctly — handy between US and European Excel.
CSV 更换引号样式(双引号 / 单引号)Change CSV Quote Style
把 CSV 字段的引号在双引号和单引号之间转换:有些数据库导出用单引号,本工具可改成标准双引号 CSV,或反过来。内部引号会正确转义。Convert CSV field quotes between double and single quotes. Some database exports use single quotes; this tool turns them into standard double-quoted CSV, or the other way round. Inner quotes are escaped correctly.
CSV 分析(行列统计 / 列类型预览)Analyze CSV
分析 CSV/TSV:行数、列数、空行、空单元格,并按列统计非空数、唯一值数和样例。自动识别分隔符,适合导入前快速检查数据质量。Analyse a CSV or TSV: row and column counts, blank lines and empty cells, plus per-column non-empty counts, unique values and samples. The delimiter is detected — handy for a quick data-quality check before import.
CSV 转文本(按分隔符拆成纯文本)Convert CSV to Text
把 CSV/TSV 转成纯文本:可选用空格、制表符或自定义符号连接字段,去掉引号,适合粘贴到笔记、邮件或需要非 CSV 格式的地方。Turn a CSV or TSV into plain text: join fields with spaces, tabs or a custom separator and drop the quotes — handy for notes, email or anywhere that does not want CSV.
CSV 删除列Delete CSV Columns
按列号或表头名删除 CSV/TSV 中的一列或多列,其它列保持不变。自动识别分隔符;长度不齐的行保持原长度,只删除它实际有的列。Delete one or more columns from a CSV or TSV by number or header name; the other columns stay as they are. The delimiter is detected; rows of uneven length keep their own length and only lose the columns they actually have.
CSV 删除单元格内的逗号(千分位等)Delete Commas Inside CSV Cells
去掉 CSV 单元格内部的逗号(常用于清除千分位:1,250 → 1250),可选只处理“看起来像数字”的单元格,避免误伤地址等文本。分隔符本身不变。Remove commas inside CSV cells (often thousands separators: 1,250 → 1250). Optionally only touch cells that look like numbers so addresses stay intact. The delimiter itself is unchanged.
CSV 补齐不完整行(短行补空单元格)Fill Incomplete CSV Records
把列数不足的 CSV 行补齐到与最宽行(或表头)相同的列数,空位填空白或指定值。自动识别分隔符,方便导入要求“每行列数一致”的程序。Pad short CSV rows to the width of the widest row (or the header) with blanks or a value you choose. The delimiter is detected — handy for importers that require a consistent column count.
CSV 查找不完整行(列数不足)Find Incomplete CSV Records
找出 CSV 里列数少(或过多)于表头/最常见列数的行,按行号列出,方便清理。可设置「以表头列数为准」。Find CSV rows with fewer (or more) columns than the header or the most common width, listed by line number for cleanup. Settings: Use header column count.
CSV 列排序(按表头名或指定顺序重排)Sort CSV Columns
重排 CSV/TSV 的列:按表头名字母顺序,或按你给出的列号/列名列表自定义顺序。未列出的列可接在后面或丢弃。Reorder CSV/TSV columns: alphabetically by header name, or by a list of column numbers/names you give. Columns not listed can follow at the end or be dropped.
CSV 交换两列Swap CSV Columns
交换 CSV/TSV 中的两列(按列号或表头名),其它列不动。可设置「列 A」、「列 B」、「第一行是表头」。Swap two columns in a CSV or TSV (by number or header name); every other column stays put. Settings: Column A, Column B, First row is a header.
CSV 去除单元格首尾空格Trim CSV Columns
去掉 CSV/TSV 单元格首尾的空格、制表符等空白,可选只处理指定列。表头也可以一起整理。Strip leading and trailing spaces, tabs and other whitespace from CSV/TSV cells, optionally only in chosen columns. Headers can be trimmed too.
CSV 截断单元格(限制最大长度)Truncate CSV Columns
把 CSV/TSV 指定列(或全部列)的单元格截断到最大字符数,可选加省略号。适合清理过长备注、生成预览。Truncate CSV/TSV cells in chosen columns (or all columns) to a maximum character length, with an optional ellipsis. Handy for long notes and previews.
CSV URL 编码(编码单元格)URL-Encode CSV
对 CSV/TSV 指定列(或全部)做 URL 编码(百分号编码),空格可编码为 %20 或 +,适合生成查询参数或导出给 Web 接口。URL-encode (percent-encode) chosen CSV/TSV columns (or all of them). Spaces can become %20 or + — handy for query parameters or web APIs.
CSV URL 解码(解码单元格)URL-Decode CSV
对 CSV/TSV 指定列(或全部)做 URL 解码,识别 %XX 和 + 空格,解码失败的单元格保留原文并计数。URL-decode chosen CSV/TSV columns (or all of them), recognising %XX and + as space. Cells that fail to decode are left unchanged and counted.
十六进制 OR 运算(按位或)OR Hex Numbers
把两个或多个十六进制数按位做 OR(或)运算:对应二进制位只要有一个是 1,结果就是 1。位数不同时左边补 0。适合标志位操作和位运算练习,数据在本地处理。Bitwise OR on two or more hex values: a result bit is 1 if any input has a 1 there. Shorter values are left-padded with zeros. Handy for flag bits and bitwise practice. Processed locally.
十六进制 NAND 运算(与非)NAND Hex Numbers
把两个或多个十六进制数按位做 NAND(与非):先 AND 再取反。位数不同时左边补 0。适合学习逻辑门和位运算,数据在本地处理。Bitwise NAND on two or more hex values (AND then invert). Shorter values are left-padded. Handy for logic gates and bitwise practice. Processed locally.
十六进制 XOR 运算(按位异或)XOR Hex Numbers
把两个或多个十六进制数按位做 XOR(异或):对应位不同为 1、相同为 0。常用于简单加密、校验和与切换标志位,数据在本地处理。Bitwise XOR on two or more hex values: bits that differ become 1. Handy for simple ciphers, checksums and toggling flags. Processed locally.
反转十六进制数字Reverse Hex Digits
把每个十六进制数的数字顺序左右颠倒(例如 ABCD → DCBA),每行可多个数;可保留 0x 前缀。适合练习位序和调试,数据在本地处理。Reverse the digit order of each hexadecimal number (e.g. ABCD -> DCBA). Several values per line; optional 0x prefix. Handy for digit-order drills and debugging. Processed locally.
循环移动十六进制数字Rotate Hex Digits
把每个十六进制数的数字循环左移或右移指定位数(例如 ABCD 左移 1 → BCDA),每行可多个数。适合学习循环移位,数据在本地处理。Rotate each hexadecimal number digits left or right by a given count (e.g. ABCD left 1 -> BCDA). Several values per line. Handy for learning rotations. Processed locally.
打乱十六进制数字(可复现种子)Shuffle Hex Digits
随机打乱每个十六进制数的各个数字;可填种子以便复现同样的打乱结果。适合出题和演示,数据在本地处理。Randomly shuffle the digits of each hexadecimal number; an optional seed makes the shuffle reproducible. Handy for exercises and demos. Processed locally.
随机十六进制数生成器Generate Random Hexadecimal Numbers
生成指定个数、指定位数的随机十六进制数;可设种子复现,可选 0x 前缀和大写/小写。适合测试数据和教学演示,数据在本地处理。Generate a chosen count of random hexadecimal numbers of a chosen length; optional seed for reproducibility, 0x prefix and upper/lower case. Handy for test data and teaching. Processed locally.
JSON 打码(隐藏敏感字段)Censor JSON
按字段名把 JSON 里的敏感值替换成 *** 或自定义占位符(支持逗号分隔的多个键名,可递归)。适合脱敏日志,本地处理。Replace sensitive JSON values with *** or a custom placeholder by field name (comma-separated keys, recursive). Handy for redacting logs. Processed locally.
提取 JSON 键名Extract JSON Keys
列出 JSON 对象中的全部键名(可递归、可去重、可带路径)。适合快速摸清结构,本地处理。List all keys in a JSON object (optional recursion, unique keys, or full paths). Handy for surveying structure. Processed locally.
提取 JSON 值Extract JSON Values
提取 JSON 中的全部原始值(字符串、数字、布尔、null),可只要叶子节点,每行一个。本地处理。Extract all primitive JSON values (strings, numbers, booleans, null), optionally leaves only, one per line. Processed locally.
展平 JSON 对象Flatten JSON Object
把嵌套 JSON 对象展平成单层,键用点号连接(a.b.c);数组下标写成 [0]。本地处理。Flatten a nested JSON object into one level with dotted keys (a.b.c); array indices become [0]. Processed locally.
展平 JSON 数组Flatten JSON Array
把嵌套数组展平成一维(只展开数组,对象保持原样)。本地处理。可设置「只展一层」、「压缩输出」。Flatten nested arrays into one dimension (arrays only; objects stay as values). Processed locally. Settings: One level only, Minify.
隐藏 JSON 字符串内容Hide JSON Strings
把 JSON 里所有字符串值替换成等长的 * 或自定义字符,结构与数字保持不变。适合演示时遮住正文,本地处理。Replace every JSON string value with the same length of * (or a custom character); structure and numbers stay. Handy for demos. Processed locally.
混淆 JSON(打乱键序 / 编码字符串)Obfuscate JSON
混淆 JSON:随机打乱对象键顺序(可设种子),或把字符串改成 \u 转义。适合简单混淆,不是加密。本地处理。Obfuscate JSON by shuffling object key order (optional seed) and/or writing strings as \u escapes. Simple obfuscation, not encryption. Processed locally.
JSON 转 Java PropertiesConvert JSON to Properties
把 JSON 对象展平为 Java .properties 文本(key=value,Unicode 转义可选)。本地处理。Flatten a JSON object into Java .properties text (key=value, optional Unicode escapes). Processed locally.
Java Properties 转 JSONConvert Properties to JSON
把 Java .properties 文本解析成嵌套 JSON 对象(按点号拆键)。本地处理。可设置「压缩输出」。Parse Java .properties text into a nested JSON object (keys split on dots). Processed locally. Settings: Minify.
JSON 截图(导出为图片)Capture JSON Screenshot
把 JSON 格式化后画成图片并下载(可选深色背景),适合分享结构预览。本地处理。Pretty-print JSON onto an image and download it (optional dark background). Handy for sharing a structure preview. Processed locally.
JSON 转图片Convert JSON to Image
把 JSON 渲染成可下载的 PNG:可调字号、内边距和背景色。本地处理。可设置「字号」、「内边距」、「背景色」、「文字色」。Render JSON into a downloadable PNG with font size, padding and background colour. Processed locally. Settings: Font size, Padding, Background, Text.
JSON 语法高亮(HTML)Highlight JSON
把 JSON 格式化并生成带语法高亮的 HTML(键、字符串、数字、布尔/null 分色),可复制到网页。本地处理。Pretty-print JSON as syntax-highlighted HTML (keys, strings, numbers, booleans/null coloured) for pasting into a page. Processed locally.
JSON 转 BSON(十六进制)Convert JSON to BSON
把 JSON 编码为 BSON 二进制并以十六进制(或 Base64)显示,支持常见类型(对象、数组、字符串、数字、布尔、null)。本地处理。Encode JSON as BSON and show it as hex (or Base64). Supports common types (object, array, string, number, boolean, null). Processed locally.
TSV 分析Analyze TSV
统计 TSV 行数、列数、空单元格,并按列给出非空/唯一值样例。本地处理。可设置「首行是表头」。Count TSV rows, columns and empty cells, with per-column non-empty/unique samples. Processed locally. Settings: Header row.
文本转 TSVConvert Text to TSV
把按空格、逗号、分号或竖线分隔的文本转成 TSV(制表符分隔),支持双引号字段,列数与表头不一致的行会带行号提示。本地处理。Convert space, comma, semicolon or pipe separated text into TSV (tab-separated), honouring double-quoted fields and flagging rows whose field count differs from the header. Processed locally.
提取 TSV 列Extract TSV Columns
按列号提取 TSV 列(从 1 开始,空格或逗号分隔)。本地处理。可设置「列号」。Extract TSV columns by 1-based numbers (space or comma separated). Processed locally. Settings: Columns.
查找不完整 TSV 行Find Incomplete TSV Values
找出 TSV 中的空白单元格(给出行号、列号和表头名)以及列数与表头不一致的行。本地处理。Find empty or whitespace-only TSV cells (with line, column and header name) and rows whose column count differs from the header. Processed locally.
TSV 去除单元格首尾空格Trim TSV Columns
去掉 TSV 单元格首尾空白。本地处理。Strip leading/trailing whitespace from TSV cells. Processed locally.
TSV URL 解码URL-Decode TSV
对 TSV 全部单元格做 URL 解码。本地处理。URL-decode all TSV cells. Processed locally.
TSV URL 编码URL-Encode TSV
对 TSV 全部单元格做 URL 编码。本地处理。可设置「空格用 +」。URL-encode all TSV cells. Processed locally. Settings: Spaces as +.
校验 TSVValidate TSV
检查 TSV 是否行列整齐、有无列。本地处理。Check TSV for ragged rows and empty columns. Processed locally.
波特率计算器Baud Rate Calculator
由比特率与每符号比特数估算波特率(或反向),或按 UART 帧格式(起始位 + 数据位 + 校验位 + 停止位)算出每帧位数、每秒字节数和每字节耗时。本地处理。Estimate baud from bit rate and bits per symbol (or the reverse), or use the UART frame mode (start + data + parity + stop bits) to get bits per frame, bytes per second and time per byte. Processed locally.
TOML 生成器TOML Generator
从 key=value 行生成合法的 TOML:自动识别数字、布尔、日期和数组,正确转义字符串,支持 [表头] 和点号键。本地处理。Build valid TOML from key=value lines: numbers, booleans, dates and arrays are detected, strings are escaped correctly, and [table] headers and dotted keys are supported. Processed locally.
正则表达式测试Regexp Tester
在文本上测试 JavaScript 正则:列出全部匹配(位置与分组)或执行替换,边输入边更新;过慢的模式会被自动中止,页面不会卡死。本地处理。Test a JavaScript regular expression on text: list every match (position and groups) or run a replace, updating as you type; a pattern that runs too long is stopped so the page never freezes. Processed locally.
微信小程序组件说明表WeChat Mini Program Components
查阅常用微信小程序组件名称与用途(静态参考表)。本地处理。Look up common WeChat mini-program components (static reference). Processed locally.
Curl 转代码Curl to Code
把 curl 命令转为 JavaScript fetch 或 Python requests 代码:按 shell 规则解析引号,支持 -X、-H、-d、--data-urlencode、--json、-F、-u、-G、-b、-A、-I 等。本地处理。Translate a curl command into JavaScript fetch or Python requests code: quotes are parsed like a shell, with -X, -H, -d, --data-urlencode, --json, -F, -u, -G, -b, -A, -I and more. Processed locally.
拨码开关计算器DIP Switch Calculator
把拨码开关 ON/OFF 序列换成十进制(或反向)。本地处理。可设置「拨码(1=ON,0=OFF,高位在左)」、「十进制」、「位数」。Convert a DIP ON/OFF pattern to decimal (or the reverse). Processed locally. Settings: Pattern (1=ON,0=OFF, MSB left), Decimal, Bits.
JSON 转 Kotlin 数据类JSON to Kotlin Data Class
粘贴 JSON 自动生成 Kotlin data class,可选 kotlinx.serialization、Gson 或 Moshi 注解;嵌套对象和数组生成独立类,缺失或为 null 的字段自动变成可空类型。Paste JSON to generate Kotlin data classes with optional kotlinx.serialization, Gson or Moshi annotations; nested objects and arrays become their own classes and missing or null fields become nullable.
JSON 转 Swift CodableJSON to Swift Codable
根据 JSON 生成 Swift 的 Codable 结构体(struct 或 class),自动生成 CodingKeys 映射 snake_case 键名,可空字段用可选类型,混合类型生成 JSONValue 枚举。Generate Swift Codable structs or classes from JSON, with CodingKeys for snake_case keys, optionals for missing or null fields and a JSONValue enum for mixed types.
JSON 转 Dart 模型类JSON to Dart Model Class
把 JSON 转成 Flutter / Dart 模型类,自动生成构造函数、fromJson 工厂方法和 toJson 方法,支持空安全(null safety)、嵌套对象和对象数组。Turn JSON into Flutter/Dart model classes with a constructor, fromJson factory and toJson method — null-safe, with nested objects and lists of objects.
JSON 转 Rust 结构体(serde)JSON to Rust Struct (serde)
根据 JSON 生成 Rust 结构体,带 serde 的 Serialize / Deserialize 派生和 #[serde(rename)] 属性;可空或缺失字段用 Option,混合类型用 serde_json::Value。Generate Rust structs from JSON with serde Serialize/Deserialize derives and #[serde(rename)] attributes; nullable or missing fields use Option and mixed types use serde_json::Value.
JSON 转 PHP 数组JSON to PHP Array
把 JSON 转成 PHP 数组代码,支持短数组 [] 和 array() 两种写法、缩进设置,字符串自动转义,大整数保持原样不丢精度。Convert JSON into PHP array code in short [] or array() syntax with configurable indentation, escaped strings and big integers kept exactly.
JSON 合并工具JSON Merge Tool
把两个 JSON 深度合并成一个:嵌套对象逐层合并,冲突时可选以哪一方为准,数组可以替换、拼接、去重拼接或按位置合并。Deep-merge two JSON documents: nested objects merge level by level, you choose which side wins on conflicts, and arrays can be replaced, concatenated, de-duplicated or merged by index.
JSON 清理工具(去空值)JSON Cleaner (Remove Empty Values)
递归删除 JSON 中的 null、空字符串、空数组、空对象,可去掉字符串首尾空格、删除指定键名,清理后变空的父级也一并移除。Recursively remove nulls, empty strings, empty arrays and empty objects from JSON, trim strings, drop keys by name, and remove parents that become empty.
JSON ↔ TOON 互转JSON ↔ TOON Converter
在 JSON 和 TOON(Token-Oriented Object Notation,面向大模型提示词的紧凑格式)之间互相转换,支持逗号、Tab、竖线分隔符,并对比字符数节省了多少。Convert between JSON and TOON (Token-Oriented Object Notation, a compact format for LLM prompts) with comma, tab or pipe delimiters, and see how many characters you save.
PHP 序列化/反序列化PHP Serialize / Unserialize
PHP serialize() 数据与 JSON 互转:把 a:2:{…} 这样的序列化字符串还原成可读的 JSON,或把 JSON 生成 PHP 序列化字符串;也能解析 PHP Session 文件内容。Convert between PHP serialize() data and JSON: turn strings like a:2:{…} into readable JSON, build serialized strings from JSON, and decode PHP session data.