ToolGlobalHubGlobal • Free • No sign-up

Tool

The charset and viewport tags are always included — every modern page needs them. Every other tag is generated only when you fill in its field; social fields you leave empty are simply left out. The tags update live as you type.

your-site.com › your-page
Your page title will appear here
Your meta description will appear here — write it for the reader, not just for the search engine.

The preview is a mock-up in this site's own styling. Search engines choose their own layout and sometimes rewrite titles and descriptions, so treat it as a guide to length and wording, not a promise of how a result will look.

← All Tools Home Every tool has its own page — bookmark it and come back any time.

Related tools

Meta Tag Generator

The Meta Tag Generator turns a form into the block of HTML tags a page carries in its <head>: the title element and meta description searchers see, the Open Graph tags that control how a link looks when shared on Facebook, WhatsApp or LinkedIn, and the Twitter Card tags used by X. Fill in what you have, and the finished tags appear in the output box, updating live as you type, ready to copy with one button.

The generator only writes tags for fields you actually fill in. Three things are always present because every page needs them or because they are a deliberate choice in the form: the charset tag, the viewport tag, and the robots tag, whose four options (such as index, follow or noindex, follow) you pick from a list. A mock search-result preview under the output shows your title and description as a searcher might read them — it is a styling mock-up, not a promise of how any search engine will display your page.

How the Meta Tag Generator works

The output is assembled in a fixed order: charset, viewport, the title element, description, keywords, author, robots, then the Open Graph group (og:title, og:description, og:image and og:type), then the Twitter group (twitter:card, twitter:title, twitter:description), and finally theme-color. The Open Graph group appears only when at least one of its three text fields is filled, and og:type takes the value you chose — website, article, product or profile. The Twitter group appears only when a Twitter title or description is filled, and twitter:card takes the card type you chose.

Everything you type is escaped before it is placed in the output: in attribute values, & becomes &amp;, < becomes &lt;, > becomes &gt; and a double quote becomes &quot;, so a description containing quotation marks cannot break out of its tag; inside the title element, &, < and > are escaped the same way. The preview is filled with plain text only, never with your input as HTML, so the tool is safe to use with any wording.

  • Fill in the basics: Add a page title and meta description; keywords and author are optional, and the robots behaviour is chosen from the list.
  • Add social fields (optional): Open Graph fields control shared-link previews; Twitter fields control X cards. Leave a group empty and its tags are simply not generated.
  • Check the mock preview: The preview card shows your title and description in a search-result style, so you can judge length and wording before copying.
  • Copy and paste: Press Copy Meta Tags and paste the block into the <head> section of your page's HTML, before the closing </head> tag.

The generator deliberately covers the fields in the form only: it does not create canonical links, og:url or structured data, which most site builders and CMS themes already add per page. Search engines also remain free to rewrite a title or description they think does not match a query, so treat the generated tags as the instruction you give them — not a guaranteed display.

Worked examples

Example — a fully filled form

Fill the form with the title 'Best Running Shoes 2026 — A Runner's Guide', a description, keywords 'running shoes, marathon training', author 'Jane Doe', robots left at index, follow, Open Graph title, description and image filled with type set to article, no Twitter fields, and theme color #0f766e. The output is exactly 12 lines: the charset and viewport tags, the <title> element, description, keywords, author and robots meta tags, og:title, og:description, og:image and og:type (article, as chosen), and the theme-color tag. No Twitter tags appear, because no Twitter field was filled.

Example — only a title and description

Fill in just the page title and meta description and leave everything else empty. The output shrinks to five lines — charset, viewport, the <title> element, the description tag and the robots tag at its default index, follow — with no keywords, author, social or theme-color tags at all.

Example — quotes in a description

Type a description containing The "best" shoes & more. In the generated tag it appears as The &quot;best&quot; shoes &amp; more inside content="...", so the quotation marks and the ampersand cannot break the tag or change its meaning.

Meta Tag Generator FAQs

Where do I paste the generated tags?

Into the <head> section of your page's HTML, anywhere before the closing </head> tag. If your site runs on a CMS or website builder, look for its SEO settings or a 'custom code in header' option — most provide one precisely for tags like these.

Why are the charset, viewport and robots tags always included?

Charset and viewport are basics every modern page needs — they declare the text encoding and make the page scale properly on phones. Robots is always emitted because it is a choice you make in the form: leaving it out entirely would mean the same default (index, follow), but stating it makes the instruction explicit.

I left the social fields empty. What happens?

Those tags are omitted completely — an empty field never produces an empty tag. The Open Graph group, including og:type, appears only when an Open Graph title, description or image is filled, and twitter:card appears only when a Twitter title or description is filled.

Will Google show exactly my title and description?

Not necessarily. Search engines usually use the title and description you provide, but they may rewrite either when they judge it does not match a particular search. The preview in this tool is a mock-up in this site's styling, meant for checking length and wording — not a guarantee of display.

Does the keywords meta tag still help rankings?

For Google, no — Google has publicly confirmed it does not use the keywords meta tag in web rankings. Some smaller directories, niche search tools and internal site searches still read it, which is why the field exists here as an option; leaving it empty costs nothing.

Is anything I type uploaded or stored?

No. The tags are assembled in your browser as you type, and the form contents never leave the page. Refreshing or closing the tab clears everything you entered.

Related tools

Meta tags describe a page; these tools help with the page and its address.

URL Slug Generator — Turn the same title into the clean URL slug that goes with these tags.

Keyword Density Checker — Check the keyword use in the page copy your description summarises.

Readability Checker — Score how easy the page's text is to read before you publish it.

Text & Creator Tools — The full family of text and creator tools on ToolGlobalHub.