Free Open Graph Tag Generator
The Open Graph Tag Generator creates OG meta tags so your links show rich previews on Facebook, LinkedIn, and other social platforms. Fill in the fields and copy the tags.
Twitter's own card format is produced by the Twitter Card Generator, and the Open Graph Preview tool shows how the result will look before you publish. For the rest of the head, the Meta Tag Generator covers the standard tags.
How to use the Open Graph Tags
- 1 Paste the URL of the page you are sharing, or enter the values by hand.
- 2 Fill in the title, description, and image, watching the preview update as you type.
- 3 Set the image dimensions explicitly, since scrapers behave better when they are stated.
- 4 Copy the generated meta tags into your page's head section.
Why the preview determines click-through
A shared link is a card, and the card is what people decide on. The title is the headline, the description is the supporting line, and the image is what draws the eye — all three are doing the work that a search result does, in a context where the reader is scrolling quickly. Getting them right is one of the highest-return pieces of work available on a page.
The failure mode is worth stating plainly: without tags, a scraper invents a card from whatever it finds, often pulling navigation text as the title and the first paragraph as the description. The result is a card that misrepresents the page, and it is entirely avoidable.
Writing tags that work
- Keep the title under about sixty characters so platforms do not truncate it mid-phrase.
- Write the description as a sentence, not a keyword list, since it appears as prose.
- Use an image that reads at thumbnail size; fine detail is lost at the size cards are displayed.
- Set the URL tag explicitly, or a scraper may treat different links to the same page as separate objects.
Frequently asked questions
Where exactly do the tags go?
In the head element of the page, before the body and ideally before anything that blocks rendering. They must be in the raw HTML response, not added later by JavaScript, because most scrapers read the document without executing scripts. That single constraint explains most cases of a link preview showing the wrong values.
Why does the preview still show the old image?
Because the platform caches the scraped result aggressively. Changing the tags does not clear the cache; you have to ask the platform to re-scrape the URL, and the tool for doing that differs by platform. Until the cache expires or is refreshed, everyone who shares the link sees the previous values.
Does the image have to be a particular size?
A landscape image around 1200 by 630 pixels is the widely expected shape, and it is the aspect ratio most platforms will not crop. Larger images work but are downscaled and cost loading time on the scraper's side; smaller ones may be rejected or shown at low resolution. Below roughly 200 pixels in either dimension some platforms will not use the image at all.
Related SEO & Webmaster Tools
You might also need
Tools from other categories that people pair with the Open Graph Tags: