Why you need both JSON-LD structured data and Open Graph tags

By TechCompare · Updated · How we check

OG tags for social previews. JSON-LD structured data for search engine understanding. They're complementary, not competing. Every public page should have both. Use Google's Rich Results Test to validate your JSON-LD and the Facebook Sharing Debugger for OG.

Open Graph tags and JSON-LD structured data solve different problems. OG tags control how your page looks when shared on social media (the preview card). JSON-LD structured data tells search engines what your page is about (article, product, recipe, event) and can enable rich results like star ratings, recipe cards, and FAQ accordions in Google Search. You need both because they feed different systems.

Platform or focus
Best Practices
OG tag strategy and tooling
Topic detail
Structured data vs OG
structured-data-vs-og

How this is calculated

OG tags are consumed by social platforms (Facebook, Twitter, LinkedIn, messaging apps). JSON-LD is consumed by search engines (Google, Bing) and sometimes by voice assistants (Siri, Alexa). They don't conflict because they're read by different consumers.

A common mistake is thinking OG tags help SEO. They indirectly help by making shared links more attractive (higher click-through from social leads to more traffic and better rankings), but Google has explicitly stated it does not use OG tags as a ranking signal.

JSON-LD does directly influence search appearance. For a well-optimized page, include both: OG tags for social, JSON-LD for search.

Verdict

Use both, because they feed different consumers and don't conflict. Social platforms read og: tags to build preview cards, while Google and Bing read JSON-LD to enable rich results like recipe blocks, star ratings, and FAQ accordions. Don't treat OG tags as a ranking signal, since Google has explicitly said they don't count.

More OG scenarios

OG image dimensions
The de facto standard Open Graph image size is 1200x630 pixels, a 1.91:1 aspect ratio.
View details
Twitter Card types
Twitter Cards control how your URL appears when shared on X (formerly Twitter).
View details
Facebook vs Twitter tags
Open Graph (og:) tags are the standard, originated by Facebook and now supported by LinkedIn, Discord, Slack, WhatsApp, and most other platforms.
View details

Frequently asked questions

Do OG tags or JSON-LD help SEO more?
JSON-LD does, directly. Google reads structured data to decide eligibility for rich results like FAQ accordions, star ratings, and recipe cards, which visibly change your search listing. OG tags aren't a ranking signal. Google has said so explicitly. They help indirectly: a good social card earns clicks, and clicks earn traffic.
Can I use OG tags instead of JSON-LD for rich results?
No. OG tags are read by social platforms for preview cards and ignored for rich-result eligibility. Rich results come from JSON-LD (or microdata) mapped to Schema.org types: Article, Product, FAQ, Recipe. If a page needs a rich snippet in Google, it needs JSON-LD. OG alone never unlocks it.
Why should a page have both OG tags and JSON-LD?
Because two different machines read your page for different reasons. Facebook, LinkedIn, and every chat app read og: tags to build share cards. Google and Bing read JSON-LD to understand the content and decorate your search listing. Dropping either one breaks a channel you can't rebuild from the other.