{"id":72571,"date":"2026-11-28T13:18:17","date_gmt":"2026-11-28T07:48:17","guid":{"rendered":"https:\/\/www.quickonlinetips.com\/archives\/?page_id=72571"},"modified":"2026-11-28T13:18:17","modified_gmt":"2026-11-28T07:48:17","slug":"meta-tag-generator","status":"publish","type":"page","link":"https:\/\/www.quickonlinetips.com\/archives\/tools\/meta-tag-generator\/","title":{"rendered":"Meta Tag Generator: Title, Description and Social Tags"},"content":{"rendered":"<p>Use this free <strong>meta tag generator<\/strong> to write the title, description and social sharing tags for a web page. It also shows a preview of how your page may look in search results, so you can fix a title or description that is too long before you publish.<\/p>\n<div class=\"qt-tool\" id=\"qt-mt\"><p class=\"qt-label\" style=\"font-size:1.15em;margin:0 0 10px\"><strong>Step 1:<\/strong> Enter your page details<\/p><div class=\"qt-field\"><label for=\"qt-mt-title\">Page title (required)<\/label><input type=\"text\" id=\"qt-mt-title\" value=\"\" placeholder=\"Your page title\" autocomplete=\"off\"><div class=\"qt-note\" id=\"qt-mt-tcount\"><\/div><\/div><div class=\"qt-field\"><label for=\"qt-mt-desc\">Page description (required)<\/label><textarea id=\"qt-mt-desc\" rows=\"3\" placeholder=\"One or two sentences about what the page offers\" style=\"width:100%;box-sizing:border-box\"><\/textarea><div class=\"qt-note\" id=\"qt-mt-dcount\"><\/div><\/div><div class=\"qt-field\"><label for=\"qt-mt-url\">Page link (optional, adds a canonical tag)<\/label><input type=\"text\" id=\"qt-mt-url\" placeholder=\"https:\/\/www.example.com\/page\" spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" inputmode=\"url\"><\/div><div class=\"qt-field\"><label for=\"qt-mt-site\">Site name (optional)<\/label><input type=\"text\" id=\"qt-mt-site\" placeholder=\"Your site name\" autocomplete=\"off\"><\/div><div class=\"qt-field\"><label for=\"qt-mt-img\">Share image link (optional, 1200 by 630 pixels works well)<\/label><input type=\"text\" id=\"qt-mt-img\" placeholder=\"https:\/\/www.example.com\/share-image.jpg\" spellcheck=\"false\" autocapitalize=\"off\" autocomplete=\"off\" inputmode=\"url\"><\/div><div class=\"qt-field\"><label for=\"qt-mt-card\">Share card style (used when you add an image)<\/label><select id=\"qt-mt-card\"><option value=\"summary_large_image\">Large image<\/option><option value=\"summary\">Small image<\/option><\/select><\/div><p><label><input type=\"checkbox\" id=\"qt-mt-noindex\"> Ask search engines not to list this page (noindex)<\/label><\/p><p class=\"qt-label\" style=\"font-size:1.15em;margin:18px 0 10px\"><strong>Step 2:<\/strong> Press Generate tags, then read the result in the green box<\/p><div class=\"qt-row\"><button type=\"button\" class=\"qt-btn qt-btn-big\" id=\"qt-mt-go\">Generate tags<\/button><button type=\"button\" class=\"qt-btn qt-btn-ghost\" id=\"qt-mt-copy\">Copy tags<\/button><button type=\"button\" class=\"qt-btn qt-btn-ghost qtx-nomark\" id=\"qt-mt-reset\">\u21ba Start over<\/button><\/div><div class=\"qt-status\" id=\"qt-mt-status\" aria-live=\"polite\"><\/div><div id=\"qt-mt-out\"><\/div><p class=\"qt-note\"><strong>Private by design:<\/strong> Your tags are made in your browser. Nothing you type is sent to or stored on our server. The image link is only written into the tags, never opened.<\/p><\/div>\n<script>(function () { function qtReady(fn) { if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', fn); } else { fn(); } } function qtCopy(text, statusEl, okMsg) { function done(ok) { if (statusEl) { statusEl.textContent = ok ? (okMsg || 'Copied to clipboard.') : 'Press Ctrl+C (or Cmd+C) to copy.'; } } function fallback() { var ta = document.createElement('textarea'); ta.value = text; ta.setAttribute('readonly', ''); ta.style.position = 'fixed'; ta.style.top = '-1000px'; document.body.appendChild(ta); ta.select(); var ok = false; try { ok = document.execCommand('copy'); } catch (e) { ok = false; } document.body.removeChild(ta); done(ok); } if (navigator.clipboard) { if (window.isSecureContext) { navigator.clipboard.writeText(text).then(function () { done(true); }, fallback); return; } } fallback(); } function el(tag, cls, text) { var n = document.createElement(tag); if (cls) { n.className = cls; } if (text !== undefined) { n.textContent = text; } return n; } qtReady(function () { var ti = document.getElementById('qt-mt-title'); if (!ti) { return; } function $(id) { return document.getElementById(id); } var status = $('qt-mt-status'), out = $('qt-mt-out'), last = ''; var NL = String.fromCharCode(10), LT = String.fromCharCode(60), GT = String.fromCharCode(62), AMP = String.fromCharCode(38), QQ = String.fromCharCode(34); var ctx = document.createElement('canvas').getContext('2d'); ctx.font = '20px Arial'; function fail(msg) { status.textContent = msg; status.classList.add('qt-error'); } function esc(v) { return v.split(AMP).join(AMP + 'amp;').split(LT).join(AMP + 'lt;').split(GT).join(AMP + 'gt;').split(QQ).join(AMP + 'quot;'); } function px(t) { return Math.round(ctx.measureText(t).width); } function cut(t, maxpx) { if (maxpx >= px(t)) { return t; } while (t.length > 1) { t = t.slice(0, t.length - 1); if (maxpx >= px(t + '...')) { return t.trim() + '...'; } } return t; } function cutDesc(t, n) { if (n >= t.length) { return t; } var s = t.slice(0, n - 3); var i = s.lastIndexOf(' '); if (i > 80) { s = s.slice(0, i); } return s + '...'; } function live() { var t = ti.value.trim(), d = $('qt-mt-desc').value.trim(); $('qt-mt-tcount').textContent = t.length + ' characters, about ' + px(t) + ' of 600 pixels' + (px(t) > 600 ? ' (too long, may be cut off)' : ''); $('qt-mt-dcount').textContent = d.length + ' of about 160 characters' + (d.length > 160 ? ' (too long, may be cut off)' : ''); } ti.addEventListener('input', live); $('qt-mt-desc').addEventListener('input', live); function build() { status.classList.remove('qt-error'); status.textContent = ''; out.textContent = ''; last = ''; var t = ti.value.trim(), d = $('qt-mt-desc').value.trim(), raw = $('qt-mt-url').value.trim(), site = $('qt-mt-site').value.trim(), img = $('qt-mt-img').value.trim(); if (!t) { fail('Step 1 first: enter the page title.'); return; } if (!d) { fail('Step 1 first: enter the page description.'); return; } var u = null; if (raw) { if (raw.indexOf(':\/\/') === -1) { raw = 'https:\/\/' + raw; } try { u = new URL(raw); } catch (e) { u = null; } var okp = false; if (u) { okp = u.protocol === 'http:' ? true : u.protocol === 'https:'; } if (!okp) { fail('The page link does not look right. Try https:\/\/www.example.com\/page'); return; } } var im = null; if (img) { try { im = new URL(img); } catch (e) { im = null; } var oki = false; if (im) { oki = im.protocol === 'http:' ? true : im.protocol === 'https:'; } if (!oki) { fail('The image link must start with http:\/\/ or https:\/\/'); return; } } var L = []; function meta(attr, name, val) { L.push(LT + 'meta ' + attr + '=' + QQ + name + QQ + ' content=' + QQ + esc(val) + QQ + ' \/' + GT); } L.push(LT + 'title' + GT + esc(t) + LT + '\/title' + GT); meta('name', 'description', d); if (u) { L.push(LT + 'link rel=' + QQ + 'canonical' + QQ + ' href=' + QQ + esc(u.toString()) + QQ + ' \/' + GT); } if ($('qt-mt-noindex').checked) { meta('name', 'robots', 'noindex, follow'); } meta('property', 'og:type', 'website'); meta('property', 'og:title', t); meta('property', 'og:description', d); if (u) { meta('property', 'og:url', u.toString()); } if (site) { meta('property', 'og:site_name', site); } if (im) { meta('property', 'og:image', im.toString()); } meta('name', 'twitter:card', im ? $('qt-mt-card').value : 'summary'); meta('name', 'twitter:title', t); meta('name', 'twitter:description', d); if (im) { meta('name', 'twitter:image', im.toString()); } last = L.join(NL); var ans = el('div', 'qtx-answer'); ans.appendChild(el('p', 'qtx-answer-h', 'Your answer: tags and search preview')); var pv = el('div', ''); pv.style.background = '#fff'; pv.style.border = '1px solid #dadce0'; pv.style.borderRadius = '8px'; pv.style.padding = '12px 14px'; pv.style.margin = '0 0 12px'; pv.style.fontFamily = 'Arial, sans-serif'; pv.style.color = '#202124'; var path = u ? (u.hostname + (u.pathname === '\/' ? '' : u.pathname.split('\/').filter(function (x) { return x; }).map(function (x) { return ' > ' + x; }).join(''))) : 'www.example.com'; var p1 = el('div', '', path); p1.style.fontSize = '13px'; p1.style.color = '#4d5156'; p1.style.overflowWrap = 'anywhere'; var p2 = el('div', '', cut(t, 600)); p2.style.fontSize = '20px'; p2.style.lineHeight = '1.3'; p2.style.color = '#1a0dab'; p2.style.margin = '3px 0'; var p3 = el('div', '', cutDesc(d, 160)); p3.style.fontSize = '14px'; p3.style.lineHeight = '1.5'; p3.style.color = '#4d5156'; pv.appendChild(p1); pv.appendChild(p2); pv.appendChild(p3); ans.appendChild(el('p', '', 'Search result preview (approximate):')); ans.appendChild(pv); var tw = px(t), ok1 = tw > 600 ? 'too long, it may be cut off' : (30 > t.length ? 'a little short' : 'good'); var ok2 = d.length > 160 ? 'too long, it may be cut off' : (70 > d.length ? 'a little short' : 'good'); var tbl = el('table', 'qt-table'); var tb = el('tbody'); tbl.appendChild(tb); [['Title', t.length + ' characters, about ' + tw + ' of 600 pixels: ' + ok1], ['Description', d.length + ' of about 160 characters: ' + ok2]].forEach(function (r) { var tr = el('tr'); tr.appendChild(el('th', '', r[0])); tr.appendChild(el('td', '', r[1])); tb.appendChild(tr); }); ans.appendChild(tbl); ans.appendChild(el('p', '', 'Copy these tags into the head section of your page:')); var ta = el('textarea', ''); ta.readOnly = true; ta.rows = Math.min(16, L.length + 1); ta.value = last; ta.style.width = '100%'; ta.style.boxSizing = 'border-box'; ta.style.fontFamily = 'monospace'; ta.setAttribute('aria-label', 'Your meta tags'); ans.appendChild(ta); ans.appendChild(el('p', 'qt-note', 'The preview is an estimate. Search engines may rewrite titles and descriptions, and show different lengths on different devices.')); out.appendChild(ans); status.textContent = 'Done. Read your answer in the green box, then press Copy tags.'; } $('qt-mt-go').addEventListener('click', build); $('qt-mt-copy').addEventListener('click', function () { if (last) { qtCopy(last, status, 'Tags copied.'); } else { status.textContent = 'Step 2 first: press Generate tags.'; } }); $('qt-mt-reset').addEventListener('click', function () { ['title', 'desc', 'url', 'site', 'img'].forEach(function (k) { $('qt-mt-' + k).value = ''; }); $('qt-mt-noindex').checked = false; $('qt-mt-card').value = 'summary_large_image'; out.textContent = ''; status.textContent = ''; status.classList.remove('qt-error'); last = ''; live(); }); live(); }); })();<\/script>\n<div class=\"qt-next\"><p class=\"qt-next-h\">Try another free tool<\/p><div class=\"qt-next-g\"><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/keyword-density-checker\/\">Keyword Density Checker<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/utm-link-builder\/\">UTM Link Builder<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/robots-txt-generator\/\">Robots.txt Generator<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/character-counter\/\">Character Counter<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/redirect-checker\/\">Redirect Checker<\/a><a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/qr-code-generator\/\">QR Code Generator<\/a><\/div><\/div>\n<p><em>The preview is an estimate. Search engines can rewrite titles and descriptions and show different lengths on different devices. This tool gives general information only. QuickOnlineTips is not affiliated with any search engine or social network.<\/em><\/p>\n<p><strong>Quick answer:<\/strong> Type your page title and description, add the page link if you want a canonical tag, then click <strong>Generate tags<\/strong>. Copy the tags into the head section of your page.<\/p>\n<h2>How to create meta tags<\/h2>\n<ol>\n<li>Write a clear title and a short description of what the page offers.<\/li>\n<li>Optionally add the page link, your site name and a share image link.<\/li>\n<li>Click <strong>Generate tags<\/strong> and check the search preview and the length notes.<\/li>\n<li>Click <strong>Copy tags<\/strong> and paste them into the head section of your page, or into your SEO plugin&#8217;s fields if you use WordPress.<\/li>\n<\/ol>\n<h2>Good lengths to aim for<\/h2>\n<table class=\"qt-ref\">\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>Aim for<\/th>\n<th>Why<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Title<\/td>\n<td>About 30 to 60 characters (under 600 pixels)<\/td>\n<td>Longer titles are often cut off in results.<\/td>\n<\/tr>\n<tr>\n<td>Description<\/td>\n<td>About 70 to 160 characters<\/td>\n<td>Longer descriptions are often shortened.<\/td>\n<\/tr>\n<tr>\n<td>Share image<\/td>\n<td>1200 by 630 pixels<\/td>\n<td>Looks sharp when the link is shared.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Tips for better titles and descriptions<\/h2>\n<ul>\n<li><strong>Put the main topic first<\/strong> and keep each page title different.<\/li>\n<li><strong>Write for people.<\/strong> A description that promises something useful gets more clicks than a list of keywords.<\/li>\n<li><strong>Do not copy your title into your description.<\/strong> Add new information instead.<\/li>\n<li>For more ideas, see our <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2010\/11\/seo-checklist\/\">SEO checklist<\/a> and <a href=\"https:\/\/www.quickonlinetips.com\/archives\/2011\/03\/101-top-seo-tips\/\">101 SEO tips<\/a>, and use the <a href=\"https:\/\/www.quickonlinetips.com\/archives\/tools\/character-counter\/\">character counter<\/a> for any other text.<\/li>\n<\/ul>\n<h2>FAQ<\/h2>\n<h3>Is this meta tag generator free?<\/h3>\n<p>Yes. It is free, needs no sign-up, and runs in your browser. Nothing you type is sent to our server.<\/p>\n<h3>Do meta descriptions affect rankings?<\/h3>\n<p>Not directly, but a good description can earn more clicks from search results.<\/p>\n<h3>What are the social tags for?<\/h3>\n<p>They control the title, description and image shown when your page link is shared on social networks and messaging apps.<\/p>\n<h3>What does the canonical tag do?<\/h3>\n<p>It tells search engines which address is the main version of a page, which helps when the same page can be reached through several links.<\/p>\n<h3>Where do I paste the tags?<\/h3>\n<p>In the head section of your page&#8217;s HTML. WordPress users can usually enter the title and description in an SEO plugin instead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Use this free meta tag generator to write the title, description and social sharing tags for a web page. It also shows a preview of how your page may look in search results, so you can fix a title or description that is too long before you publish. The preview is an estimate. Search engines&#8230;<\/p>\n","protected":false},"author":7,"featured_media":72581,"parent":65595,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","footnotes":""},"class_list":["post-72571","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/comments?post=72571"}],"version-history":[{"count":1,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72571\/revisions"}],"predecessor-version":[{"id":72585,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/72571\/revisions\/72585"}],"up":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/pages\/65595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media\/72581"}],"wp:attachment":[{"href":"https:\/\/www.quickonlinetips.com\/archives\/wp-json\/wp\/v2\/media?parent=72571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}