1. All tools
  2. Meta tag generator

How do I generate meta tags for my web page?

Fill in your page title and description and the page writes the matching HTML head tags: title, description, canonical, robots, Open Graph and Twitter/X card. Values are escaped so the snippet stays valid, and Open Graph and Twitter fields copy your title and description until you change them. Nothing is fetched or checked on the live web, so make sure every URL is correct.

Runs entirely in your browser · nothing is sent · no account

  1. Enter the page title, description and canonical URL.
  2. Adjust robots, Open Graph and Twitter options, and check the warnings and previews.
  3. Copy the tags into the head section of your page.

Basic tags

Open Graph (Facebook, LinkedIn, Slack, WhatsApp)

Title and description follow the fields above until you edit them here.

Twitter / X card

Generated tags

Search result preview (approximate)

Social card preview (text only)

Previews are rough: search engines and social apps choose their own text, truncation and layout, and this page never loads your image.

What each tag does

TagWhat it does
<title>The page title shown in browser tabs and usually as the headline of a search result.
descriptionA summary that search engines may show under the title. It is not a ranking guarantee and may be rewritten.
canonicalTells search engines which URL is the main version of the page when several URLs show the same content.
robotsAsks crawlers whether to index the page and follow its links, and how large an image preview may be.
viewportMakes the page scale correctly on phones. Leave it on for almost every site.
theme-colorSuggests a colour for the browser toolbar on some mobile browsers.
og:*Open Graph tags control the title, description and image of a link preview in many social and chat apps.
twitter:*Controls the card shown when a link is shared on X. Missing values fall back to the Open Graph tags.

What this page can do

  • Builds title, description, canonical, robots, author, theme-colour, viewport and favicon tags
  • Adds Open Graph tags and a Twitter/X card, filled from your title and description until you edit them
  • Escapes ampersands, angle brackets and quotes so the snippet stays valid HTML
  • Shows live character counters, warnings and a text-only search and social preview

When to use this page

  • Setting up the head of a new static page or a landing page.
  • Checking how long a title and description are before publishing.
  • Getting Open Graph and Twitter tags right so shared links look clean.

When to use something else

  • You need to test how a live page looks on a social network: use that network’s own debugger, because this page never fetches URLs.
  • You need structured data such as JSON-LD for rich results: this page does not generate it.
  • Your site builder or CMS already has an SEO field: use that, so the tags are not duplicated.

How it compares with other options

SEO plugins for WordPress and similar systems generate these tags automatically and keep them in sync with each page, which is better for a large site. Many online generators work the same way as this page, but some also fetch your URL or show a ready-made preview image. This page does neither: it only turns the values you type into correctly escaped tags, so you can paste them into a hand-written or static page. Its character counters and previews are approximations, not what a search engine will necessarily show.

Where your text goes

Nowhere. The tags are built by your own browser as you type. Nothing is sent to a server, saved to an account or written to storage, and the URLs you enter are never opened, so closing the tab clears everything. You can check it yourself: open your browser’s network panel — the page still loads its own code and any ads, but no request carries what you typed.

Questions about this tool

How long should a title and description be?

There is no official limit. Titles of about 50 to 60 characters and descriptions of about 150 to 160 characters are rules of thumb, because search engines truncate by pixel width, not by character count, and may also rewrite what they show. The counters and the preview on this page are approximations.

Do I need Open Graph and Twitter tags as well?

They are optional but useful. Open Graph tags control the title, description and image shown when a link is shared on Facebook, LinkedIn, Slack, WhatsApp and many other apps. X (Twitter) reads its own twitter: tags and falls back to Open Graph tags when they are missing. This page fills both from the same values by default.

Why must the canonical URL and image URL be absolute?

Crawlers and social apps read these tags without knowing which page they came from, so a relative path such as /img/cover.png cannot be resolved reliably. Use the full address starting with https://. This page only checks the format and never opens the URL.

Does noindex remove my page from Google straight away?

No. The robots tag only takes effect after a crawler visits the page again, and it works only if the page is not blocked in robots.txt, because a blocked crawler never sees the tag. Pages you want hidden from search results should also not be linked from your sitemap.

Other tools you may need