❓ FAQ 生成器(FAQPage 结构化数据 / HTML)FAQ Generator (FAQPage Schema & HTML)
把“Q: 问题 / A: 答案”格式的问答整理成 Google 认可的 FAQPage JSON-LD 结构化数据、可折叠的 HTML(details/summary)、Markdown 或纯 JSON,自动转义特殊字符并检查缺少答案的问题。Turn questions and answers written as 'Q: … / A: …' into FAQPage JSON-LD structured data, collapsible HTML (details/summary), Markdown or plain JSON. Special characters are escaped and questions missing an answer are flagged.
使用说明与常见问题How-to & FAQ
「FAQ 生成器(FAQPage 结构化数据 / HTML)」是什么?What is the FAQ Generator (FAQPage Schema & HTML) tool?
把“Q: 问题 / A: 答案”格式的问答整理成 Google 认可的 FAQPage JSON-LD 结构化数据、可折叠的 HTML(details/summary)、Markdown 或纯 JSON,自动转义特殊字符并检查缺少答案的问题。Turn questions and answers written as 'Q: … / A: …' into FAQPage JSON-LD structured data, collapsible HTML (details/summary), Markdown or plain JSON. Special characters are escaped and questions missing an answer are flagged.
如何使用「FAQ 生成器(FAQPage 结构化数据 / HTML)」?How do I use the FAQ Generator (FAQPage Schema & HTML) tool?
在「FAQ 生成器(FAQPage 结构化数据 / HTML)」中,把内容粘贴或输入到上方输入框,按需设置「输出格式」,结果会实时显示在下方,点击「复制结果」即可复制。In the FAQ Generator (FAQPage Schema & HTML): Paste or type into the input box, adjust "Output"; the result appears below instantly — click "Copy result" to copy it.
输入格式是怎样的?What input format does it expect?
每个问题以 Q:(或 问:、问题:)开头,答案以 A:(或 答:、答案:)开头,冒号可以是中文或英文。答案可以跨多行,空行分段;下一个 Q: 开始新的问答。Start each question with Q: and each answer with A: (Question: and Answer: and the Chinese equivalents work too, with either a normal or a full-width colon). An answer may span several lines, with blank lines between paragraphs; the next Q: starts a new pair.
FAQPage 结构化数据还能带来搜索结果里的问答吗?Does FAQPage markup still give rich results in Google?
自 2023 年 8 月起,Google 只给知名的政府和医疗健康权威网站显示 FAQ 富媒体结果,其它网站加了 FAQPage 标记通常不会再显示折叠问答,但标记仍然合法,其它搜索引擎和 AI 工具也可能读取。问答内容需要在页面上对用户可见。Since August 2023 Google only shows FAQ rich results for well-known, authoritative government and health sites; on other sites FAQPage markup usually no longer shows the expandable answers, but it is still valid and other search engines and AI tools may read it. The questions and answers must also be visible on the page.
特殊字符会被正确处理吗?Are special characters handled?
会。JSON 里的引号和换行按 JSON 规则转义;JSON-LD 里“小于号 + 斜杠”会在斜杠前加反斜杠,所以答案里即使出现脚本结束标签,也不会提前结束页面里的脚本块;HTML 输出里的尖括号、& 和双引号会转成 HTML 实体,所以答案中的代码片段按原文显示。Yes. Quotes and line breaks are escaped by JSON rules; in JSON-LD a less-than sign followed by a slash gets a backslash before the slash, so even a closing script tag in an answer cannot end the script block early; in the HTML output angle brackets, ampersands and double quotes become HTML entities, so code in an answer shows as written.
代码或数据会被上传吗?Is my code or data uploaded?
不会。「FAQ 生成器(FAQPage 结构化数据 / HTML)」完全用 JavaScript 在本地运行,适合处理含有密钥、内部接口等敏感内容的数据。No. The FAQ Generator (FAQPage Schema & HTML) runs entirely in local JavaScript, so it is safe for data containing keys or internal endpoints.
「FAQ 生成器(FAQPage 结构化数据 / HTML)」免费吗?需要注册吗?Is the FAQ Generator (FAQPage Schema & HTML) free? Do I need an account?
「FAQ 生成器(FAQPage 结构化数据 / HTML)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The FAQ Generator (FAQPage Schema & HTML) is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.