Meta Tag Generator

Write the title and description that appear in Google, add Open Graph tags for social media, and copy ready-to-paste HTML.

Nothing leaves your device

Social sharing (Open Graph)

Search engines

Recommended image size: 1200 × 630 px. The preview loads the image from the address you enter.

Google preview (desktop)

example.comhttps://example.com

Social preview

HTML code

Paste it inside the <head> of your page. In WordPress, use your SEO plugin's title and description fields instead.

How to use the Meta Tag Generator

  1. Enter your page title. The bar shows whether it’s likely to be cut off in Google.
  2. Write the meta description. Summarize the page and give people a reason to click.
  3. Add the page URL to set the canonical address and the link shown in previews.
  4. Add social details (optional): an image, site name and page type for Facebook, LinkedIn, WhatsApp and X.
  5. Copy the HTML and paste it into the <head> section of your page.

For a larger Google preview while you fine-tune the wording, use the SERP Preview tool.

What are meta tags?

Meta tags are short pieces of HTML that describe a page to search engines and social networks. Visitors don’t see them on the page itself, but they shape how your page appears before anyone clicks.

Tag What it does
<title> The clickable headline in Google results and the text in the browser tab
meta description The short summary under the title in search results
canonical Tells search engines which URL is the main version of the page
robots Asks search engines not to index the page or follow its links (only added when you untick an option)
og:title, og:description, og:image How the link looks when shared on Facebook, LinkedIn, WhatsApp and others
twitter:card How the link looks when shared on X (Twitter)

How to write a title that gets clicks

  • Keep it around 50–60 characters, so it isn’t cut off. Google measures in pixels, which is why the bar is more accurate than a character count.
  • Put the main keyword near the start.
  • Be specific: “Compress PDF – Reduce File Size Free” beats “PDF Tool”.
  • Use a unique title on every page.
  • Add your brand at the end, separated by | or –.

How to write a good meta description

  • Aim for about 120–155 characters.
  • Describe the benefit, not just the topic.
  • Include the main keyword naturally. Google often highlights the words people searched for.
  • End with a reason to click, such as “Free, no sign-up” or “Step-by-step guide”.

Google sometimes rewrites descriptions, but a clear, relevant one is used far more often.

Social images

The og:image is the picture people see when your link is shared. Use a JPG or PNG of 1200 × 630 pixels, under a few hundred kilobytes, at a full https:// address. Create one with the Image Resizer and make it lighter with the Image Compressor.

Frequently asked questions

Do meta tags help my Google ranking?

The title tag is one of the most important on-page signals. The meta description doesn't directly affect rankings, but a good one gets more clicks, which brings more visitors.

Why does Google show a different description than mine?

Google sometimes writes its own snippet when another part of the page better matches the search. A clear, specific description that matches the page reduces the chance of this.

What size should my Open Graph image be?

1200 × 630 pixels works well on Facebook, LinkedIn, X and messaging apps. Keep important text away from the edges, because some apps crop the image.

Should I add a meta keywords tag?

No. Google has ignored the keywords meta tag for many years, so this generator leaves it out.

Where do I paste the generated code?

Inside the head section of your HTML, before the closing head tag. In WordPress and similar systems, use your SEO plugin's title, description and social fields instead.

Is anything I type saved or sent?

No. The code is generated in your browser. Only the social preview image is loaded, directly from the address you enter.

Last updated: