[{"data":1,"prerenderedAt":263},["ShallowReactive",2],{"i-lucide:menu":3,"i-lucide:grip":8,"i-lucide:chevron-right":10,"i-lucide:moon":12,"i-lucide:sun":14,"i-material-symbols:language":16,"i-lucide:chevron-down":18,"i-lucide:shield-check":20,"i-lucide:mail":22,"i-tabler:markdown":24,"i-lucide:code-xml":26,"i-lucide:film":28,"i-lucide:file-text":30,"i-lucide:box":32,"i-lucide:code-2":34,"i-lucide:image":35,"i-lucide:square-sigma":37,"i-lucide:gamepad-2":39,"i-lucide:sparkles":41,"i-lucide:graduation-cap":43,"tool-content-dev-jsonBeautify":45,"i-lucide:minimize-2":212,"i-lucide:copy":214,"i-lucide:eraser":216,"i-lucide:x":218,"i-lucide:chevrons-up":220,"i-lucide:chevrons-down":222,"i-lucide:code":224,"i-lucide:search":226,"i-lucide:shield":228,"i-lucide:git-branch":230,"i-lucide:check-circle":232,"i-lucide:clipboard-paste":234,"i-lucide:file-check-2":236,"i-lucide:file-json-2":239,"i-lucide:diff":241,"i-lucide:link-2":243,"i-lucide:binary":245,"i-lucide:regex":247,"i-lucide:file-code-2":249,"i-lucide:arrow-up-right":251,"i-lucide:clipboard":253,"i-lucide:wand-2":255,"i-lucide:file-json":257,"i-lucide:git-compare":259,"i-lucide:indent-increase":261},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":7},0,24,false,"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M4 5h16M4 12h16M4 19h16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":9},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"5\" r=\"1\"\u002F>\u003Ccircle cx=\"12\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"12\" r=\"1\"\u002F>\u003Ccircle cx=\"12\" cy=\"19\" r=\"1\"\u002F>\u003Ccircle cx=\"19\" cy=\"19\" r=\"1\"\u002F>\u003Ccircle cx=\"5\" cy=\"19\" r=\"1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":11},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":13},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":15},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"12\" cy=\"12\" r=\"4\"\u002F>\u003Cpath d=\"M12 2v2m0 16v2M4.93 4.93l1.41 1.41m11.32 11.32l1.41 1.41M2 12h2m16 0h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":17},"\u003Cpath fill=\"currentColor\" d=\"M8.125 21.213q-1.825-.788-3.187-2.15t-2.15-3.188T2 11.988t.788-3.875t2.15-3.175t3.187-2.15T12.013 2t3.875.788t3.175 2.15t2.15 3.175t.787 3.875t-.787 3.887t-2.15 3.188t-3.175 2.15t-3.875.787t-3.888-.787M12 19.95q.65-.9 1.125-1.875T13.9 16h-3.8q.3 1.1.775 2.075T12 19.95m-2.6-.4q-.45-.825-.787-1.713T8.05 16H5.1q.725 1.25 1.813 2.175T9.4 19.55m5.2 0q1.4-.45 2.488-1.375T18.9 16h-2.95q-.225.95-.562 1.838T14.6 19.55M4.25 14h3.4q-.075-.5-.112-.987T7.5 12t.038-1.012T7.65 10h-3.4q-.125.5-.187.988T4 12t.063 1.013t.187.987m5.4 0h4.7q.075-.5.113-.987T14.5 12t-.038-1.012T14.35 10h-4.7q-.075.5-.112.988T9.5 12t.038 1.013t.112.987m6.7 0h3.4q.125-.5.188-.987T20 12t-.062-1.012T19.75 10h-3.4q.075.5.113.988T16.5 12t-.038 1.013t-.112.987m-.4-6h2.95q-.725-1.25-1.812-2.175T14.6 4.45q.45.825.788 1.713T15.95 8M10.1 8h3.8q-.3-1.1-.775-2.075T12 4.05q-.65.9-1.125 1.875T10.1 8m-5 0h2.95q.225-.95.563-1.838T9.4 4.45Q8 4.9 6.912 5.825T5.1 8\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":19},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m6 9l6 6l6-6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":21},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"\u002F>\u003Cpath d=\"m9 12l2 2l4-4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":23},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m22 7l-8.991 5.727a2 2 0 0 1-2.009 0L2 7\"\u002F>\u003Crect width=\"20\" height=\"16\" x=\"2\" y=\"4\" rx=\"2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":25},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\"\u002F>\u003Cpath d=\"M7 15V9l2 2l2-2v6m3-2l2 2l2-2m-2 2V9\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":27},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m18 16l4-4l-4-4M6 8l-4 4l4 4m8.5-12l-5 16\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":29},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M7 3v18M3 7.5h4M3 12h18M3 16.5h4M17 3v18m0-13.5h4m-4 9h4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":31},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z\"\u002F>\u003Cpath d=\"M14 2v5a1 1 0 0 0 1 1h5M10 9H8m8 4H8m8 4H8\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":33},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z\"\u002F>\u003Cpath d=\"m3.3 7l8.7 5l8.7-5M12 22V12\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":27},{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":36},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\" ry=\"2\"\u002F>\u003Ccircle cx=\"9\" cy=\"9\" r=\"2\"\u002F>\u003Cpath d=\"m21 15l-3.086-3.086a2 2 0 0 0-2.828 0L6 21\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":38},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"18\" height=\"18\" x=\"3\" y=\"3\" rx=\"2\"\u002F>\u003Cpath d=\"M16 8.9V7H8l4 5l-4 5h8v-1.9\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":40},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M6 11h4M8 9v4m7-1h.01M18 10h.01m-.69-5H6.68a4 4 0 0 0-3.978 3.59l-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258q-.01-.075-.017-.151A4 4 0 0 0 17.32 5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":42},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594zM20 2v4m2-2h-4\"\u002F>\u003Ccircle cx=\"4\" cy=\"20\" r=\"2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":44},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0zM22 10v6\"\u002F>\u003Cpath d=\"M6 12.5V16a6 3 0 0 0 12 0v-3.5\"\u002F>\u003C\u002Fg>",{"strings":46,"features":109,"steps":140,"useCases":164,"articleHtml":209},{"zh":47,"en":78},{"description":48,"editorPlaceholder":49,"format":50,"compress":51,"clear":52,"copy":53,"copied":54,"expandAll":55,"collapseAll":56,"editHint":57,"examples":58,"exampleSimple":59,"exampleSimpleDesc":60,"exampleNested":61,"exampleNestedDesc":62,"exampleArray":63,"exampleArrayDesc":64,"demoTitle":65,"demoHint":66,"errorAt":67,"line":68,"column":69,"autoFix":70,"suggestion":71,"faq1q":72,"faq1a":73,"faq2q":74,"faq2a":75,"faq3q":76,"faq3a":77},"专业JSON格式化美化工具，支持JSON字符串的格式化、验证和美化显示。提供语法高亮、智能缩进、折叠展开、错误检测等功能。支持复杂嵌套结构，可视化JSON数据层次，是API开发、数据分析、配置文件编辑的理想工具。","粘贴或输入 JSON,随后点击「美化」即可格式化…","美化","压缩","清空","复制","已复制","全部展开","全部折叠","点击行号旁箭头折叠节点,按 Ctrl\u002FCmd+F 搜索,直接输入即可编辑","示例模板","简单对象","基础 JSON 对象结构","嵌套对象","包含嵌套结构的复杂对象","数组数据","包含对象数组的数据结构","示例 JSON :  可以直接替换为你自己的内容","这是一段演示数据,直接编辑或粘贴覆盖即可","错误位于","第","列","自动修复","建议","可以验证JSON格式是否正确吗？","可以。工具会自动检测JSON语法错误，并精确提示错误位置和原因，帮助开发者快速定位和修复问题。支持复杂嵌套结构的验证。","JSON数据会上传到服务器吗？","绝对不会。所有JSON数据的格式化、压缩、验证都在浏览器本地完成，您的API密钥、配置文件等敏感数据不会离开您的设备，安全可靠。","支持哪些功能？","支持JSON格式化美化、语法高亮、自动缩进、错误检测、展开\u002F折叠、一键复制、压缩等功能。还提供多种示例模板，是API调试和配置文件编辑的理想工具。",{"description":79,"editorPlaceholder":80,"format":81,"compress":82,"clear":83,"copy":84,"copied":85,"expandAll":86,"collapseAll":87,"editHint":88,"examples":89,"exampleSimple":90,"exampleSimpleDesc":91,"exampleNested":92,"exampleNestedDesc":93,"exampleArray":94,"exampleArrayDesc":95,"demoTitle":96,"demoHint":97,"errorAt":98,"line":99,"column":100,"autoFix":101,"suggestion":102,"faq1q":103,"faq1a":104,"faq2q":105,"faq2a":106,"faq3q":107,"faq3a":108},"Professional JSON formatting and beautification tool supporting JSON string formatting, validation, and beautiful display. Provides syntax highlighting, smart indentation, fold\u002Fexpand, error detection and other features. Supports complex nested structures, visualizes JSON data hierarchy, ideal for API development, data analysis, and configuration file editing.","Paste or type JSON, then click Beautify to format…","Beautify","Compress","Clear","Copy","Copied","Expand All","Collapse All","Click fold arrows next to line numbers, Ctrl\u002FCmd+F to search, just type to edit","Example Templates","Simple Object","Basic JSON object structure","Nested Object","Complex object with nested structure","Array Data","Data structure with object arrays","Sample JSON — feel free to replace with your own","This is demo data. Just edit or paste over it to start.","Error at","Line","Column","Auto Fix","Suggestion","Can it validate whether my JSON is correct?","Yes. The tool automatically detects JSON syntax errors and pinpoints the exact location and cause, helping developers quickly find and fix issues. Supports validation of complex nested structures.","Will my JSON data be uploaded to a server?","Absolutely not. All JSON formatting, compression, and validation happen locally in your browser. Your API keys, config files, and sensitive data never leave your device.","What features are supported?","JSON beautification, syntax highlighting, auto-indentation, error detection, expand\u002Fcollapse, one-click copy, compression, and more. Includes example templates — ideal for API debugging and config file editing.",{"zh":110,"en":127},[111,115,119,123],{"icon":112,"title":113,"desc":114},"lucide:shield","隐私安全","JSON 数据在浏览器本地处理，不上传",{"icon":116,"title":117,"desc":118},"lucide:indent-increase","智能格式化","自动缩进和美化 JSON 数据结构",{"icon":120,"title":121,"desc":122},"lucide:git-branch","树形视图","以可折叠树形结构可视化 JSON 数据",{"icon":124,"title":125,"desc":126},"lucide:check-circle","语法检查","自动检测并高亮 JSON 语法错误",[128,131,134,137],{"icon":112,"title":129,"desc":130},"Privacy Safe","JSON data processed locally in your browser",{"icon":116,"title":132,"desc":133},"Smart Format","Auto-indent and beautify JSON structure",{"icon":120,"title":135,"desc":136},"Tree View","Visualize JSON as a collapsible tree",{"icon":124,"title":138,"desc":139},"Syntax Check","Auto-detect and highlight JSON errors",{"zh":141,"en":154},[142,146,150],{"icon":143,"title":144,"desc":145},"lucide:clipboard-paste","粘贴 JSON","将 JSON 字符串粘贴到输入区",{"icon":147,"title":148,"desc":149},"lucide:wand-2","格式化或压缩","点击「美化」展开缩进，或「压缩」生成单行 JSON",{"icon":151,"title":152,"desc":153},"lucide:copy","复制结果","一键复制格式化后的 JSON，直接使用",[155,158,161],{"icon":143,"title":156,"desc":157},"Paste JSON","Paste your JSON string into the input area",{"icon":147,"title":159,"desc":160},"Beautify or Minify","Click Beautify to expand with indentation, or Minify to produce single-line JSON",{"icon":151,"title":162,"desc":163},"Copy the Result","Copy the formatted JSON with one click and use it directly",{"zh":165,"en":190},[166,170,174,178,182,186],{"icon":167,"title":168,"desc":169},"lucide:code","格式化 API 响应","将压缩的 JSON 响应体展开，快速阅读字段结构",{"icon":171,"title":172,"desc":173},"lucide:search","调试接口数据","美化后配合折叠功能，定位深层嵌套字段更高效",{"icon":175,"title":176,"desc":177},"lucide:minimize-2","压缩配置文件","将可读 JSON 压缩为单行，减小文件体积用于生产环境",{"icon":179,"title":180,"desc":181},"lucide:file-json","整理 package.json","规范化缩进和键顺序，保持团队配置文件风格统一",{"icon":183,"title":184,"desc":185},"lucide:clipboard","清理日志中的 JSON","从日志行中提取 JSON 片段并格式化，方便问题排查",{"icon":187,"title":188,"desc":189},"lucide:git-compare","对比 JSON 数据差异","格式化后复制到文本对比工具，直观查看两份数据的字段差异",[191,194,197,200,203,206],{"icon":167,"title":192,"desc":193},"Format API Responses","Expand minified JSON response bodies to easily read field structures",{"icon":171,"title":195,"desc":196},"Debug API Payloads","Beautify and collapse nested objects to locate deep fields faster",{"icon":175,"title":198,"desc":199},"Minify Config Files","Compress readable JSON to a single line for production deployments",{"icon":179,"title":201,"desc":202},"Normalize package.json","Standardize indentation and key order for consistent team config style",{"icon":183,"title":204,"desc":205},"Clean JSON from Logs","Extract and format JSON snippets embedded in log lines for easier debugging",{"icon":187,"title":207,"desc":208},"Spot JSON Data Differences","Format two payloads then paste into a diff tool to spot field-level changes clearly",{"zh":210,"en":211},"\u003Ch2>为什么在 2026 年你需要一款在线 JSON 格式化工具？\u003C\u002Fh2>\n\u003Cp>JSON（JavaScript Object Notation）已成为现代 Web 开发和数据交换的事实标准格式。无论是调用 REST API、配置应用程序还是调试后端响应，开发者每天都要与 JSON 打交道。然而，从接口返回的原始 JSON 通常是压缩过的单行文本: 没有缩进、没有换行，人眼几乎无法阅读。\u003C\u002Fp>\n\u003Cp>在 2026 年，随着微服务和前后端分离架构的全面普及，JSON 数据的复杂度也在不断攀升。嵌套层级深、字段数量多的 JSON 已经是家常便饭。一款优秀的 JSON 格式化工具能帮你瞬间将杂乱的数据转化为结构清晰、层次分明的可读格式，大幅提升开发调试效率。\u003C\u002Fp>\n\u003Cp>MeTool 的 JSON 格式化工具完全在浏览器中运行，你的数据不会被发送到任何服务器。对于处理包含敏感信息（如用户数据、密钥配置）的 JSON，这种本地处理方式提供了最高级别的隐私保护。\u003C\u002Fp>\n\u003Ch2>MeTool JSON 格式化工具的核心功能\u003C\u002Fh2>\n\u003Ch3>智能语法高亮\u003C\u002Fh3>\n\u003Cp>不同类型的 JSON 值（字符串、数字、布尔值、null）以不同颜色显示，让你一眼就能识别数据结构。键名与值的视觉区分让查找特定字段变得轻而易举。\u003C\u002Fp>\n\u003Ch3>自动缩进与层级折叠\u003C\u002Fh3>\n\u003Cp>支持 2 空格、4 空格和 Tab 多种缩进格式。对于层级复杂的大型 JSON，你可以展开或折叠任意节点，专注于当前关注的数据段。\u003C\u002Fp>\n\u003Ch3>实时错误检测与定位\u003C\u002Fh3>\n\u003Cp>输入 JSON 时，工具会实时分析语法正确性。一旦检测到错误，会精确指出错误所在的行号和位置，并给出修复建议: 比如缺少引号、多余逗号、括号不匹配等常见问题。\u003C\u002Fp>\n\u003Ch3>一键压缩与复制\u003C\u002Fh3>\n\u003Cp>格式化查看后，还可以一键压缩为紧凑格式，方便粘贴到代码或配置文件中。复制按钮让你无需手动选择文本即可将结果放入剪贴板。\u003C\u002Fp>\n\u003Ch2>如何使用 MeTool 格式化 JSON\u003C\u002Fh2>\n\u003Col>\n\u003Cli>\u003Cstrong>打开工具：\u003C\u002Fstrong>访问 MeTool 的 JSON 格式化页面，无需注册或登录，打开即用。\u003C\u002Fli>\n\u003Cli>\u003Cstrong>粘贴或输入 JSON：\u003C\u002Fstrong>将你的 JSON 数据粘贴到左侧编辑区域。支持直接粘贴从 API 响应、日志文件或数据库中复制的原始 JSON。\u003C\u002Fli>\n\u003Cli>\u003Cstrong>自动格式化：\u003C\u002Fstrong>工具会实时将输入的 JSON 进行格式化显示。你可以选择不同的缩进级别，或使用展开\u002F折叠功能浏览复杂结构。\u003C\u002Fli>\n\u003Cli>\u003Cstrong>复制结果：\u003C\u002Fstrong>格式化完成后，点击复制按钮将美化后的 JSON 复制到剪贴板，或选择压缩模式获得紧凑输出。\u003C\u002Fli>\n\u003C\u002Fol>\n","\u003Ch2>Why You Need an Online JSON Formatter in 2026\u003C\u002Fh2>\n\u003Cp>JSON (JavaScript Object Notation) has become the de facto standard for modern web development and data exchange. Whether you are calling REST APIs, configuring applications, or debugging backend responses, developers interact with JSON daily. However, raw JSON returned from APIs is typically minified into a single line — no indentation, no line breaks, and virtually impossible for humans to read.\u003C\u002Fp>\n\u003Cp>In 2026, with the widespread adoption of microservices and decoupled frontend-backend architectures, the complexity of JSON data continues to grow. Deeply nested structures with dozens of fields are the norm. A quality JSON formatter can instantly transform messy data into a clean, well-structured, readable format — dramatically boosting your debugging efficiency.\u003C\u002Fp>\n\u003Cp>MeTool's JSON Formatter runs entirely in your browser, meaning your data is never sent to any external server. For JSON containing sensitive information such as user data or API keys, this local-processing approach provides the highest level of privacy protection.\u003C\u002Fp>\n\u003Ch2>Key Features of MeTool JSON Formatter\u003C\u002Fh2>\n\u003Ch3>Smart Syntax Highlighting\u003C\u002Fh3>\n\u003Cp>Different JSON value types — strings, numbers, booleans, null — are displayed in distinct colors, allowing you to instantly identify data structures. The visual distinction between keys and values makes finding specific fields effortless.\u003C\u002Fp>\n\u003Ch3>Auto-Indentation &amp; Collapsible Nodes\u003C\u002Fh3>\n\u003Cp>Choose from 2-space, 4-space, or tab indentation styles. For large, deeply nested JSON documents, you can expand or collapse any node to focus on the data segment you care about.\u003C\u002Fp>\n\u003Ch3>Real-Time Error Detection\u003C\u002Fh3>\n\u003Cp>As you type or paste JSON, the tool analyzes syntax correctness in real time. When an error is detected, it pinpoints the exact line and position, along with fix suggestions — such as missing quotes, trailing commas, or mismatched brackets.\u003C\u002Fp>\n\u003Ch3>One-Click Minify &amp; Copy\u003C\u002Fh3>\n\u003Cp>After reviewing the formatted output, you can minify it back to compact form with a single click — perfect for pasting into code or config files. The copy button places the result directly in your clipboard without manual selection.\u003C\u002Fp>\n\u003Ch2>How to Format JSON with MeTool\u003C\u002Fh2>\n\u003Col>\n\u003Cli>\u003Cstrong>Open the Tool:\u003C\u002Fstrong> Navigate to MeTool's JSON Formatter page — no registration or login required.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Paste or Enter JSON:\u003C\u002Fstrong> Paste your JSON data into the editor area. You can directly paste raw JSON from API responses, log files, or databases.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Automatic Formatting:\u003C\u002Fstrong> The tool formats your input in real time. Choose different indentation levels, or use the expand\u002Fcollapse controls to navigate complex structures.\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Copy the Result:\u003C\u002Fstrong> Click the copy button to place the beautified JSON on your clipboard, or switch to minified mode for a compact output.\u003C\u002Fli>\n\u003C\u002Fol>\n",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":213},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m14 10l7-7m-1 7h-6V4M3 21l7-7m-6 0h6v6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":215},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"14\" height=\"14\" x=\"8\" y=\"8\" rx=\"2\" ry=\"2\"\u002F>\u003Cpath d=\"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":217},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21m-7.752-9.91l8.828 8.828\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":219},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M18 6L6 18M6 6l12 12\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":221},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m17 11l-5-5l-5 5m10 7l-5-5l-5 5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":223},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m7 6l5 5l5-5M7 13l5 5l5-5\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":225},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m16 18l6-6l-6-6M8 6l-6 6l6 6\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":227},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"m21 21l-4.34-4.34\"\u002F>\u003Ccircle cx=\"11\" cy=\"11\" r=\"8\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":229},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":231},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M15 6a9 9 0 0 0-9 9V3\"\u002F>\u003Ccircle cx=\"18\" cy=\"6\" r=\"3\"\u002F>\u003Ccircle cx=\"6\" cy=\"18\" r=\"3\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":233},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M21.801 10A10 10 0 1 1 17 3.335\"\u002F>\u003Cpath d=\"m9 11l3 3L22 4\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":235},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M11 14h10M16 4h2a2 2 0 0 1 2 2v1.344M17 18l4-4l-4-4\"\u002F>\u003Cpath d=\"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 1.793-1.113\"\u002F>\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":237,"hidden":238},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\"\u002F>\u003Cpath d=\"M14 2v4a2 2 0 0 0 2 2h4M3 15l2 2l4-4\"\u002F>\u003C\u002Fg>",true,{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":240,"hidden":238},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\"\u002F>\u003Cpath d=\"M14 2v4a2 2 0 0 0 2 2h4M4 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1a1 1 0 0 1 1 1v1a1 1 0 0 0 1 1m4 0a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1a1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":242},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M12 3v14m-7-7h14M5 21h14\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":244},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M9 17H7A5 5 0 0 1 7 7h2m6 0h2a5 5 0 1 1 0 10h-2m-7-5h8\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":246},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"4\" height=\"6\" x=\"14\" y=\"14\" rx=\"2\"\u002F>\u003Crect width=\"4\" height=\"6\" x=\"6\" y=\"4\" rx=\"2\"\u002F>\u003Cpath d=\"M6 20h4m4-10h4M6 14h2v6m6-16h2v6\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":248},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M17 3v10m-4.33-7.5l8.66 5m-8.66 0l8.66-5M9 17a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v2a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2z\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":250,"hidden":238},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4\"\u002F>\u003Cpath d=\"M14 2v4a2 2 0 0 0 2 2h4M5 12l-3 3l3 3m4 0l3-3l-3-3\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":252},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M7 7h10v10M7 17L17 7\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":254},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Crect width=\"8\" height=\"4\" x=\"8\" y=\"2\" rx=\"1\" ry=\"1\"\u002F>\u003Cpath d=\"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":256},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m21.64 3.64l-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72M14 7l3 3M5 6v4m14 4v4M10 2v2M7 8H3m18 8h-4M11 3H9\"\u002F>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":258,"hidden":238},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Cpath d=\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\"\u002F>\u003Cpath d=\"M14 2v4a2 2 0 0 0 2 2h4m-10 4a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1a1 1 0 0 1 1 1v1a1 1 0 0 0 1 1m4 0a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1a1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":260},"\u003Cg fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\">\u003Ccircle cx=\"18\" cy=\"18\" r=\"3\"\u002F>\u003Ccircle cx=\"6\" cy=\"6\" r=\"3\"\u002F>\u003Cpath d=\"M13 6h3a2 2 0 0 1 2 2v7m-7 3H8a2 2 0 0 1-2-2V9\"\u002F>\u003C\u002Fg>",{"left":4,"top":4,"width":5,"height":5,"rotate":4,"vFlip":6,"hFlip":6,"body":262,"hidden":238},"\u003Cpath fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M21 12H11m10 6H11M21 6H11M3 8l4 4l-4 4\"\u002F>",1782799329550]