About the Meta Tag Generator
Good meta tags help search engines and social apps show your page well. Fill in the fields, see a Google-style preview and copy the HTML.
Meta tags are the hidden part of a web page that search engines and social apps read. The title tag and meta description shape how a page appears in Google; Open Graph and Twitter Card tags control the title, text and image shown when someone shares the link on Facebook, LinkedIn, WhatsApp or X. Missing or poorly written tags mean bland previews, wrong images and fewer clicks.
This generator builds a complete, correctly formatted set of tags from a few fields: title, description, canonical URL, share image, site name, X handle and page type. Robots options control whether the page may be indexed and whether its links should be followed. A Google-style preview shows how the title and description might appear, and the finished HTML is ready to paste into your page’s <head>.
How to use the Meta Tag Generator
- 1Enter the page title, description and URL.
- 2Add an image for social sharing.
- 3Copy the tags into your page <head>.
Key features
- Title, description and canonical tags.
- Open Graph tags for Facebook, LinkedIn and WhatsApp.
- Twitter Card tags.
- Robots index and follow options.
- Search result preview and copyable HTML.
Practical uses
- Adding tags to a static HTML site.
- Fixing missing previews when links are shared on WhatsApp.
- Preparing tags for a landing page or product page.
- Learning which tags matter for SEO and social sharing.
Example
For a bakery page with the title “Fresh Bread in Lahore | Ali Bakes”, a 140-character description and a 1200×630 share image, the tool outputs the <title>, meta description, canonical link, og:title, og:description, og:image, og:url and twitter:card tags in one block.
Tips and common mistakes
- Write a unique title and description for every page.
- Use an absolute https URL for og:image; relative paths often fail.
- After changing tags, use each platform’s sharing debugger to refresh its cached preview.
Limitations
- Tags must still be added to your site manually or through your CMS.
- Search engines may rewrite titles and descriptions.
Privacy
Page details are processed in your browser and not stored.
Frequently asked questions
How long should a title be?
About 50–60 characters; Google cuts longer titles at around 600 pixels.
How long should a description be?
About 120–160 characters. Google may rewrite it, but a good one improves clicks.
What size should the og:image be?
1200 × 630 pixels works well on Facebook, LinkedIn, X and WhatsApp.
Do meta keywords help SEO?
No. Google has ignored the meta keywords tag for many years, so it is not included.
