Meta Tag Generator

Fill in the basic fields first, then add Open Graph and X (Twitter) details if you share the page. The tool escapes special characters, skips empty fields, and shows a search result and a social card preview as text.

Meta Tag Generator runs entirely in your browser: the text you paste is never sent to a server. It is free and needs no sign-up.

How to use it

  1. Fill in the basic fields Enter a title and a description. The counters show each length against suggested limits of about 60 and 160 characters. Add a canonical URL starting with https://, plus an optional author and theme color.
  2. Set Open Graph and X options Turn on Include Open Graph tags, then set the type, image URL, image description, site name and locale. For X, choose a card type and enter an account handle such as @example.
  3. Copy the head code The code updates as you type, in a read-only box. Press Copy code, then paste it inside the head element of your page. A URL, handle, color or locale that is not valid shows a message and is left out of the code.

Questions

Why are keywords and other old tags not included?

Major search engines ignore the keywords tag, and the revisit-after and X-UA-Compatible tags are obsolete, so the tool does not write them. A clear title, a useful description and a canonical URL matter more.

Does the tool load my image or check my links?

No. The social preview shows a placeholder box and the text of the image URL, so no request goes to the image host, and the tool does not test whether any link works. X usually reads the Open Graph tags when its own tags are missing, which is why the duplicate option is off by default.

How long should the title and description be?

The counters use suggested limits of about 60 characters for the title and about 160 for the description. Search engines cut text by pixel width rather than by count, so the real limit varies. Put the most important words first.