跳到主要内容

Open Graph Preview

Edit OG Data

49/60
126/160

Social Platform Preview

Facebook

OG Preview

devtool.tech

DevTools - Free Online Developer Tools Collection

A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more.

Twitter / X

OG Preview

devtool.tech

DevTools - Free Online Developer Tools Collection

A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more.

LinkedIn

OG Preview

DevTools - Free Online Developer Tools Collection

devtool.tech

Slack

devtool.tech

DevTools - Free Online Developer Tools Collection

A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more.

OG Preview

WeChat

DevTools - Free Online Developer Tools Collection

OG Preview

Pinterest

OG Preview

DevTools - Free Online Developer Tools Collection

Discord

devtool.tech

DevTools - Free Online Developer Tools Collection

A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more.

OG Preview

Google

D

devtool.tech

https://devtool.tech

DevTools - Free Online Developer Tools Collection

A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more.

Go to pixel checker tool →

Meta Tag Code

<meta property="og:title" content="DevTools - Free Online Developer Tools Collection" />
<meta name="twitter:title" content="DevTools - Free Online Developer Tools Collection" />
<meta property="og:description" content="A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more." />
<meta name="twitter:description" content="A free collection of online tools for developers, covering encoding, formatting, image processing, SEO optimization, and more." />
<meta property="og:image" content="https://devtool.tech/api/og?title=%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E7%AE%B1%20-%20%E9%A6%96%E9%A1%B5%20%7C%20%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E7%AE%B1&description=%E5%BC%80%E5%8F%91%E8%80%85%E6%AD%A6%E5%99%A8%E5%BA%93%EF%BC%88devtool.tech%EF%BC%89%E9%A6%96%E9%A1%B5%EF%BC%8C%E6%8F%90%E4%BE%9B%2060%2B%20%E5%85%8D%E8%B4%B9%E5%9C%A8%E7%BA%BF%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7%E3%80%82Base64%E3%80%81JSON%E3%80%81%E9%A2%9C%E8%89%B2%E8%BD%AC%E6%8D%A2%E3%80%81UUID%E3%80%81JWT%20%E8%A7%A3%E7%A0%81%E7%AD%89%EF%BC%8C%E6%8F%90%E5%8D%87%E5%BC%80%E5%8F%91%E6%95%88%E7%8E%87%E3%80%82" />
<meta name="twitter:image" content="https://devtool.tech/api/og?title=%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E7%AE%B1%20-%20%E9%A6%96%E9%A1%B5%20%7C%20%E5%BC%80%E5%8F%91%E8%80%85%E5%B7%A5%E5%85%B7%E7%AE%B1&description=%E5%BC%80%E5%8F%91%E8%80%85%E6%AD%A6%E5%99%A8%E5%BA%93%EF%BC%88devtool.tech%EF%BC%89%E9%A6%96%E9%A1%B5%EF%BC%8C%E6%8F%90%E4%BE%9B%2060%2B%20%E5%85%8D%E8%B4%B9%E5%9C%A8%E7%BA%BF%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7%E3%80%82Base64%E3%80%81JSON%E3%80%81%E9%A2%9C%E8%89%B2%E8%BD%AC%E6%8D%A2%E3%80%81UUID%E3%80%81JWT%20%E8%A7%A3%E7%A0%81%E7%AD%89%EF%BC%8C%E6%8F%90%E5%8D%87%E5%BC%80%E5%8F%91%E6%95%88%E7%8E%87%E3%80%82" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:url" content="https://devtool.tech" />
<meta property="og:site_name" content="devtool.tech" />
<meta property="og:type" content="website" />

What is Open Graph?

The Open Graph protocol (OG) is a metadata standard introduced by Facebook in 2010 to control how web pages appear when shared on social platforms. When you paste a link in Twitter, Slack, LinkedIn, or WeChat, the platform automatically reads OG tags from the page and generates a rich media card with a title, description, and image.

OG tags are a set of <meta> tags placed in the HTML <head>:

<meta property="og:title" content="Your Page Title" />
<meta property="og:description" content="Page description" />
<meta property="og:image" content="https://example.com/image.png" />
<meta property="og:url" content="https://example.com/page" />

Why Do OG Tags Matter?

1. The "First Impression" of Social Sharing

In a content feed, users typically decide whether to click a link in 1-2 seconds. An attractive share card with a clear title, description, and compelling image can significantly boost click-through rates (CTR). Without OG tags, a link appears as plain URL text — virtually invisible in a busy feed.

2. Cross-Platform Consistency

Different platforms interpret OG tags slightly differently:

PlatformTags UsedImage RatioSpecial Requirements
Facebookog:*1.91:1Min 200×200, recommended 1200×630
Twitter/Xtwitter:* + og:*2:1Requires twitter:card tag
LinkedInog:*1.91:1Min 1200×627
Slackog:*AdaptivePrioritizes og:site_name
WeChatog:*1:1 thumbnailShows title + small thumbnail only
Pinterestog:*2:3 portraitImage quality is critical
Discordog:*16:9Purple left border embed style

3. Indirect SEO Impact

While OG tags don't directly affect Google rankings, they indirectly help SEO through:

  • More social shares → More backlinks and traffic
  • Higher CTR → Positive signals to search engines
  • Google may use og:title as a candidate for search result titles

Open Graph vs Twitter Cards

Twitter (now X) has its own metadata standard — Twitter Cards. Twitter Card tags use the twitter: prefix, and when Twitter-specific tags are missing, they automatically fall back to OG tags.

Best practice is to set both OG and Twitter Card tags, which is the default behavior of this tool's code generator.

Key Features of This Tool

  • 8 Platform Live Previews: Facebook, Twitter/X, LinkedIn, Slack, WeChat, Pinterest, Discord, and Google SERP — edit once, preview everywhere
  • Real-time Character Count: Title (60 char limit) and description (160 char limit) with overflow warnings
  • Image Drag & Drop Upload: Upload images with automatic dimension detection and comparison against the recommended 1200×630 size
  • One-Click Meta Tag Code Generation: Complete OG + Twitter Card code with clipboard copy
  • Debug Tool Quick Links: Direct links to Facebook Debugger, Twitter Card Validator, LinkedIn Inspector, and more
  • Pure Frontend / Privacy-First: All processing happens in your browser — no data is sent to any server