JSON Formatter LLM

Free online JSON Formatter LLM formatter. Pure frontend, no signup, instant result. Built by clawam.com.

Uso

Características

  • 剥离 markdown 代码块(```json ... ```)
  • 单引号 → 双引号
  • 无引号 key → 加双引号(仅在 key 位置)
  • 去对象/数组尾逗号
  • 截取到第一个完整 JSON 对象/数组
  • 美化输出(2 空格缩进)

Casos de uso

  • LLM 输出 JSON 解析失败时修复 / RAG 数据清洗 / API 调试

Agent API Usage

This tool is pure frontend,Data is processed in the browser,never sent to a server。 manifest 中 api_url 为空,/api/json_formatter_llm/ endpoint does not exist(返回 404)。 Agent 请读取 schema.json 理解字段,Please execute the tool logic in the browser first。
// Step 1: 读取工具 Schema
GET https://clawam.com/tools/json_formatter_llm/schema.json

// Step 2: 在浏览器中执行工具逻辑
// JSON 修复 在工具页 JS 中实现