PBNLinksHub
Get Started
On-Page SEO ToolsRuns in your browserFree · no sign-up

Meta Tag Generator

Fill in a short form and get a correctly escaped block of head tags — title, description, canonical, robots, viewport, Open Graph and Twitter/X card — ready to paste into your template. Every field is validated as you type.

Meta Tag Generator

Unique per page. Most important words first.

Extra robots directives (optional)
Basics
Open Graph & Twitter/X card
Generated tags

How to use the Meta Tag Generator

  1. Write the title and description

    Describe the specific page. The counters show characters and approximate pixel width as you type.

  2. Set the canonical and robots options

    Use the page's own absolute URL as the canonical. Leave indexing on “index, follow” unless you have a reason to change it.

  3. Add sharing details

    Provide an absolute image URL and alt text so the page looks right when shared.

  4. Copy or download

    Paste the block inside <head>, replacing any existing tags of the same kind so nothing is duplicated.

What it checks

Escaping
Quotes, ampersands and angle brackets are converted to HTML entities so your text can't break the markup.
Lengths
Title and description character counts and approximate pixel widths, compared with common display ranges.
URLs
Canonical and image URLs must be absolute http(s) addresses; relative or malformed URLs are flagged.
Robots combinations
Warnings for noindex, nofollow and nosnippet, which have large effects and are easy to leave on by mistake.
Open Graph completeness
og:title, og:description, og:url and og:image are generated together; missing image or alt text is noted.
Locale and handle format
og:locale should look like en_US; a Twitter/X handle should start with @.

Interpreting the results

The output panel updates with every keystroke. Only tags you've filled in are included — the generator never adds placeholder text. If you leave the robots options on their defaults, no robots tag is output at all, because index, follow is already the default behaviour.

Notes under the output fall into two groups: problems that would produce invalid or misleading tags (a relative canonical, an empty title) and guidance such as a title that is likely to be truncated. The generated block reuses your title and description for og:title and og:description; if you want different social copy, edit those two lines after copying.

Detected marks facts read directly from what you provided. Guidance marks general recommendations based on those facts — rules of thumb, not guarantees or search engine requirements.

Practical guidance

Tags describe a page; they can't make it relevant. Write the title for the searcher first — what is this page, and why this one? — and let the brand sit at the end. Keep descriptions specific: a product range, a price range you actually publish, a question the page answers. Avoid claims you can't back up.

A common problem after a redesign is a template that outputs the same title, description or canonical on every page. If you're generating tags for many pages, make each set unique and check the live result with the Meta Tag Analyzer. For long titles, the SERP Snippet Preview shows how the result might look.

Before promoting a page with links — through guest posts, niche edits or PBN backlinks — double-check that the robots tag doesn't say noindex and the canonical points to the page itself. Our guide to what makes a quality backlink covers the linking side.

Limitations

  • It generates tags; it doesn't install them. You still need to add them to your CMS, theme or template.
  • It covers the widely used core tags. Specialised tags (for example article:published_time or product price tags) aren't generated.
  • Pixel widths are approximations based on Arial in your browser. Real result layouts change and vary by device.

Frequently asked questions

Should I add a meta keywords tag?

It isn't needed. Major search engines ignore it for ranking, so the generator doesn't include one.

Do I need both Open Graph and Twitter tags?

X/Twitter falls back to Open Graph for title, description and image, so twitter:card is usually the only Twitter tag you need.

Can I use this for every page?

Yes, but each page needs its own title, description, canonical and share details. Identical tags across pages make them harder to tell apart.

Is anything I type saved?

No. The tags are generated in your browser and disappear when you leave the page.

More in On-Page SEO Tools · All 25 free SEO tools