OnlineTextLab
Esc

Meta Tags Generator

Builds a clean, correctly escaped head block from a short form, and warns you about settings that conflict.

Start from an existing page
Search engine rules
Search results
Links on this page
Link previews: Open Graph and X
Article detailsWhen type is article
Language versions (hreflang)
Ownership verification

Fill in a title and your tags appear here, ready to paste into the page's <head>.

Runs on your device. Your files and text are not uploaded.

About Meta Tags Generator

Old tag generators pad the output with things nobody reads: meta keywords, revisit-after, author tags. This one writes only tags that something actually consumes, and it leaves out anything that is already the default. If a page should be indexed, you get no robots tag at all, because Google treats that as the starting point.

It is handy when you are hand-building a landing page, starting a static site, or fixing a template that has lost its tags. Fill in a title, a description and an address, and you already have a complete block, as share titles and descriptions default to what you typed.

The output sits beside the form so you can see each field's effect. Conflicts are called out in plain terms, such as a noindex alongside a canonical, or a language list that forgets the page it is on.

How it works

Everything runs in your browser, as the form builds one text block on each change. Values are HTML-escaped for their context: &, < and > inside <title>, and also double quotes inside attributes. A title such as Tom & Jerry cannot break your markup, which is a real failure of tools that paste values in raw.

X falls back to Open Graph for title, description and image, according to its card markup reference. So twitter:title and the like are written only if you enter something different. twitter:card is always written, because the card type has no Open Graph equivalent.

Times from the date fields gain your device's time zone offset, as Open Graph expects ISO 8601. Language codes are checked against Google's hreflang rules, so en-UK gets a warning that UK is a reserved code and GB is what you need. Start from an existing page is the only step that uses our server, to fetch the address you give it.

How to use Meta Tags Generator

  1. Fill in Page title, Description and Page address, or press Try an example.
  2. Open Search engine rules only if this page needs something other than the defaults.
  3. Open Link previews: Open Graph and X to add a share image and account. The other values are filled in for you.
  4. Add Language versions (hreflang), Article details or Ownership verification if they apply.
  5. Read the notes under Before you paste, then press Copy tags or Download and paste the block inside your page's head.

Three fields filled in

Input
Page title: How to Oil an Oak Table Without Streaks | Northwood
Description: Three coats, the right cloth and a light sand between each.
Page address: https://northwood.example/guides/oil-an-oak-table
Output
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>How to Oil an Oak Table Without Streaks | Northwood</title>
<meta name="description" content="Three coats, the right cloth and a light sand between each.">
<link rel="canonical" href="https://northwood.example/guides/oil-an-oak-table">
<meta property="og:type" content="website">
<meta property="og:title" content="How to Oil an Oak Table Without Streaks | Northwood">
<meta property="og:description" content="Three coats, the right cloth and a light sand between each.">
<meta property="og:url" content="https://northwood.example/guides/oil-an-oak-table">
<meta name="twitter:card" content="summary_large_image">

Those are the 10 tags the tool counted, once its grouping comments are set aside. There is no robots tag, because the page is indexable by default, and the only remaining note was a suggestion to add a share image.

When it helps

  • Writing the head of a hand-coded landing page or a static site template.
  • Importing a page's existing tags to rebuild them without the outdated ones.
  • Setting up language alternates for a page and checking the codes as you type them.
  • Adding a Search Console or Bing verification tag along with the rest of the block.

Tips for a better result

  • Check your template before pasting. Turn off Include charset and viewport if it already writes them, as duplicates help nobody.
  • Use full addresses, starting with https://, for the canonical and share image. Relative ones are a common cause of previews with no picture.
  • List the current page in its own language versions, and repeat the same set on each version. Otherwise Google may ignore the tags.
  • Copy a verification code exactly. It is the one meta value where Google says letter case can matter.
  • Reserve Hide (noindex) for pages that really should not be found, such as thank-you pages or internal search results.

Good to know

  • It generates tags and does not install them. You still paste them into your template or CMS.
  • It does not check whether the share image exists or what size it is. The Open Graph Checker can test that on a live page.
  • JSON-LD is not included. Use the Schema Markup Generator for structured data.
  • Importing reads only the fields this form has, so other tags on the page are dropped, including any meta keywords tag, on purpose.
  • It describes one page. Keeping titles and canonicals consistent across a site is a job for your template.

Questions people ask

Why is there no meta keywords tag?

Google states the keywords tag is not used in Search and has no effect on indexing or ranking. Including it only publishes your keyword list to competitors, so this generator will not write one.

Do I need a robots tag on every page?

No. Google's defaults are index and follow, so writing them out changes nothing. The tag appears here only when you pick a rule that differs, such as noindex or max-image-preview:large.

Why are noarchive and similar options missing?

Google lists noarchive and nocache as historical rules that its Search ignores, so they would only add clutter. The options here are ones its documentation currently supports.

Do I need separate tags for X if I have Open Graph?

Mostly not. Set twitter:card to choose the layout, and X's markup reference maps title, description and image back to the og: equivalents. Add separate values only if you want different text on X.

Does the viewport tag matter for SEO?

Google lists it among the meta tags it understands, and says its presence indicates a page is mobile friendly. It is also what makes a page lay out properly on phones, which matters regardless.

What to use next

Last reviewed . Read our editorial policy.