JSON & Regex Lab

JSON & Regex Lab
Open in Preview Auto-launching isolated sandbox…
Open in Preview ⬇ Download .html

About JSON & Regex Lab

JSON & Regex Lab is a lightweight single-file developer workbench combining an interactive JSON inspector and a real-time regular expression tester.

In JSON mode, developers can format, minify, sort keys, unescape stringified payloads, pinpoint line-and-column syntax errors, and copy exact JSONPath expressions from a collapsible tree view.

Switching to Regex mode unlocks live match highlighting, toggleable JavaScript flags, capture group breakdown tables, replacement previews, and a built-in pattern cookbook.

Because every operation runs locally in the browser inside one standalone HTML document, sensitive payloads and API logs never leave your machine.

Launch it instantly inside OneHTML's isolated sandbox with zero installations, telemetry, or external network permissions.

JSON & Regex Lab 是专为开发者打造的双模式单文件便携调试工作台,集成了交互式 JSON 树形解析器与正则表达式实时测试仪。

在 JSON 模式下,支持格式化、压缩、键名排序、反转义字符串、精准定位语法报错行列,以及点击树节点一键复制 JSONPath 路径。

切换至正则模式即可获得实时匹配高亮、JS 修饰符开关、捕获组明细拆解表、替换结果预览以及常用正则速查模板库。

所有解析与匹配计算均在单个 HTML 文件内本地完成,敏感的接口报文与生产日志绝不离开您的设备。

在 OneHTML 零信任隔离沙盒中即开即用,支持中英双语界面且无任何遥测或外链请求。

Key Highlights

  • JSON Formatter, Error Pinpointing & Click-to-Copy JSONPath
  • Live Regex Highlighter, Capture Group Table & Replace Preview
  • 100% Client-Side Execution — Sensitive Logs Never Leave Device
  • JSON 格式化/压缩/语法报错行列定位与树形 JSONPath 一键复制
  • 正则表达式实时高亮、捕获组拆解表格与替换结果实时预览
  • 100% 本地浏览器沙盒计算,敏感报文与日志零外传
A little conversation

Be the first to leave a little thought.

Loading the good stuff…