Every head tag a page needs, generated correctly
Hand-writing meta tags is repetitive and easy to get subtly wrong — a missing canonical, an over-long description, a forgotten viewport tag. This generator takes a few inputs and outputs a clean, correctly ordered block of head tags covering SEO fundamentals plus social previews, so you can paste once and move on.
How it works
The tool builds standard head elements from your inputs:
<meta charset="UTF-8">and the responsive viewport tag, which belong on every page.<title>and<meta name="description">, the two tags search engines show in results.<link rel="canonical">pointing at the page’s master URL.<meta name="robots">, set toindex,followornoindex,nofollowbased on your choice.<meta name="theme-color">for mobile browser chrome.- Open Graph (
og:title,og:description,og:url,og:image,og:type) and the matching Twitter Card tags so shared links render with a title, summary, and image.
Values you type are HTML-escaped so characters such as &, <, >, and " cannot break your markup. The output updates live and character counts flag titles or descriptions that are too long.
Tips and example
- Use absolute URLs for canonical and image tags. Relative paths often fail when a crawler or social platform resolves them from a different context.
- Match
og:titleto your<title>andog:descriptionto your meta description for consistency, then tune them only if the social copy needs to differ. - A good social image is 1200x630 pixels. Smaller images may be cropped or rejected by some platforms.
- Paste the block high in the
<head>, ideally right after the charset and viewport tags.