Search tools

Meta Tag Generator

Fill in a few fields and get every head tag a page needs, with length meters and a live Google preview.

Meta Tag Generator tool

Google preview

    Processing runs in your browser.

    Every page needs a handful of tags in its <head>: a title, a description, a canonical link and the Open Graph tags that control how links look when shared. They are short, but easy to get slightly wrong. A missing https:// on the share image, a title that is too long, or a leftover noindex from a staging site can quietly cost you clicks. This generator writes the full set and checks the common mistakes as you type.

    What each tag does

    • Title is the blue link in search results and the text in the browser tab. It is still one of the clearest signals of what a page is about.
    • Meta description is the grey text under the link. It doesn’t affect rankings directly, but a clear one makes people more likely to click.
    • Canonical tells search engines which URL is the main version of the page.
    • Open Graph tags (og:title, og:image and so on) control the preview card on Facebook, LinkedIn, Slack, WhatsApp and most messaging apps.
    • X card tags do the same job on X (Twitter).

    Writing titles that get clicked

    Put the words people actually search for near the start, then add what makes your page different. “Handmade Ceramic Mugs – Small-Batch Pottery | Clay & Co” tells searchers the product, the angle and the brand. Keep the brand at the end, where it is fine if it gets cut.

    Check before you publish

    Paste the tags into your page, then view the source to make sure there is only one <title> and one description. Duplicates often come from a theme or plugin adding its own.

    How to use the Meta Tag Generator

    1. Write your Page title and Meta description. The meters turn green when the length fits.
    2. Add the page URL, site name and share image URL.
    3. Pick the page type and X card style, and set indexing options if needed.
    4. Check the Google preview and the list of things to fix.
    5. Click Copy tags and paste them into your page’s <head>.

    Features

    • Title width estimated in pixels, the way Google cuts titles; description checked against the usual 160-character cut-off.
    • Live Google result preview.
    • Outputs charset, viewport, description, canonical, robots, theme colour, Open Graph and X card tags.
    • Warnings for relative image URLs, missing alt text and accidental noindex.
    • All text is HTML-escaped, so quotes and ampersands never break your markup.

    Frequently asked questions

    How long should a title tag be?

    About 50–60 characters, or up to roughly 600 pixels wide. Google cuts titles by width, not character count, so a title full of wide letters like W and M gets cut sooner. The meter estimates the width for you.

    How long should a meta description be?

    Around 140–160 characters. Google may show more or less, and sometimes rewrites it, but a description in that range usually appears in full on desktop.

    Do meta keywords still matter?

    No. Google has ignored the meta keywords tag since 2009, and Bing treats it as a possible spam signal. This tool leaves it out on purpose.

    Why does my share image not show on Facebook or LinkedIn?

    The og:image URL must be absolute, starting with https://, and publicly reachable. After fixing it, use the network’s own debugger, such as Facebook’s Sharing Debugger, to refresh its cached copy.

    Written by