Skip to content
Devtoolry

Meta Tag Generator

Generate SEO meta tags, Open Graph and Twitter Card markup online for any web page. Preview the search result as you type, then copy the HTML.

Runs in your browser · Nothing uploadedFree · No sign-up

Something not working, or missing a feature? Send feedback

About the Meta Tag Generator

The Meta Tag Generator writes the HTML for a page's title, description, canonical URL, Open Graph and Twitter Card tags, so links look good in search results and when shared on social media.

Everything is generated in your browser; nothing you enter is uploaded, and anything random comes from a cryptographically secure source.

How to use the Meta Tag Generator

  1. Fill in the title, description, URL and image.
  2. Check the character counts against the recommended lengths.
  3. Copy the generated tags into your page's <head>.

Common mistakes

  • The same title on every page. Search engines and browser tabs need a unique title per page. Put the page’s topic first and the site name last.
  • A relative social image URL. og:image must be an absolute https:// URL, or social networks cannot fetch the preview image.
  • Forgetting to update the cache. Social networks cache previews. After changing tags, refresh them with the network’s debugger tool, such as Facebook’s Sharing Debugger.

Works well with the Meta Tag Generator

Frequently asked questions

How long should a meta description be?

About 120–160 characters, so it is not cut off in search results.

What image size works for social sharing?

1200 × 630 pixels works well for Open Graph and Twitter large summary cards.

Do meta keywords help SEO?

No. Google has ignored the keywords meta tag for years, so the generator does not include it.

What does the canonical URL do?

It tells search engines which URL is the main one when the same page is reachable at several addresses, such as with tracking parameters.

Guides and tutorials