🔍

首页Home › 开发工具Developer Tools

📸 JSON 截图(导出为图片)Capture JSON Screenshot

把 JSON 格式化后画成图片并下载(可选深色背景),适合分享结构预览。本地处理。Pretty-print JSON onto an image and download it (optional dark background). Handy for sharing a structure preview. Processed locally.

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

「JSON 截图(导出为图片)」是什么?What is the Capture JSON Screenshot tool?

把 JSON 格式化后画成图片并下载(可选深色背景),适合分享结构预览。本地处理。Pretty-print JSON onto an image and download it (optional dark background). Handy for sharing a structure preview. Processed locally.

如何使用「JSON 截图(导出为图片)」?How do I use the Capture JSON Screenshot tool?

在「JSON 截图(导出为图片)」中,按需设置「主题」、「字号」等选项,然后点击「生成图片」、「下载 PNG」按钮即可。In the Capture JSON Screenshot: Set "Theme", "Font size", then click "Render", "Download PNG".

和「JSON 转图片」有何不同?How is this different from Convert JSON to Image?

本工具侧重等宽字体截图分享;转换工具可调更多排版选项。两者都在本地生成 PNG。This tool focuses on a monospace screenshot for sharing; Convert JSON to Image offers more layout options. Both build a PNG locally.

很长或很宽的 JSON 会被截掉吗?Is long or wide JSON cut off?

不会悄悄截掉。超过 2400 px 宽的行会自动换行(用 ↪ 标出接续);总高度超过 8000 px 时不生成图片,并提示需要多少行、能放多少行,可以减小字号或拆开再生成。改了内容或选项会自动重新生成,下载的总是当前设置的图片。Nothing is cut off silently. Lines wider than 2400 px wrap (marked with ↪); if the total height would exceed 8000 px no image is made and a message says how many lines are needed and how many fit, so you can lower the font size or split the JSON. Editing the text or options regenerates automatically, so the download always matches the current settings.

大数字和重复键会怎样?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 options can I adjust?

「JSON 截图(导出为图片)」的设置:「主题」可选 浅色、深色(默认 浅色);「字号」默认 14。每次生成结果都按当前设置处理。Settings in the Capture JSON Screenshot — "Theme": Light, Dark (default Light); "Font size" default 14. The result always uses the current settings.

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

不会。「JSON 截图(导出为图片)」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The Capture JSON Screenshot runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.

「JSON 截图(导出为图片)」免费吗?需要注册吗?Is the Capture JSON Screenshot free? Do I need an account?

「JSON 截图(导出为图片)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Capture JSON Screenshot 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 转图片Convert JSON to Image🧾 JSON 格式化校验JSON Formatter & Validator💡 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✂️ TSV 去除单元格首尾空格Trim TSV Columns🔓 TSV URL 解码URL-Decode TSV🔗 TSV URL 编码URL-Encode TSV✅ 校验 TSVValidate TSV

← 全部工具All tools