Skip to content

Meta Tag Studio

100% client-side

Build a complete <head> — every keystroke updates the tags, SERP preview and validation.

1 Essentials

0 chars · ~0 / 580px

Google truncates by pixel width (~580px), not characters. Front-load the keyword.

0 chars · ~0 / 920px

Put the hook in the first ~120 characters so it survives mobile truncation.

Used for the canonical tag, og:url and the SERP preview breadcrumb.

2 Robots directives

Indexing
Link following

3 Social cards

4 Advanced meta

Live Google preview
yourdomain.com
Your Page Title Goes Here
Your meta description will appear here.

Drafts save automatically in your browser. Nothing is uploaded — run it offline if you like.

Free forever No signup Live SERP preview

Meta Tag Generator

Build a complete, correctly ordered <head> in seconds — title, description, viewport, robots, canonical, Open Graph, and Twitter Cards — with pixel-width checking before Google truncates you.

Tags covered
8+
Title limit
~580px
Data sent
0 bytes
index.html — <head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Best Hiking Boots 2026 — Tested on 40 Trails</title>
<meta name="description" content="We tested 23 hiking boots across mud, scree and alpine ridgelines. Here are the 7 worth your money.">
<meta name="robots" content="index, follow">
<link rel="canonical" href="https://traillab.com/best-hiking-boots">
<meta property="og:title" content="Best Hiking Boots 2026">
Google preview live
traillab.com › best-hiking-boots
Best Hiking Boots 2026 — Tested on 40 Trails
We tested 23 hiking boots across mud, scree and alpine ridgelines. Here are the 7 worth your money.
title width~540 / 580px
The anatomy

Every tag a modern <head> needs

Eight tags cover 95% of what search engines and social platforms read. Here's what each one does — and whether you can afford to skip it.

<title> Required

The single strongest on-page relevance signal. Becomes the clickable blue headline in search results.

<title>Best Hiking Boots 2026 | TrailLab</title>
description Required

Your ad copy in the SERP. Does not rank directly — but a compelling snippet lifts click-through rate.

<meta name="description" content="…">
viewport Required

Tells mobile browsers how to scale the page. Without it, mobile usability — and mobile-first indexing — suffers.

<meta name="viewport" content="width=device-width, initial-scale=1">
charset Required

Declares text encoding so accented characters and emoji render correctly. Should be the first tag in <head>.

<meta charset="UTF-8">
robots Situational

Per-page indexing instructions — index/noindex, follow/nofollow, snippet and image-preview controls.

<meta name="robots" content="index, follow">
canonical Situational

Points search engines at the master copy when the same content lives at multiple URLs.

<link rel="canonical" href="https://…">
og:* Recommended

Open Graph tags control how links look when shared on Facebook, LinkedIn, Slack, and Discord.

<meta property="og:title" content="…">
twitter:* Recommended

Twitter Card tags shape previews on X. Falls back to your Open Graph tags when omitted.

<meta name="twitter:card" content="summary_large_image">
The limits

Google measures pixels, not characters

That's why the generator shows width in pixels — a "W"-heavy title truncates long before an "i"-heavy one at the same length.

Title tag

~580px desktop
Safe zone0–50 chars
Risk zone50–60 chars
Truncated60+ chars

Front-load the keyword and the hook. If truncation is inevitable, let it cut filler — not the reason to click.

Meta description

~920px / ~120px mobile
Mobile-safe≤120 chars
Desktop-safe120–160 chars
Cut off160+ chars

Write the pitch in the first 120 characters so it survives mobile, then use the remaining space for proof or a call to action.

Myth check

What Google does with your tags in 2026

Meta tag advice is full of folklore from 2012. Here's what large-scale SERP research actually shows.

Meta keywords still help rankings

Google has ignored the keywords meta tag since 2009, and Bing largely treats it as a spam signal. Leave it out — the generator does too.

Google always shows your meta description

Google rewrites roughly 7 in 10 descriptions, pulling on-page text that better matches the query. Write one anyway — a good description wins the impressions it keeps.

Shorter titles are always safer

Google truncates by pixel width, not character count. A narrow 62-character title can truncate while a wider 68-character one fits. Aim for substance in the first ~50 characters.

Duplicate meta descriptions get you penalized

There is no duplicate-meta penalty. But identical descriptions waste your one chance to tailor the pitch per page — and Google will just invent its own.

How it works

Three steps to a complete <head>

  1. 01

    Fill in the fields

    Title, description, page URL, author, robots directives — the form maps one-to-one to real <head> tags, with live character and pixel-width feedback.

  2. 02

    Watch the tags build

    Every keystroke updates the generated markup and the SERP preview, so you see truncation before Google does.

  3. 03

    Copy into <head>

    One click copies clean, correctly ordered HTML — charset first, social tags last. Paste it between your <head> tags and ship.

FAQ

Meta tag questions, answered

Pixel limits, Google's rewrite habit, the keywords tag myth, and where the output actually goes.

01 What are meta tags and why do they matter for SEO?

Meta tags are HTML elements inside <head> that describe a page to browsers and search engines. The title tag shapes your ranking headline, the meta description becomes your search snippet, and tags like viewport, robots, and canonical control rendering and indexing. They are the first thing a crawler reads and the first thing a searcher sees.

02 How long should a title tag and meta description be?

Keep titles around 50–60 characters — Google truncates by display width (~580px on desktop), not a hard count, so front-load important words. Meta descriptions work best at 150–160 characters (~920px); anything longer gets cut with an ellipsis, and on mobile the limit shrinks to roughly 120 characters.

03 Does Google use the meta keywords tag?

No. Google officially stopped using meta keywords for ranking in 2009 because the tag was abused for keyword stuffing. Modern generators — including this one — omit it entirely. Focus on title, description, viewport, and social tags instead.

04 Why did Google rewrite my title or description?

Google rewrites snippets when it believes on-page text better answers the query — large-scale studies put title rewrites near 60% and description rewrites near 70%. You reduce rewrites by writing titles that match search intent, keeping them within pixel limits, avoiding ALL-CAPS and boilerplate, and writing descriptions that accurately summarize the page.

05 Where do I paste the generated meta tags?

Inside the <head> section of your HTML, ideally with <meta charset> first, then viewport, title, description, and finally social tags. In WordPress, use an SEO plugin or theme header settings; in React/Next.js they go in your document head or metadata export.

06 Is this meta tag generator really free and private?

Yes. Everything runs in your browser — your titles, URLs, and descriptions never leave your device. There is no account, no watermark, no tag limit, and nothing is logged or sent to a server.