Meta Tag & Open Graph Generator

Write title, description, Open Graph and X / Twitter card tags, with length checks and search and share previews.

Runs in your browser. Nothing is uploaded.

Fill in what you know; the tags and previews update as you type
Page details
Previews

Search result

Link preview card

Previews are approximate: each site lays out results in its own way and may rewrite long text.

    How to use the Meta Tag & Open Graph Generator

    1. Fill in the page title, description and full page URL. The counters show how much fits in search results.
    2. Add a share image URL (1200 × 630 pixels works everywhere) and a short description of it.
    3. Set the site name, content type, language and optional X / Twitter account and theme colour.
    4. Check the search result preview, the link card preview and the list of checks.
    5. Copy the HTML into the head of your page.

    The tags that decide how your page looks

    Before anyone visits your page, they usually see it as a search result or a link shared in a chat, email or social post. What they see comes from a few tags in your page’s <head>: the title, the meta description, a canonical URL, and Open Graph and X / Twitter card tags for previews. Missing or badly written tags mean truncated titles, random snippets and links without images. This generator writes them all from one form and shows how they will look.

    What it writes

    • Title and description, the headline and summary in search results.
    • Canonical link, the main address of the page, which avoids duplicate-content problems.
    • Robots, only when you ask search engines not to index the page or follow its links.
    • Open Graph: type, title, description, URL, site name, language and share image with alt text.
    • X / Twitter card: card size and your account.
    • Theme colour, which some mobile browsers use to tint the address bar.

    Every value is escaped, so quotes, ampersands and angle brackets in your text can’t break the HTML.

    Checks and previews

    As you type, the tool counts characters and flags common problems: titles and descriptions that are too long or too short, relative URLs where absolute ones are required, missing image descriptions and invalid account names. Two previews show an approximate search result and a link card, so you can judge the wording.

    Private by design

    Your text stays in your browser and is remembered there for next time. The share image is not loaded: fetching it would send a request to another website. For the rest of your site’s setup, see the robots.txt Generator, the Favicon Generator and the Redirect Generator.

    Frequently asked questions

    How long should a title and description be?

    Aim for a title of 50–60 characters and a description of 120–155 characters. Search engines cut off longer text based on pixel width, so these are guides rather than hard limits. Put the most important words first.

    What are Open Graph tags?

    Open Graph tags (og:title, og:image and others) tell chat apps, social networks and many other sites how to show a link to your page: its title, description and preview image. Without them, apps guess, often badly.

    Why must the image URL be absolute?

    Apps fetch the image from their own servers, so they need the full address, including https:// and your domain. A path like /images/share.jpg doesn’t tell them which site to use.

    Why isn’t my share image shown in the preview?

    This page never loads images from other websites, so nothing about you is sent to them. The preview shows where the image will appear and its address.

    Do meta keywords still matter?

    No. Major search engines ignore the keywords meta tag, so the tool doesn’t add it. A clear title, a helpful description and good content matter much more.

    Tutorials