if (!empty($adminPanelSettings['facebook_pixel_id'])) { echo "\n"; echo "\n"; } else { echo getFacebookPixelCode(); } // Custom head code from admin panel if (!empty($adminPanelSettings['custom_head_code'])) { echo $adminPanelSettings['custom_head_code']; } ?>

Free Schema Markup Generator

Generate structured data markup to enhance your search results with rich snippets. Create JSON-LD, microdata, and RDFa markup for better SEO performance.

Structured Data
Rich Snippets
Schema.org Compliant

Schema Markup Generator

Select a schema type and fill in the details to generate structured data markup

How Schema Markup Improves SEO and Search Result Appearance

Schema markup is structured data that helps search engines understand your content better, leading to enhanced search results with rich snippets. Our generator creates compliant markup that can improve click-through rates and search visibility.

Benefits of Schema Markup

  • Rich Snippets: Enhanced search results with additional information like ratings, prices, and dates
  • Better CTR: Rich snippets typically have higher click-through rates than regular results
  • Voice Search: Structured data helps with voice search optimization and featured snippets
  • Knowledge Graph: Helps search engines include your content in knowledge panels

Use our schema markup generator to create proper structured data for your content and improve your search engine visibility with rich, informative search results.

`; } return JSON.stringify(schema, null, 2); } function displayMarkup(markup, format) { document.getElementById('generatedMarkup').textContent = markup; resultsSection.style.display = 'block'; // Scroll to results resultsSection.scrollIntoView({ behavior: 'smooth' }); } window.clearAll = function() { schemaType.value = ''; schemaForm.style.display = 'none'; markupOptions.style.display = 'none'; generateSection.style.display = 'none'; resultsSection.style.display = 'none'; currentFormData = {}; }; window.copyMarkup = function() { const markup = document.getElementById('generatedMarkup').textContent; navigator.clipboard.writeText(markup).then(() => { const btn = document.querySelector('.copy-btn'); const originalHTML = btn.innerHTML; btn.innerHTML = ''; setTimeout(() => { btn.innerHTML = originalHTML; }, 2000); }); }; window.downloadMarkup = function() { const markup = document.getElementById('generatedMarkup').textContent; const blob = new Blob([markup], { type: 'text/plain' }); const url = window.URL.createObjectURL(blob); const a = document.createElement('a'); a.href = url; a.download = `schema-markup-${schemaType.value}.txt`; a.click(); window.URL.revokeObjectURL(url); }; window.validateMarkup = function() { window.open('https://validator.schema.org/', '_blank'); }; window.previewRichSnippet = function() { window.open('https://search.google.com/test/rich-results', '_blank'); }; window.generateAnother = function() { schemaType.value = ''; schemaForm.style.display = 'none'; resultsSection.style.display = 'none'; schemaType.focus(); }; });