Page basics
Technical
Robots directives
Open Graph
Twitter / X card
Everything runs in your browser. Nothing you type is uploaded; your entries are kept only in this browser's local storage.
What This Tool Does and Why the Head Block Matters
Every HTML page has a <head> that visitors never see but machines read first. Search engine crawlers take the title and description from it to build your result listing; chat apps and social networks read Open Graph and Twitter card tags to draw the preview card when someone shares your link; browsers read the viewport, character set and theme colour to decide how to render the page. Get any of these wrong and the page may show up with a cut-off title, a blank grey preview card, or a layout that is unreadable on a phone.
This generator turns that list of tags into a form. Fill in the fields, watch the output on the right update as you type, and copy or download the finished block to paste between your page's <head> tags. It is built for the people who usually end up doing this by hand: small-business owners editing a Shopify, WordPress or static site, marketers preparing a landing page, and developers who want a correct block without re-reading the specification every time. Quotes, ampersands and angle brackets inside your text are escaped automatically so the markup can never break, and URL fields refuse anything that is not a full absolute address.
How the Length Counters Work
Search engines do not cut a title after a fixed number of characters; they stop when it runs out of horizontal room in the result. That is why the title counter reports an approximate pixel width alongside the character count. The tool draws your title in a 20 px sans-serif font on an invisible canvas, measures it, and compares the result with a desktop budget of roughly 580 px:
A worked example shows why width beats count. The sample title Handmade Leather Wallets - Free Shipping Across India | Arjun Leather Co. is 72 characters and measures about 640 px, so the brand name at the end would almost certainly be dropped on desktop and even more of it on a phone. Trimming it to Handmade Leather Wallets, Free India Shipping | Arjun Leather Co. brings it to 64 characters and about 560 px, which fits. A title of 64 characters made of narrow letters can fit where a 55-character title full of capitals and Ws does not.
The description counter is simpler - a character budget of about 160 with a warning above 150 - because descriptions wrap over two lines and the exact cut-off varies more by device. Both limits are estimates drawn from how results commonly render; search engines change their layouts and may rewrite your text anyway, so treat the colours as guidance rather than a guarantee.
Field Reference: What Each Tag Is For
| Tag | Read by | What it controls |
|---|---|---|
<title> | Search engines, browsers, bookmarks | The headline of your search listing and the text on the browser tab. The single most important line on the page. |
meta description | Search engines | The grey summary under the headline. Not a ranking signal, but it influences whether people click. |
meta keywords | Few modern systems | Largely ignored for ranking. Optional; omit it unless a specific tool of yours reads it. |
meta robots | Search crawlers | Whether the page may be indexed, whether its links are followed, and how much of it may be shown as a preview. |
link canonical | Search engines | Declares the preferred URL when the same content is reachable at several addresses (tracking parameters, http vs https, trailing slash). |
meta charset | Browsers | How bytes become characters. UTF-8 covers every script, including Devanagari, Tamil and emoji; put it first in the head. |
meta viewport | Mobile browsers | Without it a phone renders the page at desktop width and shrinks it. Required for any responsive layout. |
meta theme-color | Mobile browsers, installed web apps | Tints the address bar or title bar to match your brand. |
og:* | Social networks, chat apps, link unfurlers | Title, description, image and type of the preview card shown when the link is shared. |
twitter:* | Twitter / X and some other readers | Overrides or supplements the Open Graph card; the card type chooses between a small square image and a wide one. |
html lang | Search engines, screen readers, translation tools | Not a meta tag - it belongs on the <html> element. The output includes a reminder comment with your chosen language. |
Common Mistakes the Generator Helps You Avoid
/img/share.jpg is useless to a link unfurler on another server. Every URL field insists on a full https:// address.Frequently Asked Questions
No. The generator is plain JavaScript running in your browser - the title, description and URLs you enter never leave your device. Your entries are kept in local storage on your own machine so they are still there when you come back, and the Reset button clears them.
Search engines cut titles by available width, not by a fixed character count. A title full of wide letters like W and M runs out of room sooner than one built from narrow letters like i and l. The tool measures the title in a standard 20 px sans-serif font and treats roughly 580 px as the point where a desktop result is likely to be shortened. It is an estimate - real rendering depends on the device and font - so use it as a guide, not a rule.
The major search engines have said for years that they ignore the keywords tag for ranking, which is why it is optional here. It does no harm in small doses and some internal site-search tools or older systems still read it, but do not expect it to move your position in results.
When it is on, the Open Graph title, description and URL are copied from the main title, meta description and canonical URL, and the Twitter card title, description and image are copied from the Open Graph fields. Switch it off when you want the social preview to say something different from the search snippet - for example a punchier headline for sharing.
index, follow is what crawlers assume when no robots tag is present, so the tag is optional on normal pages - it is included so your intent is explicit. The tag matters when you want the opposite: noindex on thank-you pages, internal search results, staging copies or thin duplicate pages, or nofollow on pages whose links you do not want to vouch for.
A landscape image around 1200 by 630 pixels, under about 1 MB, in JPEG or PNG, is the widely used safe choice and works for both Open Graph and the large Twitter card. Keep important text and faces away from the edges, because some apps crop to a square or a shorter rectangle. The image URL must be absolute (starting with https://) and publicly reachable - the tool flags relative paths.