All Meta Tag Generator Online Tools

Web Tools:
All Meta Tag Generator

Fill in required fields.

Code

Copy your code.

 <meta name="title" content="">
      
 <meta name="keywords" content="">
 <link rel="canonical" href="">
 <meta property="og:locale" content="_">
 <meta property="og:title" content="">
 <meta property="og:site_name" content="">
 <meta property="og:url" content="">
 <meta property="og:image:type" content="image/jpeg">
 <meta property=":published_time" content="2024-11-21 11:53:52 IST +05:30">
 <meta property=":modified_time" content="">
 <meta property="og:image:width" content="630">
 <meta property="og:image:height" content="330">
 <meta property="og:type" content="">

 <meta name="robots" content=",">
 <meta http-equiv="Content-Type" content="">
 <meta http-equiv="Content-Language" content="">
 <meta name="author" content="">
<meta property="og:image" content="">
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "", "mainEntityOfPage": { "@type": "WebPage", "@id": "" }, "headline": "", "description": "", "image": { "@type": "ImageObject", "url": "" }, "author": { "@type": "Organization", "name": "" }, "publisher": { "@type": "Organization", "name": "", "logo": { "@type": "ImageObject", "url": "" } }, "datePublished": "2024-11-21", "dateModified": "2024-11-21" } </script>

Code For Forward Meta Tag to Head Tag with Javascript

Copy your code.

 
      <script>
        // Define an array of head elements (meta tags, link tags, etc.)
        var headElements = [
            { type: 'meta', name: 'title', content: '' },
            { type: 'meta', name: 'description', content: '' },
            { type: 'meta', name: 'keywords', content: '' },
            { type: 'link', rel: 'canonical', href: '' },
            { type: 'meta', name: '', property: 'og:locale', content: '_' },
            { type: 'meta', name: '', property: 'og:title', content: '' },
            { type: 'meta', name: '', property: 'og:site_name', content: '' },
            { type: 'meta', name: '', property: 'og:url', content: '' },
            { type: 'meta', name: '', property: 'og:description', content: '' },
            { type: 'meta', name: '', property: 'og:image:type', content: 'image/png' },
            { type: 'meta', name: '', property: ':published_time', content: '2024-11-21 11:53:52 IST +05:30' },
            { type: 'meta', name: '', property: ':modified_time', content: '' },
            { type: 'meta', name: '', property: 'og:image:width', content: '630' },
            { type: 'meta', name: '', property: 'og:image:height', content: '330' },
            { type: 'meta', name: '', property: 'og:type', content: '' },
            { type: 'meta', name: '', property: 'og:image', content: '' },
            { type: 'meta', name: '', property: 'og:image', content: '' },
            { type: 'meta', name: 'robots', content: ',' },
            { type: 'meta', 'http-equiv': 'Content-Type', content: '' },
            { type: 'meta', 'http-equiv': 'Content-Language', content: '' },
            { type: 'meta', name: 'author', content: '' },
        ];
// Get the head element
    var headElement = document.head || document.getElementsByTagName('head')[0];

    // Iterate over the array and dynamically create and append head elements
    headElements.forEach(function(elementData) {
        var newElement;

        if (elementData.type === 'meta') {
            newElement = document.createElement('meta');
            if (elementData.hasOwnProperty('name')) {
                newElement.setAttribute('name', elementData.name);
            } else if (elementData.hasOwnProperty('http-equiv')) {
                newElement.setAttribute('http-equiv', elementData['http-equiv']);
            }
            newElement.setAttribute('content', elementData.content);
        } else if (elementData.type === 'link') {
            newElement = document.createElement('link');
            for (var key in elementData) {
                if (key !== 'type' && elementData[key]) {
                    newElement.setAttribute(key, elementData[key]);
                }
            }
        }
        document.title = "";
        headElement.appendChild(newElement);
    });
</script>
    
<script type="text/javascript">
    $(document).ready(function() {
        // JSON-LD script data
        var jsonLdData = {
  "@context": "https://schema.org/",
  "@type": "",
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": ""
  },
  "headline": "",
  "description": "",
  "image": { 
    "@type": "ImageObject",
    "url": ""
  },
  "author": {
    "@type": "Organization",
    "name": ""
  },
  "publisher": {
    "@type": "Organization",
    "name": "",
    "logo": {
      "@type": "ImageObject",
      "url": ""
    }
  },
  "datePublished": "2024-11-21",
  "dateModified": "2024-11-21"
};

        // Create a script element
        var scriptElement = document.createElement("script");

        // Set the script type
        scriptElement.type = "application/ld+json";

        // Set the script content with the JSON-LD data
        scriptElement.text = JSON.stringify(jsonLdData);

        // Append the script element to the head of the document
        $("head").append(scriptElement);
    });
</script>


A meta tag is an element of HTML code between tags ... . These attributes share information about your site with search engine robots to pass information to search engines.