Home  /  Articles  /  HTML meta tags

Free tools · How-to

How to write HTML meta tags for a new page

Write a title, description and canonical tag for a new page, then copy them into your page head.

Cordell Digital  ·  Published November 19, 2026

A browser window on the left and three stacked tag bars on the right joined by an arrow

To write HTML meta tags for a new page, write a unique title and description that match what the page shows, add one canonical URL, then paste the generated tags into the page head. The free HTML Meta Tag Generator creates the escaped title, description and canonical markup for you.

Every new page should say what it is before anyone opens it. The title, meta description and canonical tag sit in the head of the page and give search engines the page’s name, summary and preferred address.

Write the tags in four steps

1. Write a clear page title

Describe the page in plain words and put the main topic first. Many writers aim for about 60 characters so the title is less likely to be shortened, but display width varies.

2. Write a page description

Summarise what a visitor will find in one or two sentences. A common guide is about 150 to 160 characters. Describe the visible page honestly.

3. Add the canonical URL

Enter the full address you want search engines to treat as the preferred URL for the page. Use one canonical tag per page.

4. Generate and paste the tags

Open the HTML Meta Tag Generator, enter the title, description and canonical URL, then select Run tool. Copy or download the result and paste it inside the <head> of your page.

What each tag does

TagPurposeRule of thumb
TitleNames the page in browser tabs and search resultsUnique per page, main topic first
Meta descriptionSummarises the page and may be used as the snippetAccurate, about 150 to 160 characters
Canonical linkStates the preferred URL for the pageOne per page, matching the real URL

What the result does and does not do

  • It creates escaped markup for the title, description and canonical tag.
  • It does not install the tags on your site. You paste them into the page head yourself.
  • Google may show a different search title or snippet. A character count is a writing aid, not a guaranteed display width.

Your inputs and any file you load are processed in your browser. The tool does not send them to a server or save an input history. After publishing, view the page source to confirm the tags are there.

Frequently asked questions

How do I write HTML meta tags for a new page?

Write a unique title and description that match the visible page, add one canonical tag with the page’s preferred URL, then paste all three into the head. The free HTML Meta Tag Generator creates the escaped markup for you.

What meta tags does a new page need?

At minimum, a title tag, a meta description and a canonical link. The HTML Meta Tag Generator creates these three.

How long should a title tag be?

There is no fixed limit. Many writers keep titles to about 60 characters so they are less likely to be shortened in results, but display width varies and Google may rewrite the title.

How long should a meta description be?

A common guide is about 150 to 160 characters. Treat it as a writing aid: Google may show different text, and the description does not guarantee the snippet.

What does a canonical tag do?

It tells search engines which URL you prefer for the page. Use one per page and make it match the real preferred URL.

Does the meta tag generator install the tags?

No. It produces markup to copy into your page’s head. After publishing, view the page source to confirm the tags are present.

Are my inputs sent to a server?

No. The tool processes inputs in your browser and does not save an input history.

Generate your meta tags now

Enter your page details and copy the finished tags.

Open the HTML Meta Tag Generator →