Meta Tags Generator

Generate the HTML meta tags your page needs — title, description, Open Graph and Twitter Card — with a live code preview.

How to use

  1. Fill in the page title, description and URL. Add the image URL and site name for richer social sharing.
  2. The HTML code generates as you type — including Open Graph tags for Facebook/LinkedIn and Twitter Card tags.
  3. Copy the code and paste it into the of your page.

About this tool

Meta tags are the instructions a page gives to search engines and social networks. The title tag and meta description tell Google what the page is about; the Open Graph tags tell Facebook, LinkedIn and WhatsApp what to show when someone shares the link; and the Twitter Card tags do the same for X. Writing them by hand means knowing which property names each platform expects, which ones overlap and which ones do not.

This generator fills in the standard set: the title, the meta description, the canonical URL, the four core Open Graph tags (type, title, description, image) and the three Twitter Card tags (card type, title, description). The code block updates as you type, with the correct property names and escaping. Copy it and paste it into the of your HTML.

Nothing is sent anywhere. The tags are assembled in your browser from the text you type. If you need to check how the page will look once the tags are live, use the SERP Preview tool for Google and the platform debuggers (Facebook Sharing Debugger, Twitter Card Validator) for social networks.

Frequently asked questions

Do I need both Open Graph and Twitter Card tags?

Twitter falls back to Open Graph if Twitter Card tags are missing, but having both gives you control over each platform. The generator includes both.

What image size should I use for og:image?

1200 × 630 pixels is the recommended size. It works well on Facebook, LinkedIn, WhatsApp and Twitter.

What is the canonical URL?

It tells search engines which URL is the original when the same content is accessible at multiple addresses. Set it to the URL you want Google to index.

Does this tool check if my tags are correct?

It generates them correctly from the text you type. To check how they render on a live page, use the Facebook Sharing Debugger or Twitter Card Validator.

What content type should I choose?

Use "website" for home pages and general pages, "article" for blog posts and news, and "product" for e-commerce product pages.

Related tools

Long links? Shorten them for free

Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.

Vai.la is not responsible for how the tools are used or for decisions made based on their results.