Free SEO tool

Meta Tag Generator

Enter your page title, description and URL and the generator writes the HTML meta tags, including Open Graph and Twitter card tags, with length checks.

What is meta tag generator?

Meta tags tell search engines and social networks what your page is about. The title tag and meta description often form the snippet people see in search results, and Open Graph tags control the preview on social platforms.

This generator writes a clean set of tags and warns you when the title or description may be cut off.

How to use the meta tag generator

  1. Enter your title and description.
  2. Add the page URL and an image URL if you have them.
  3. Press Calculate and paste the code into the head of your page.

How the meta tag generator works

Each field is escaped for HTML and written as the matching tag. Length checks compare your title to about 60 characters and your description to about 158.

Worked example

A 50 character title and a 150 character description fit comfortably in most search results.

Common uses of the meta tag generator

  • Writing the head of a new landing page.
  • Checking title and description lengths before you publish.
  • Adding Open Graph tags so links look good on social media.
  • Setting a canonical URL to avoid duplicate content.
  • Controlling indexing with the robots tag.

Tips and common mistakes

Write the title for people first and put the main keyword near the front.

Every page should have its own unique title and description.

Background: what to know before you rely on it

The title tag is one of the strongest on page signals and often becomes the blue link in search results. The meta description is not a direct ranking factor but affects click rate. Google may rewrite either if it believes another snippet better matches a query. Open Graph tags, created by Facebook, are read by many platforms to build link previews, and Twitter card tags do the same for X. The canonical tag tells search engines which URL to treat as the main version when similar pages exist. Each page needs its own unique title and description. Duplicate tags across a site are a common cause of weak search snippets.

Private, free and fast

This tool runs entirely in your browser. What you type or choose is not uploaded to a server and is not saved after you close the page, which keeps it fast and private. It is free to use as often as you like. See more in all seo tools, or browse the full list of tools.

Frequently asked questions

How long should a title tag be?

About 50 to 60 characters.

Is the meta description a ranking factor?

Not directly, but a good one can raise clicks.

What is a canonical tag?

It tells search engines which URL is the main version of a page.

Related tools

Results are for information and education. For legal, financial, medical or security decisions, check with a qualified professional. Validate markup with search engine testing tools before publishing.