JSON Tools 在线 JSON 工具集
JSON Tools 是一个免费在线 JSON 工具集,提供格式化、校验、可视化和互转能力,所有数据均在浏览器本地处理。
What it is / 项目是什么
The fast, private JSON toolkit developers actually use — formatter, validator, viewer, and converters. Everything runs in your browser; nothing leaves your device.
给开发者用的 JSON 工具集:格式化、校验、可视化、互转。所有处理都在浏览器里完成,数据不离开你的设备。
How it works / 实现原理
所有功能在浏览器内运行,不上传任何 JSON 内容到服务器。格式化和校验使用原生 JSON.parse + 自定义错误位置标注,能精确指出语法错误所在的行列。可视化部分用懒加载渲染,几 MB 的 JSON 也能流畅展开;互转目前支持 JSON ↔ YAML / CSV / TypeScript 类型 / Markdown 表格,常用方向都做了优化。
Who it is for / 适合谁
需要日常处理 JSON 的前后端工程师、QA 和数据相关角色。
Typical use cases / 常见使用场景
- 调试 API 返回的复杂 JSON 结构
- 把后端响应贴进来生成 TypeScript 类型定义
- 把 CSV 数据快速转成 JSON 喂给前端
Key features / 主要功能
- JSON 格式化、压缩与语法校验
- 树状可视化查看大 JSON 结构
- JSON 与常见格式互转,全程浏览器本地处理
Design notes / 设计取舍
JSON 工具是开发者每天用的东西,但很多在线版本要么有广告、要么要求登录、要么把你的数据上传到服务器(出现过真实的数据泄露事件)。JSON Tools 的设计原则是:永远不上传、永远不要求登录、永远不收集数据。代价是无法做"跨设备保存"这种特性,但这正是它和企业级 JSON 工具的本质区别。
Technology stack / 技术栈
Each layer below was chosen for what it lets the project avoid as much as what it enables. Together they shape the latency, the build pipeline, and how quickly new ideas can be tried in production.
下面这些选择,更多是为了排除某些复杂度,而不只是为了“用上”。它们共同决定了项目的延迟特性、构建流水线,以及把一个想法跑通的最短路径。
Next.js
A React framework with server-side rendering, file-based routing, and a streaming runtime. Powers SEO-friendly pages and incremental builds.
TypeScript
A typed superset of JavaScript that catches mismatches at compile time. Helps keep the codebase maintainable as projects grow.
Tailwind
A utility-first CSS framework that composes styles directly in markup. Keeps visual decisions close to the component and avoids unused CSS bloat.
FAQ / 常见问题
我的 JSON 数据会被存到哪里?
不会被存。所有操作只发生在浏览器内存里,刷新页面就清空。如果你需要保留,请自行复制保存。
能处理多大的 JSON?
一般几十 MB 都没问题,取决于你的设备内存。超过 100MB 建议用本地工具(如 jq)处理。
为什么我的 JSON 验证不过,但其他工具说没问题?
常见原因是 BOM、不可见字符、单引号或注释。JSON 标准比许多语言的"JSON"更严格,我们按标准来。错误信息会指出位置,建议先按位置看一眼。
会增加新的转换格式吗?
会,按用户反馈优先级排。如果你希望加某种格式,欢迎通过 contact 反馈。
More projects from jiligulu
If this project struck a chord, the same hands are behind these. Each one was built to answer a different question — and each one borrows lessons from the rest.
SBTI
A provocative personality test that roasts you. 31 questions, 15 dimensions, 29 personality types — each one brutally honest. 100K+ tests taken.
Read morePersonality test hub人格实验室
A dedicated personality-test hub with 16 playful tests, from MBTI-inspired formats to relationship, work, values, and social-persona quizzes.
Read moreAI character chat话影
An AI character chat project that turns chat records you have the right to use into a testable role, with tone, relationship context, and shared memories.
Read moreContinue reading
The blog goes deeper into the ideas behind JSON Tools. These pieces unpack the psychology, the engineering trade-offs, and the design questions this project raises.
- 11 min read
拖延不是懒,是情绪调节问题 / Procrastination Isn't Laziness, It's Emotion Regulation
你拖延某件事的真正原因,几乎从来不是"我懒",而是"做这件事会让我感觉不好"。Pychyl 和 Sirois 这两位拖延心理学家的研究把这事讲得很硬,也带来一组完全不一样的应对方法。/ The real reason you procrastinate on something almost never reduces to "I'm lazy." It's "doing this would make me feel bad." Tim Pychyl and Fuschia Sirois have spent decades demonstrating this — and the implications change what a useful response looks like.
- 10 min read
独处不等于孤独 / Solitude Is Not the Same as Loneliness
中文里"独处"和"孤独"经常被混着用,神经科学和心理学却把它们当成两件几乎相反的事——前者是恢复,后者是消耗。这篇讲一下两者的差别、独处的具体好处,以及为什么现代生活把独处变得越来越难。/ Chinese readers often blur "solitude" and "loneliness"; neuroscience and psychology treat them as nearly opposite phenomena — one restores, the other drains. This piece spells out the difference, what solitude actually does, and why modern life makes it so hard to access.
- 9 min read
你在 GitHub、LinkedIn、Twitter 上是同一个人吗?/ Are You the Same Person on GitHub, LinkedIn, and Twitter?
程序员、设计师、做产品的人——基本上每个互联网工作者,都在三五个平台上有不同程度割裂的"自己"。这种割裂是策略上的成熟,还是身份层面的代价?/ Engineers, designers, product folks — basically everyone who works online maintains some level of fractured self across three or five platforms. Is that fracture strategic maturity, or an identity-level cost?