How to use this meta tag generator
Write the title first, as if it were a headline in search results: the page's main topic, the detail that makes it worth clicking, and — if there is room — your brand at the end. Then write the description as two honest sentences that summarise the page and include the phrase a searcher would type. Watch the live counters: titles read best under about 60 characters and descriptions under about 160, not because longer text is punished, but because search engines trim the overflow. Choose the robots setting (almost every normal page wants the default), add a canonical URL if the page can be reached at more than one address, fill in the Open Graph basics, and copy the finished block into your page's head section.
Notice what the generator does for you: it escapes quotes and special characters correctly, orders the tags sensibly with charset early, and only includes optional tags you actually filled in. A hand-typed block with one unescaped quote can silently break every tag after it — generating the block removes that whole class of mistake.
Example output
With the sample values pre-filled on this page, the generator produces this block (shortened here to the essential lines):
That output was generated by this tool's own code from the values above, so you can change any field and watch the block rebuild itself — the fastest way to learn what each tag looks like.
The tags that actually matter
Of the dozen tags a generator can produce, four do nearly all the work. The title is the strongest on-page ranking signal you control and the headline of your search result. The description does not rank you, but it sells the click when Google shows it. The viewport tag decides whether your site is usable on a phone at all. And the robots tag is the one that can quietly remove a page from Google if it is set wrong — a stray noindex left over from development has hidden more finished sites than any algorithm update. The rest — author, language, theme-color — are harmless metadata: include them, but do not expect them to move rankings.
Common mistakes to avoid
Three recur constantly. First, one title pasted across every page: duplicates make search engines guess which page you meant. Second, keyword stuffing in the title or description — repeating the same phrase reads as spam to both engines and humans, and engines simply rewrite it. Third, forgetting that meta tags are per-page instructions, not site decoration: a checkout page, a login page and a homepage need different robots settings and different descriptions. Generate each page's block individually; it takes two minutes and it is the version of the job that actually works.
Meta tags when you use a CMS or website builder
If your site runs on WordPress, Wix, Squarespace or a similar platform, the platform writes most of these tags for you — an SEO plugin or the page settings panel asks for a title and description and emits the same block this generator produces. You do not paste generated code over theirs; instead, use this tool as a drafting bench and a reference. Draft the title and description here where the character counters are visible, then type the finished text into your platform's fields. And when a checker reports a missing viewport or a wrong robots value on a builder site, the fix is a settings toggle rather than code — knowing what the correct output should look like, which is what this page teaches, is what lets you recognise when a platform has it wrong.
Frequently asked questions
Where do meta tags go in my HTML?
Between the opening <head> and closing </head> tags of your page, ideally near the top — the charset tag should be within the first 1024 bytes of the document, and the title and description are usually placed right after it. Every page should have its own unique set; never copy one page's title and description across a whole site.
How long should my title and description be?
Titles display fully at roughly 50–60 characters and descriptions at about 150–160 characters on desktop (less on mobile). Longer text is not penalised, but the overflow is cut off with an ellipsis, so put the important words early. This generator shows live character counts for both fields as you type.
Do keywords meta tags still help SEO?
Google has ignored the keywords meta tag since 2009, and Bing treats it as a spam signal when it is stuffed. The generator includes the field because some smaller engines, internal site searches and older systems still read it — if you use it, keep it to a handful of honest phrases that genuinely describe the page.
What does the robots meta tag do?
It instructs search engine crawlers per page. 'index, follow' (the default everywhere) lets them index the page and follow its links. 'noindex, follow' keeps the page out of search results while still passing link value — useful for thank-you and login pages. 'noindex, nofollow' is the strongest setting, for pages you want fully out of the index.
Why is the viewport tag essential?
Without width=device-width, initial-scale=1.0, phones render your page at a desktop width of about 980 pixels and shrink it, making text tiny and forcing pinch-zooming. Google also uses the tag as a mobile-friendliness signal. It costs one line and every page needs it.
What is the canonical tag for?
It tells search engines which URL is the master version when the same content is reachable at several addresses — with and without www, with tracking parameters, or over http and https. Point the canonical at the clean, permanent version of the page to consolidate ranking signals instead of splitting them.
Should every page have different meta tags?
Yes — titles and descriptions must be unique per page. Duplicated titles are one of the most common technical SEO problems: search engines may pick a different page than you intended, rewrite your text, or treat near-identical pages as one. Write each one for the specific page it describes.
What is the theme-color tag used for?
It tints the browser's address bar and surrounding UI on mobile to match your site's branding. It is cosmetic, harmless, and one line — set it to your main brand colour. Desktop browsers largely ignore it, so never rely on it for anything functional.
Does Google always show my meta description in results?
No. Google rewrites the snippet for a large share of searches, pulling text from the page it thinks better matches the query. A well-written, accurate description still wins the click when it is shown, and it guides the rewrite — write it as an honest summary of the page, not as advertising copy.