💻 开发工具Developer Tools (第 5 页)(page 5)
网页跳转代码生成Redirect Code Generator
输入目标网址,一键生成 PHP、JavaScript、HTML meta、Java、JSP、Python、Node.js、Go、ASP、ASP.NET、Perl 以及 Apache、Nginx 的 301/302 跳转代码。Enter a target URL and get 301/302 redirect code for PHP, JavaScript, HTML meta, Java, JSP, Python, Node.js, Go, ASP, ASP.NET, Perl, Apache and Nginx.
徽章生成器(Shields 风格)Badge Generator (Shields Style)
生成 GitHub README 常见的 Shields 风格 SVG 徽章:自定义左右文字和颜色,支持 flat、flat-square、plastic、for-the-badge 四种样式,可复制 SVG 代码或下载文件。Create Shields-style SVG badges like the ones in GitHub READMEs: set the label, message and colours, choose flat, flat-square, plastic or for-the-badge, then copy the SVG or download it.
SQL 建表语句转 C# 实体类SQL CREATE TABLE to C# Class
把 MySQL、SQL Server、PostgreSQL、Oracle 的 CREATE TABLE 语句转换成 C# 实体类:自动映射字段类型、可空类型、注释,可选 Entity Framework 数据注解和 record 写法。Turn MySQL, SQL Server, PostgreSQL or Oracle CREATE TABLE statements into C# entity classes with mapped types, nullable types and comments, plus optional Entity Framework data annotations or records.
SQL INSERT/UPDATE 字段对照查看SQL INSERT / UPDATE Viewer
把又长又难读的 INSERT 或 UPDATE 语句拆成「字段 = 值」一一对照的表格,快速找出字段和值是否错位;也可以导出为 JSON 或 CSV。Break long INSERT or UPDATE statements into a column = value table so you can spot misaligned values at a glance, and export the rows as JSON or CSV.
文件真实格式识别(文件头)File Type Detector (Magic Bytes)
根据文件开头的特征字节(Magic Number)识别文件的真实格式,不看扩展名,能发现改了后缀的文件;同时附有 80 多种常见文件头对照表。Identify a file’s real format from its leading signature bytes (magic number) instead of its extension, catching renamed files — with a reference table of 80+ common signatures.
ZIP 在线查看解压ZIP Viewer & Extractor
在浏览器里打开 ZIP 压缩包:查看目录结构、文件大小、压缩率和修改时间,预览文本和图片,单独下载其中任意文件,自动处理中文 Windows 压缩包的 GBK 文件名乱码。Open a ZIP file in your browser: browse the folder tree with sizes, compression ratios and dates, preview text and images, download any single file, and fix garbled GBK file names from Chinese Windows archives.
SVG 代码在线编辑预览SVG Live Editor
边写 SVG 代码边看效果:实时预览、显示尺寸和 viewBox、切换棋盘格/深色背景和缩放,可格式化或压缩代码,导出 SVG 文件或指定倍率的 PNG 图片。Write SVG code and see it render live: preview with size and viewBox info, checkerboard or dark backgrounds and zoom, format or minify the code, and export an SVG file or PNG at any scale.
Lottie 动画预览播放Lottie Animation Player
在浏览器里预览 Lottie(Bodymovin)JSON 动画:播放/暂停、逐帧拖动、调速、循环和背景切换,显示尺寸、帧率、时长和图层数,方便设计师交付前检查动画。Preview Lottie (Bodymovin) JSON animations in your browser: play/pause, scrub frame by frame, change speed, loop and background, and see the size, frame rate, duration and layer count — great for checking animations before hand-off.
字体文件查看器(TTF/OTF/WOFF)Font File Viewer (TTF/OTF/WOFF)
打开 TTF、OTF、WOFF、WOFF2 字体文件:查看字体名称、版本、版权和授权信息、字形数量和支持的字符,自定义文字和字号预览,并浏览全部字符的字形表。Open TTF, OTF, WOFF and WOFF2 fonts: see the name, version, copyright and licence info, glyph count and supported characters, preview your own text at any size, and browse every character in a glyph grid.
SQL 建表语句生成 HTML 表单SQL CREATE TABLE to HTML Form
根据 CREATE TABLE 语句自动生成 HTML 表单:按字段类型选择输入控件(数字、日期、下拉、复选框、多行文本),带必填、最大长度和中文标签,可选原生 HTML 或 Bootstrap 5 样式并实时预览。Generate an HTML form from a CREATE TABLE statement: inputs are chosen by column type (number, date, select, checkbox, textarea) with required, maxlength and labels from comments, in plain HTML or Bootstrap 5, with a live preview.
SQL 建表语句生成 Yii2 模型SQL CREATE TABLE to Yii2 Model
根据 MySQL 的 CREATE TABLE 语句生成 Yii2 ActiveRecord 模型类:包含 @property 注释、tableName()、按字段类型生成的 rules() 校验规则和来自字段注释的 attributeLabels()。Generate a Yii2 ActiveRecord model from a MySQL CREATE TABLE statement, with @property docs, tableName(), rules() derived from column types and attributeLabels() taken from column comments.
矩阵与 JSON 二维数组互转Matrix ⇄ JSON 2D Array Converter
把空格、Tab 或逗号分隔的矩阵文本转换成 JSON 二维数组,或把二维数组转回矩阵;还能输出 NumPy、MATLAB、LaTeX、Markdown 表格和 CSV 格式,自动检查每行列数。Turn a matrix written with spaces, tabs or commas into a JSON 2D array, or a 2D array back into a matrix — and export NumPy, MATLAB, LaTeX, Markdown table or CSV formats, with row-length checks.
Postman 批量编辑格式转换Postman Bulk Edit Converter
在 Postman「Bulk Edit」使用的 key:value 格式与 JSON 对象、URL 查询参数、HTTP 请求头之间互相转换,还能把 SQL 建表语句转换成参数列表,支持 // 开头的禁用行,省去在 Postman 里一个个填写参数的麻烦。Convert between Postman’s Bulk Edit key:value format and JSON objects, URL query strings and raw HTTP headers, or turn a SQL CREATE TABLE into parameters, including // disabled lines — no more typing parameters into Postman one by one.
弹出窗口代码生成器Popup Window Code Generator
生成 window.open 弹出窗口的 JavaScript 代码:设置网址、窗口宽高、是否屏幕居中、滚动条和可调整大小,自动加上 noopener 安全选项,并生成对应的链接或按钮 HTML。Generate JavaScript for a window.open popup: set the URL, width and height, centring on screen, scrollbars and resizing, with the noopener safety option added automatically, plus matching link or button HTML.
网页音乐播放器代码生成Audio Player Embed Code Generator
输入音频地址,生成网页可用的 HTML5 音乐播放器代码:原生 audio 控件或简洁的自定义样式播放器,可设置循环、预加载、禁止下载按钮和主题色,并实时预览。Enter an audio URL and get embeddable HTML5 player code: the native audio control or a clean custom-styled player, with loop, preload, hide-download and theme colour options, previewed live.
编程语言运算符优先级速查表Operator Precedence Table
JavaScript、Python、C、Java、Go、PHP 运算符优先级和结合性对照表:从高到低列出每一级运算符、含义和结合方向,并标注 ?? 混用、-2**2、PHP 8 字符串连接等常见坑。Operator precedence and associativity for JavaScript, Python, C, Java, Go and PHP: every level from highest to lowest with its meaning and direction, plus common gotchas like mixing ??, -2**2 and PHP 8 concatenation.
国内软件源镜像配置生成China Package Mirror Config Generator
一键生成 npm、pip、Maven/Gradle、Go、Composer、RubyGems、Cargo 的国内镜像配置命令:清华、阿里云、腾讯云、华为云、中科大等镜像地址,临时使用、永久设置、查看当前配置和恢复官方源的命令都有。Generate mirror configuration for npm, pip, Maven/Gradle, Go, Composer, RubyGems and Cargo using mainland-China mirrors (Tsinghua, Alibaba Cloud, Tencent Cloud, Huawei Cloud, USTC): one-off use, permanent setup, check the current setting and restore the official source.
JavaScript 事件大全(DOM 事件速查)JavaScript DOM Events Reference
常用 DOM 事件速查表:鼠标、指针、键盘、输入法、焦点、表单、触摸、拖放、剪贴板、页面生命周期、音视频、动画共 90 多个事件,列出事件对象类型、是否冒泡、能否取消、触发目标和说明,附实时事件测试区和监听代码生成。A quick reference for 90+ DOM events — mouse, pointer, keyboard, IME, focus, form, touch, drag and drop, clipboard, page lifecycle, media and animation — with the event interface, whether it bubbles or can be cancelled, its target and notes, plus a live event tester and listener code.
VS Code 与 Chrome 开发者工具快捷键速查VS Code & Chrome DevTools Shortcuts
前端常用编辑器快捷键速查:VS Code 的通用、编辑、多光标、导航重构、查找替换、调试快捷键,以及 Chrome 开发者工具和断点调试快捷键,Windows/Linux 与 macOS 对照,支持中英文搜索。Front-end shortcut cheat sheet: VS Code general, editing, multi-cursor, navigation and refactoring, search and debugging keys, plus Chrome DevTools and Sources debugging — Windows/Linux and macOS side by side, searchable in Chinese or English.
JSON 转 Objective-C 模型JSON to Objective-C Model
根据 JSON 生成 Objective-C 模型类的 .h 和 .m:自动推断 NSString、NSInteger、NSArray 等属性类型和 nullable 标注,可选生成 initWithDictionary 解析代码、YYModel 或 MJExtension 映射。Generate Objective-C model classes (.h and .m) from JSON: inferred NSString, NSInteger and NSArray property types with nullability, plus initWithDictionary parsing code or YYModel / MJExtension key mapping.
JSON 转 C++ 结构体JSON to C++ Struct
把 JSON 转换成 C++ 结构体:std::string、std::vector、std::optional 等现代 C++17 类型,嵌套结构按依赖顺序输出,可选生成 nlohmann/json 的 from_json / to_json 序列化函数。Turn JSON into C++ structs using modern C++17 types (std::string, std::vector, std::optional), ordered by dependency, with optional nlohmann/json from_json / to_json functions.
JSON 转 Crystal 类JSON to Crystal Class
根据 JSON 生成 Crystal 语言的类或结构体,使用标准库 JSON::Serializable,自动推断 String、Int32/Int64、Float64、Array 等类型,可空字段生成 T? 类型并用注解映射原始键名。Generate Crystal classes or structs from JSON using the standard JSON::Serializable module, with inferred String, Int32/Int64, Float64 and Array types, nilable T? fields and annotations for original key names.
JSON 转 React PropTypesJSON to React PropTypes
根据 JSON 示例数据生成 React 组件的 PropTypes 校验定义:嵌套对象生成 PropTypes.shape 或 exact,数组生成 arrayOf,必填字段自动加 isRequired。Generate React PropTypes from sample JSON: nested objects become PropTypes.shape or exact, arrays become arrayOf, and always-present fields get isRequired.
JSON 转 Flow 类型JSON to Flow Types
根据 JSON 生成 Flow 静态类型定义(export type):支持精确对象类型 {| |}、只读属性、可选键与 ?T 可空类型,嵌套对象生成独立类型。Generate Flow type aliases (export type) from JSON: exact object types {| |}, read-only properties, optional keys and ?T maybe types, with a separate type for each nested object.
JSON 转 Elm 类型与解码器JSON to Elm Decoder
根据 JSON 生成 Elm 0.19 的 type alias 记录类型、Json.Decode 解码器(基于 elm-json-decode-pipeline)和 Json.Encode 编码器,可空或缺失字段生成 Maybe。Generate Elm 0.19 record type aliases, Json.Decode decoders (using elm-json-decode-pipeline) and Json.Encode encoders from JSON, with Maybe for nullable or missing fields.
JSON 转 Ruby 类JSON to Ruby Class
根据 JSON 生成 Ruby 类:attr_accessor 属性、from_hash / from_json 解析(嵌套对象和对象数组自动转换)、to_h / to_json 序列化,也可以生成更简洁的 Struct 写法。Generate Ruby classes from JSON: attr_accessor attributes, from_hash / from_json parsing (nested objects and arrays converted automatically) and to_h / to_json serialization, or a concise Struct version.
JSON 转 Haskell 数据类型(Aeson)JSON to Haskell (Aeson)
根据 JSON 生成 Haskell 记录类型和 Aeson 的 FromJSON / ToJSON 实例:Text、Int、Double、[a]、Maybe a 等类型自动推断,字段名加类型前缀避免冲突。Generate Haskell record types with Aeson FromJSON / ToJSON instances from JSON: Text, Int, Double, [a] and Maybe a are inferred, and field names are prefixed with the type name to avoid clashes.
在线接口测试(简易 Postman)Online API Tester (Postman-style)
在浏览器里直接发 HTTP 请求测试接口:支持 GET/POST/PUT/PATCH/DELETE 等方法、参数表、请求头、JSON/表单/文件请求体、Bearer/Basic/API Key 认证和 {{环境变量}},响应可美化、树形查看和预览,能导入 cURL、生成代码,历史和收藏保存在本地。Send HTTP requests from your browser to test APIs: GET/POST/PUT/PATCH/DELETE, query params, headers, JSON/form/multipart/file bodies, Bearer/Basic/API-key auth and {{variables}}; pretty, tree and preview response views, cURL import, code export, local history and collections.
Excel 转 LaTeX / Markdown 表格Excel to LaTeX / Markdown Table
在 Excel、WPS 或 Google 表格中选中单元格复制,直接粘贴即可生成 LaTeX 表格(支持 booktabs 三线表、siunitx 对齐、加粗最优值)或 Markdown 表格,自动识别制表符、CSV 和 Markdown 输入,并实时预览表格效果。Copy cells from Excel, WPS or Google Sheets and paste to get a LaTeX table (booktabs, siunitx alignment, bold best values) or a Markdown table; tab-separated, CSV and Markdown input are detected automatically, with a live preview.
LaTeX 特殊字符转义LaTeX Special Character Escaper
把普通文本中的 & % $ # _ { } ~ ^ \ 等 LaTeX 特殊字符一键转义成 \&、\%、\textasciitilde{} 等,也可反向还原;可选把弯引号、长破折号、°、µ 等 Unicode 符号转换成 LaTeX 写法,方便把网页或 Word 文字安全粘贴进 .tex。Escape LaTeX special characters — & % $ # _ { } ~ ^ \ — into \&, \%, \textasciitilde{} and so on, or unescape back; optionally convert curly quotes, dashes, °, µ and other Unicode to LaTeX, so text from the web or Word pastes safely into .tex.
Token 计数器(GPT 分词 / tiktoken)Token Counter (GPT Tokenizer, tiktoken)
在浏览器本地用 OpenAI 的 o200k_base(GPT-4o、GPT-4.1、o 系列)和 cl100k_base(GPT-4、GPT-3.5)分词器计算文本的 token 数,同时统计字符、英文词数和中文字数,彩色显示每个 token 的切分结果和 ID,文字不会上传。Count tokens locally with OpenAI’s o200k_base (GPT-4o, GPT-4.1, o-series) and cl100k_base (GPT-4, GPT-3.5) tokenizers, plus characters, words and Chinese characters, with each token shown in colour and its ID — your text is never uploaded.
大模型显存估算(训练 / 推理 / LoRA)LLM GPU Memory Calculator (Training, Inference, LoRA)
估算大语言模型推理和训练需要多少显存:推理按权重精度(BF16/INT8/INT4)加 KV 缓存(考虑 GQA、序列长度和批大小);训练区分全参微调(AdamW 混合精度约 16 字节/参数)、LoRA 和 QLoRA,可估算激活值和梯度检查点,并给出需要几张 A100、H100 或 RTX 4090,内置 Llama、Qwen、Mistral 常用配置。Estimate GPU memory for LLM inference and training: inference = weights at BF16/INT8/INT4 plus KV cache (GQA, sequence length, batch); training covers full fine-tuning (≈16 bytes/param for mixed-precision AdamW), LoRA and QLoRA, with optional activations and gradient checkpointing — and how many A100, H100 or RTX 4090 cards you need.
大模型训练时长估算(6ND 算力公式)LLM Training Time Calculator (6ND FLOPs)
按 6 × 参数量 × token 数估算大模型训练的总计算量,再除以 GPU 峰值算力 × 数量 × MFU(模型算力利用率)得到训练时长,给出 GPU 小时、天数和估算费用;内置 A100、H100、H200、H800、B200、RTX 4090 等的 BF16 稠密峰值算力。Estimate LLM training compute as 6 × parameters × tokens, then divide by GPU peak × count × MFU to get wall-clock time, GPU-hours, days and cost; presets give dense BF16 peaks for A100, H100, H200, H800, B200, RTX 4090 and more.
学习率调度可视化(Warmup + Cosine)Learning Rate Schedule Visualizer (Warmup + Cosine)
输入峰值学习率、最小学习率、总步数和 warmup 步数,实时画出 warmup + 余弦衰减、线性衰减、常数、余弦重启、WSD(预热-稳定-衰减)和逆平方根等学习率曲线,可查询任意步的学习率,导出每步数值 CSV、SVG 图和对应的 transformers 代码。Enter peak and minimum learning rate, total and warmup steps to plot warmup + cosine, linear, constant, cosine with restarts, WSD (warmup-stable-decay) and inverse-sqrt schedules; read the LR at any step, and export per-step CSV, an SVG chart and matching transformers code.
Transformer 参数量与 FLOPs 计算器(GQA / MoE / SwiGLU)Transformer Parameter Count & FLOPs Calculator (GQA, MoE, SwiGLU)
输入层数、隐藏维度、注意力头数、KV 头数(GQA/MQA)、FFN 维度、词表大小、MLP 类型(SwiGLU/GELU)、偏置、嵌入共享和 MoE 专家数,逐项精确计算 Transformer 参数量(注意力、MLP、嵌入、输出层分别列出),以及每 token 前向/训练 FLOPs 和总训练算力;Llama 3.1、Qwen2.5、Mistral、Mixtral、GPT-2、BERT、ViT 预设与官方参数量逐位一致。Enter layers, hidden size, heads, KV heads (GQA/MQA), FFN size, vocabulary, MLP type (SwiGLU/GELU), biases, tied embeddings and MoE experts to get an exact Transformer parameter count (attention, MLP, embeddings and head itemised) plus forward and training FLOPs per token and total training compute.
混淆矩阵与 ROC / PR 曲线(Precision、Recall、F1、AUC)Confusion Matrix & ROC / PR Curve Calculator (Precision, Recall, F1, AUC)
输入混淆矩阵、真实与预测标签,或真实标签与预测分数,计算各类别的 Precision、Recall、F1 和支持数,宏平均、加权平均、准确率、平衡准确率、Cohen κ 和 MCC;二分类还给出灵敏度、特异度、PPV、NPV,并绘制 ROC 和 PR 曲线、计算 AUC 与 AP,拖动阈值查看混淆矩阵变化,一键求 Youden 最佳阈值;结果与 scikit-learn 一致。Enter a confusion matrix, true and predicted labels, or true labels with scores to get per-class precision, recall, F1 and support, macro and weighted averages, accuracy, balanced accuracy, Cohen’s κ and MCC.
Mermaid 在线编辑器(流程图 / 时序图 / 甘特图)Mermaid Live Editor — Flowcharts, Sequence & Gantt
用 Mermaid 文本语法画图:内置流程图、时序图、甘特图、类图、状态图、ER 图、饼图、思维导图和时间线模板,左边写代码右边实时渲染,可切换主题,导出 SVG 矢量图或高清 PNG;代码自动保存在本机,渲染在浏览器本地完成。Draw with Mermaid text syntax: templates for flowcharts, sequence, Gantt, class, state, ER, pie, mindmap and timeline diagrams, live preview beside the code, themes, and SVG or high-res PNG export.
JS 代码反混淆 / 解包美化JavaScript Deobfuscator & Unpacker
把压缩或混淆过的 JavaScript 尽量还原成可读代码:自动解包 Dean Edwards 的 eval(function(p,a,c,k,e,d)…) 打包器(可多层),还原 \x / \u 转义字符串,折叠 unescape、atob、String.fromCharCode 和字符串拼接常量,十六进制数字转十进制,把 obj["prop"] 改为 obj.prop,最后格式化缩进;纯静态文本处理,不执行代码。Make minified or obfuscated JavaScript readable: unpack Dean Edwards’ eval(function(p,a,c,k,e,d)…) packer (multiple layers), decode \x / \u escapes, fold unescape, atob, String.fromCharCode and concatenated literals, convert hex numbers, turn obj["prop"] into obj.prop and beautify — all as static text transforms, never executing the code.
代码高亮着色(复制到 Word / PPT)Code Syntax Highlighter — Copy to Word & PPT
粘贴代码自动识别语言并语法着色,支持 JavaScript、Python、Java、C/C++、Go、Rust、SQL、Shell 等 30 多种语言和 GitHub、Atom One Dark、Monokai 等主题,可加行号和窗口标题栏,一键复制带颜色的富文本粘贴到 Word、PPT、公众号,或复制 HTML、导出 PNG 图片。Paste code for automatic language detection and syntax colouring — 30+ languages including JavaScript, Python, Java, C/C++, Go, Rust, SQL and Shell, themes like GitHub, Atom One Dark and Monokai, optional line numbers and window frame — then copy coloured rich text into Word, PowerPoint or WeChat articles, copy HTML or export a PNG.
npm / yarn / pnpm / bun 命令互转npm ⇄ yarn ⇄ pnpm ⇄ bun Command Converter
输入任意 npm、yarn、pnpm、bun 或 npx 命令,立即得到另外三种包管理器的等价写法:安装依赖、添加/删除包、-D 开发依赖、-g 全局安装、精确版本、运行脚本、npx 与 dlx/bunx、create 脚手架、更新、CI 安装、依赖原因查询等,并附常用命令对照表,Yarn v1 与 v2+ 的差异会注明。Type any npm, yarn, pnpm, bun or npx command to get the equivalent in the other three: install, add/remove, dev and global deps, exact versions, scripts, npx vs dlx/bunx, create, update, CI installs and “why” — with a cheat sheet and Yarn v1 vs v2+ differences noted.