Open Graph and Twitter

Meta tags in a page's <head> tell search engines how to show and index it, and tell social networks how to build the link preview. Fill in the fields and paste the generated block into your page. Empty fields are left out.


Titles over about 60 characters and descriptions over about 160 are usually cut off in search results, so the counters turn red past those limits. To see the result as a share card, use the Open Graph Preview .

Frequently asked questions

How long should a title and description be?

Keep titles under about 60 characters and descriptions under about 160. Search engines cut longer text off, and the exact limit depends on pixel width.

Do I need both Open Graph and Twitter tags?

Open Graph tags are read by most platforms. Twitter/X falls back to them, but twitter:card is needed to choose the card layout, so the generator writes both.

What image size works best for link previews?

About 1200x630 pixels (1.91:1), served over HTTPS, for the large card layout. Smaller square images work with the summary card.

Related tools

Guides & comparisons