分类: 开发工具

Meta 标签生成器

站方自主规划没找到想要的工具?

生成标题、描述、Open Graph 和 Twitter 标签

填写标题、描述和社交字段,生成页面 <head> 所需的 <title>、meta 描述、canonical、Open Graph 与 Twitter card 标签。长度提示会标出可能被截断的文本。

标题长度44 (合适)描述长度107 (合适)
HTML 标签
<title>LocalTools — Free Privacy-First Online Tools</title>
<meta name="description" content="Fast, free browser-based tools for developers and everyday tasks. Nothing you type ever leaves your device.">
<link rel="canonical" href="https://uselocaltools.com/">
<meta property="og:title" content="LocalTools — Free Privacy-First Online Tools">
<meta property="og:description" content="Fast, free browser-based tools for developers and everyday tasks. Nothing you type ever leaves your device.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://uselocaltools.com/">
<meta property="og:site_name" content="LocalTools">
<meta property="og:image" content="https://uselocaltools.com/og-image.png">
<meta property="og:locale" content="en_US">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:site" content="@uselocaltools">
<meta name="twitter:title" content="LocalTools — Free Privacy-First Online Tools">
<meta name="twitter:description" content="Fast, free browser-based tools for developers and everyday tasks. Nothing you type ever leaves your device.">
<meta name="twitter:image" content="https://uselocaltools.com/og-image.png">

本页的所有处理都在浏览器中完成,不会上传任何内容。

这个工具能做什么

搜索引擎和社交网络会从页面的 <head> 中读取一组固定的标签:标题和描述用于搜索结果,canonical 用于声明首选 URL,Open Graph 和 Twitter card 标签则决定链接被分享时的外观。标题和描述的长度很重要,因为 Google 会重写过长的标题并截断过长的描述,而缺少 Open Graph 图片会让分享出去的链接只显示成纯文本,而不是卡片。

使用方法

  1. 输入页面标题、描述和 canonical URL,声明这个页面的首选网址。
  2. 补充站点名称、Open Graph 图片和 Twitter card 信息,并查看标题与描述输入框下方的长度提示。
  3. 把生成的标签复制到页面的 <head> 中。

隐私说明

本工具完全在你的浏览器中运行。输入的内容不会被上传、保存或分享,关闭标签页即随之消失。

常见问题

为什么标题需要长度检查?
因为 Google 会重写过长的标题、截断过长的描述。标题和描述输入框下方的长度提示会把可能被截断的文本标出来,让你在复制之前就改短。
不填 Open Graph 图片会怎样?
缺少 Open Graph 图片时,分享出去的链接只会显示成纯文本,而不是带图的卡片。这个字段可以留空,工具只是不会为你生成对应的标签。
内容会被发送到别处吗?
不会。标签全部在你的浏览器里生成,工具不会去抓取你填的网址,也不会调用任何外部接口。
这个工具会上传我的输入、文件或结果吗?
不会。整个过程都在浏览器中完成,输入、文件、设置和结果都留在浏览器里,不会上传到 LocalTools。
这个工具不支持哪些功能?
它只根据你填写的字段生成 <head> 标签。没有账号、云端历史或服务器端处理,也不会抓取线上页面、调用第三方接口,或提供页面上未列出的批量与导出功能。