🔍

首页Home › 开发工具Developer Tools

🔀 混淆 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.

使用说明与常见问题How-to & FAQ

「混淆 JSON(打乱键序 / 编码字符串)」是什么?What is the Obfuscate JSON tool?

混淆 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(打乱键序 / 编码字符串)」?How do I use the Obfuscate JSON tool?

在「混淆 JSON(打乱键序 / 编码字符串)」中,把内容粘贴或输入到上方输入框,按需设置「种子(打乱)」,结果会实时显示在下方,点击「复制结果」即可复制。In the Obfuscate JSON: Paste or type into the input box, adjust "Seed (shuffle)"; the result appears below instantly — click "Copy result" to copy it.

这是加密吗?Is this encryption?

不是。只是打乱键序或转义,任何人都能还原。No. It only shuffles keys or escapes strings; anyone can reverse it.

大数字和重复键会怎样?What about big numbers and duplicate keys?

数字按原文保留,不经过 JavaScript 浮点:12345678901234567890、1e400、1.50 原样输出,不会变成 12345678901234567000、Infinity 或 1.5。重复的键按 JSON 规则保留最后一个值,并在结果下方提示是哪个键。语法错误会写出第几行第几列。Numbers are kept exactly as written, with no JavaScript floating-point step: 12345678901234567890, 1e400 and 1.50 come out unchanged instead of 12345678901234567000, Infinity or 1.5. Duplicate keys keep the last value, as JSON parsers do, and a notice below the result names the key. Syntax errors give the line and column.

输入和输出是什么样的?What does the input and output look like?

例如在「混淆 JSON(打乱键序 / 编码字符串)」中输入 {"b":1,"a":2},「打乱键顺序」设为 勾选,「种子(打乱)」设为 1,输出为:{ ⏎ "a": 2, ⏎ "b": 1 ⏎ }(⏎ 表示换行)。For example, the Obfuscate JSON turns the input {"b":1,"a":2}, "Shuffle keys" set to on, "Seed (shuffle)" set to 1 into: { ⏎ "a": 2, ⏎ "b": 1 ⏎ } (⏎ marks a line break).

有哪些选项可以调整?What options can I adjust?

「混淆 JSON(打乱键序 / 编码字符串)」的设置:「种子(打乱)」可留空;可勾选:「打乱键顺序」(默认勾选)、「字符串改 \u 转义」、「压缩输出」。每次生成结果都按当前设置处理。Settings in the Obfuscate JSON — "Seed (shuffle)" optional; tick boxes: "Shuffle keys" (on by default), "Escape strings as \u", "Minify". The result always uses the current settings.

代码或数据会被上传吗?Is my code or data uploaded?

不会。「混淆 JSON(打乱键序 / 编码字符串)」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Obfuscate JSON runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.

「混淆 JSON(打乱键序 / 编码字符串)」免费吗?需要注册吗?Is the Obfuscate JSON free? Do I need an account?

「混淆 JSON(打乱键序 / 编码字符串)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Obfuscate JSON is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🚫 JSON 打码(隐藏敏感字段)Censor JSON👁 隐藏 JSON 字符串内容Hide JSON Strings⚙ JSON 转 Java PropertiesConvert JSON to Properties⚙ Java Properties 转 JSONConvert Properties to JSON📸 JSON 截图(导出为图片)Capture JSON Screenshot🖼️ JSON 转图片Convert JSON to Image💡 JSON 语法高亮(HTML)Highlight JSON🧱 JSON 转 BSON(十六进制)Convert JSON to BSON📊 TSV 分析Analyze TSV📄 文本转 TSVConvert Text to TSV📤 提取 TSV 列Extract TSV Columns🔍 查找不完整 TSV 行Find Incomplete TSV Values

← 全部工具All tools