Meta Tag Generator

Generate escaped title and description markup for a page.

Text inputPreview and copyRuns in your browser

Enter your text

Result

How to use Meta Tag Generator

  1. Enter the values in the order shown in the input label or try the built-in sample.
  2. Select Run tool to generate the output.
  3. Review the output before copying it.

How it works

Generate escaped title and description markup for a page. Read the first two lines and escape HTML syntax in both values.

Formula or processing rules

Read the first two lines and escape HTML syntax in both values.

Worked example

Put JPG to PDF on the first line and Combine photos into one PDF on the second. The output gives a title element and a description meta tag.

Worked example
MeasureValue
Title on line 1; description on line 2JPG to PDF Combine photos into one PDF.
Result<title>JPG to PDF</title> <meta name="description" content="Combine photos into one PDF.">

Before using the result

Use the result to review your metadata. If you use Yoast, enter the two values into its title and description fields so WordPress publishes one set of tags.

Pros and cons

Pros

Generate escaped title and description markup for a page. The sample provides an immediate check of the expected output.

Cons

Use a single title element and description tag in the page head.

Troubleshooting

Check the input format and compare your case with the built-in sample. Use a single title element and description tag in the page head.

Common issue and what to check

If you see two title or description tags in source, remove the duplicate from the template or plugin setup, then inspect the published markup again.

Frequently asked questions

How do I use the text I get back?

Copy the output into the document, list, or compatible tool where you need it.

How does the transformation work?

Read the first two lines and escape HTML syntax in both values.

Can I try a sample first?

Yes. Select Try a sample to load the worked example and see the expected result.

What should I check before using the result?

Use a single title element and description tag in the page head.

Is my input stored by the tool?

The transformation is computed in the open page. The tool does not save the submitted text.