Meta Tag Generator
Fill in your page details and get the title, description, canonical, Open Graph and Twitter card tags, with checks on title and description length.
How to write meta tags
Write the title and description
Warnings tell you when they are too long or too short.
Add the page details
Page URL, site name, author and an image URL (1200 x 630 works well).
Choose the social tags
Open Graph type, X / Twitter handle, and which card tags to include.
Set robots and colour
Index or noindex, theme colour, and favicon links.
Save it
Copy the tags into the head of your page.
Worked example
This is what Meta Tag Generator gives for its own sample values. Open the tool above and change anything to try your own.
- Page title
- Sarva Tools: free online tools
- Page URL
- https://example.com/
- Image URL (1200 x 630 works well)
- Site name
- Example
- Author
- X / Twitter handle
HTML for the <head>
<meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Sarva Tools: free online tools</title> <meta name="description" content="Convert, edit and create files in your browser. Nothing is uploaded and no account is needed."> <meta name="theme-color" content="#0f766e"> <link rel="canonical" href="https://example.com/"> <link rel="icon" href="/favicon.ico" sizes="any"> <link rel="icon" href="/icon.svg" type="image/svg+xml"> <link rel="apple-touch-icon" href="/apple-touch-icon.png"> <meta property="og:type" content="website"> <meta property="og:title" content="Sarva Tools: free online tools"> <meta property="og:description" content="Convert, edit and ...
About Meta Tag Generator
Create the tags that control how a page looks in search results and when shared: title, description, canonical link, Open Graph and Twitter cards. Warnings tell you when a title or description is too long or short.
FAQs
How long should the title be?
About 50 to 60 characters, or search results will cut it off.
What image size is best?
1200 by 630 pixels works on most social sites.
Where do I paste the tags?
Inside the <head> of your page.