How to Write Meta Tags That Actually Work

How to Write Meta Tags That Actually Work

Meta tags are the most boring part of a web page and one of the most consequential. They decide what your page is called in search results, what searchers read before they click, and what your link looks like when someone shares it. A page with good content and bad meta tags is a shop with a great product and no signboard. This guide covers the tags every page needs, how long each one should be, and how to generate and check them without touching code by hand.

The easiest way is our free Meta Tags Toolkit. Fill in the page title, meta description, page URL and an Open Graph image, and it generates the full set — title, description, canonical, Open Graph and Twitter Card tags — ready to copy into your page’s <head>. It also has a checker: paste tags you already have and it reports which ones are missing or the wrong length.

Which meta tags every page needs

At minimum, five things. A <title> — the single most important on-page element, shown as the blue link in search results and the text in the browser tab. A meta description — the text under the title in search results, which does not directly affect ranking but decides whether anyone clicks. The Open Graph trio: og:title, og:description and og:image, which control the preview card when the page is shared. A canonical link, if the page can be reached at more than one URL, telling search engines which version is the real one. And a twitter:card tag, so X shows a large image preview instead of a small one.

Two tags that used to matter no longer do: the meta keywords tag is ignored by Google and has been for years. Spend your effort on the title and description; they are what people actually see.

How long should each tag be?

Aim for a title under 60 characters and a description of 120–160 characters. Longer text gets cut off in search results — Google truncates by pixels, not characters, so a title full of wide letters like W gets cut sooner than one full of narrow letters like i. Put the most important words first: the beginning of the title is always shown, the end is not guaranteed. For the description, write one or two honest sentences about what the page offers, and include the main keyword naturally — searchers scan the description for the words they typed, and Google bolds them when they match.

How to generate and check your tags

  1. Open the Meta Tags Toolkit.
  2. Fill in the page title, the meta description, the page URL (used for the canonical link and og:url), and the Open Graph image URL — a 1200×630 px image works best.
  3. Pick the Twitter Card type: “Summary with large image” for most pages.
  4. Press “Generate tags”. The tool shows the length of the title and description, warns you about anything over the limit, and gives you the tags to copy into your page’s <head>.
  5. To check existing tags, paste them into the checker box and press “Check these tags” — it reports 9 checks, pass or fail, with the values found.

Worked example: a tool page done right

For the Word Counter page, a 51-character title (“Free Online Tools | No Signup, Private | Freetoolza” is the site-wide pattern; the page’s own title is similar), a 148-character description, the page URL and a 1200×630 cover image generate 12 tags — including og:title, og:description, og:image and twitter:card set to summary_large_image. Paste those 12 tags back into the checker and all 9 checks pass. Leave out the og:image line and the checker flags it as missing — and shares of the page would show no image until it is added. That is the whole workflow in miniature: generate, paste, check, fix.

Common mistakes

The most common mistake is writing the title for search engines instead of people: “Word Counter | Count Words Online Free | Best Word Counter Tool 2026” is stuffed, unreadable, and gets cut off. The second is copying the same description onto every page — Google notices duplicate descriptions and often replaces them with its own snippet, which is worse than a short custom one. The third is the og:image that points at a relative path or a deleted file: the tag is “present” but the share shows nothing.

Frequently asked questions

Which meta tags does every page need?

At minimum: a <title>, a meta description, and the Open Graph trio og:title, og:description and og:image. Add a canonical link if the page can be reached at more than one URL, and a twitter:card tag so X shows a large preview.

How long should my title and description be?

Aim for a title under 60 characters and a description of 120–160 characters. Longer text gets cut off in search results — Google truncates by pixels, so wide letters cost more room.

Do I still need twitter: tags if I have og: tags?

Strictly, no — X falls back to your og: tags. But setting twitter:card to summary_large_image guarantees the large image preview instead of leaving it to chance, so this tool includes it.

Generate your tags now with the Meta Tags Toolkit. Then verify them in context: the Open Graph Checker previews the share card, and the SERP Preview Tool shows the search-result view.