Meta Tag Generator

Fill in your page title, description, keywords and author, and the tool writes a block of HTML head meta tags you can paste, with the title, description, viewport and robots tags included. The block updates as you type.

Updated

SEO ToolsPopularHot● Free No upload Instant

Loading Meta Tag Generator…

Your browser is preparing the tool. It runs 100% locally.

Quick answer

Type a page title, meta description, keywords and author, and the tool outputs the matching HTML head tags: a title tag, a meta description, a viewport tag and a robots index, follow tag, plus keywords and author tags if you fill those fields. It escapes everything for HTML and updates as you type. Note that it includes the keywords meta tag for completeness, though Google has ignored that tag since 2009. The tool runs in your browser.

What the Meta Tag Generator does

Enter your details and copy the generated block into the head of your page. You always get a title tag, a meta description, a viewport tag (width=device-width, initial-scale=1) and a robots tag set to index, follow. The keywords and author tags appear only if you fill those fields. The tool escapes special characters in your text so the markup stays valid.

It formats tags and does not analyse them, so it will not score your title length or count your description. You give it four plain inputs and it writes the head tags and attributes for you.

How it works

As you type, the tool builds the tags in a fixed order and HTML-escapes each value. Ampersands, angle brackets and quotes become entities, so a stray character in your title cannot break the markup or the page around it. It drops empty optional fields, so you never paste a blank keywords or author tag.

The tool adds the viewport and robots tags every time because nearly every page needs them. The viewport tag makes the page render correctly on phones, and index, follow tells search engines they may index the page and follow its links. Both are standard defaults.

Generation algorithm

  1. Collect the fields. The tool reads the title, description, keywords and author you typed.
  2. Escape each value. It converts ampersand, angle-bracket and double-quote characters to HTML entities so the markup stays valid.
  3. Assemble in order. It builds the title tag and meta description, then keywords and author if you filled them, then the standard viewport and robots tags.
  4. Output live. It joins the tags into one block you can copy, and refreshes the block on every keystroke.

Tags it generates

title: your page title meta description: your summary text meta keywords: only if you fill the keywords field meta author: only if you fill the author field meta viewport: width=device-width, initial-scale=1 (always) meta robots: index, follow (always)

The tool leaves out the keywords and author tags when their fields are blank. It always adds the viewport and robots tags.

Technical details

InputsTitle, description, keywords, author
Always outputtitle, meta description, viewport, robots (index, follow)
Conditional outputkeywords and author, only if filled
Escapingampersand, angle brackets, quotes become entities
Description lengthnot counted or enforced
Liveupdates on every keystroke
Where it runsIn your browser; your text is not uploaded

Standards and references

  • HTML meta tags: the title element and meta name tags (description, keywords, author, viewport, robots) live in the head and describe the page to browsers and crawlers.
  • Meta keywords (ignored): Google announced in 2009 that it does not use the keywords meta tag for ranking, and Bing can treat it as a spam signal. The tag does no harm, but it does nothing for SEO.
  • robots meta: index, follow is the default crawler instruction: index this page and follow its links. Switch it to noindex to keep a page out of search.

Accuracy and limits

The tool generates the keywords meta tag if you fill the field, but Google has ignored that tag for ranking since 2009 and Bing can read it as a spam signal. It is there for completeness and for older systems, and you can leave the field blank.

The tool does not check your title or description length. Search engines show roughly 50 to 60 characters of a title and about 155 of a description before cutting them off, and Google often rewrites titles, so put the important words first. Use a counter or SERP preview to check fit.

The robots tag is always index, follow. If a page should stay out of search, change that tag to noindex yourself after pasting, because the tool has no toggle for it.

The output is a flat block of head tags without Open Graph or Twitter Card tags. Social previews need those, and separate generators make them.

The tool escapes values, so a character like an ampersand appears as its entity in the output. That is correct HTML, and the browser shows the original character.

Real-world uses

New page setup

Generate the main head tags for a new page without typing each one by hand.

Static sites and templates

Fill the head of a hand-coded or templated page quickly and consistently.

Learning the page head

See which tags belong in the head and how each one is written.

Quick fixes

Produce a correct meta description or robots tag to drop into an existing page.

When it fits, and when it doesn't

Good for

  • Generating the main head meta tags quickly
  • Hand-coded or static sites without an SEO plugin
  • Learning what belongs in the page head
  • An escaped block ready to paste

Not the best choice for

  • Open Graph or Twitter social-preview tags
  • Checking title or description length
  • Per-page noindex or canonical control
  • Structured data (schema.org or JSON-LD)

For social share previews, use the Open Graph and Twitter Card generators. To check length or see how the result looks in Google, use a SERP snippet preview or meta description counter. For structured data, use a schema generator.

Frequently asked questions

Does the keywords meta tag still help SEO?
No. Google has ignored it since 2009, and Bing can treat it as a spam signal. The tool generates it if you fill the field, but it does nothing for ranking, so you can leave the field blank.
Where do I paste the output?
Inside the head section of your HTML page, ideally near the top, before the head section closes.
Does it set how my page looks in Google?
Partly. Google may show your title and description, but it often rewrites titles and sometimes the description too. Put the main words early.
What length should my title and description be?
Roughly 50 to 60 characters for the title (about 600 px) and around 155 for the description. These figures are display guidance, not ranking rules. This tool does not count them; a SERP preview or counter does.
Why are viewport and robots always added?
Nearly every page needs them. The viewport tag makes the page render properly on mobile, and robots index, follow lets search engines index the page and follow its links.
Does it create Open Graph or Twitter tags?
No, it makes only the standard head tags. Use the Open Graph and Twitter Card generators for social previews.
Why are some characters changed in the output?
The tool HTML-escapes them so the markup stays valid; an ampersand, for example, becomes its entity. The browser shows the original character.
Do I need the author tag?
It is optional and matters little for SEO. The tool adds it only if you fill the field, and many sites skip it.
Is my input sent anywhere?
No. Your browser builds the tags as you type, and the tool sends nothing to a server.
Does it generate a canonical tag?
No. A canonical tag is separate; use a canonical tag generator for that.
Can I edit the output before using it?
Yes. The output is plain text, so copy it and change anything you like (add a noindex, remove keywords) before pasting.

References

The tool writes the standard head tags with your input HTML-escaped. It adds the keywords meta tag only when you fill that field, and this page says plainly that Google has ignored keywords since 2009.

Trending

Open Graph Generator

Generate Open Graph meta tags so your page shows a proper title, description and image when shared on Facebook, LinkedIn, WhatsApp and more. Fill four fields and copy the block.

SEOOpen Tool
Trending

SERP Snippet Preview

Type a title, URL and meta description to see roughly how your page could look in Google, cut to length the way a real result is.

SEOOpen Tool

Robots.txt Generator

Generate a robots.txt that sets crawler and AI-bot access and points to your sitemap.

SEOOpen Tool

Slug Generator

Turn a title or phrase into a lowercase, hyphenated URL slug, the readable tail of a web address. It updates as you type, in your browser.

SEOOpen Tool

Readability Checker

Paste your text to get its Flesch Reading Ease score and US grade level, the two classic readability measures, updated as you type.

SEOOpen Tool
PopularHot

Image Compressor

Compress an image to JPEG with a quality slider and watch the file size drop as you drag, in your browser.

ImageOpen Tool

Back to the Meta Tag Generator

Generate as many as you need at the top of the page. It runs on this device and needs no account.