Internet Toolset

Comprehensive Tools for Webmasters, Developers & Site Optimization

News Article Schema Generator

News Article Schema Generator

This is typically the canonical URL for the article (mainEntityOfPage).
Description & Example

Adding @type="NewsArticle" (or Article) structured data can give search engines clearer info about your story's headline, publication date, author, and publisher. In SERPs, your article may be displayed with news-specific features or as a knowledge panel snippet.

Example minimal JSON-LD for a News Article:

{ "@context": "https://schema.org", "@type": "NewsArticle", "headline": "Mars Rover Discovers New Evidence of Water", "datePublished": "2025-04-01T08:00:00Z", "description": "NASA shares groundbreaking news about the Mars rover's latest finds.", "image": "https://example.com/mars.jpg", "author": { "@type": "Person", "name": "John Reporter" }, "publisher": { "@type": "Organization", "name": "Daily Space News", "logo": { "@type": "ImageObject", "url": "https://example.com/dsn-logo.png" } }, "dateModified": "2025-04-01T09:00:00Z", "mainEntityOfPage": "https://example.com/news/mars-water" }

Copy this JSON-LD snippet into a <script type="application/ld+json"> tag on your news page. Ensure the datePublished and dateModified use valid ISO 8601 format (e.g., YYYY-MM-DDTHH:mm:ssZ).