OpenGraph Viewer

og:locale Meta Tag

og:locale says what language and region your Open Graph tags are written in. The format is language_TERRITORY with an underscore, and the default is en_US.

og:locale Example

Put it inside the <head> of the page:

<meta property="og:locale" content="en_GB" />
<meta property="og:locale:alternate" content="fr_FR" />
<meta property="og:locale:alternate" content="es_ES" />

Where og:locale Shows Up

  • Nowhere on the card. It's a signal for the app.
  • Facebook uses it, with og:locale:alternate, to fetch the right language version of a page for each reader.

Rules for og:locale

  • Format: two-letter language, underscore, two-letter territory. en_US, pt_BR, de_DE.
  • If you leave it out, apps assume en_US.
  • List other languages the page is available in with one og:locale:alternate tag each.

Common og:locale Values

ValueLanguage and region
en_USEnglish, United States
en_GBEnglish, United Kingdom
es_ESSpanish, Spain
es_LASpanish, Latin America
fr_FRFrench, France
de_DEGerman, Germany
pt_BRPortuguese, Brazil
it_ITItalian, Italy
ja_JPJapanese, Japan
zh_CNChinese, Simplified

Common og:locale Mistakes

  • A hyphen instead of an underscore. en-US is the HTML lang format, not the Open Graph one.
  • Language only, like en. The territory is part of the format.
  • Expecting it to do what hreflang does. Google doesn't use og:locale for language targeting.

See the full Open Graph tags list for the tags that go with it.

Frequently Asked Questions

What is the default og:locale?

en_US. If your page is in American English you can leave the tag out. For any other language or region, set it.

Is it en_US or en-US?

en_US with an underscore. The hyphenated form, en-US, is what the HTML lang attribute and hreflang use. Open Graph uses its own format.

Does og:locale help SEO?

No. Google uses hreflang and the page's content to work out language and region. og:locale is for social platforms, mainly Facebook.

Last checked Nov 30, 2026.

Check a Page's og:locale

Paste a URL to see its og:locale value and the preview it produces.

Enter a public URL like example.com or https://example.com/blog.

Paste a URL above to see how it looks on social media

Works with any public website. No login needed.