News Sitemap Generator
Get your articles indexed in Google News and Top Stories with proper news sitemaps
Add URLs
No URLs Added
Add URLs using the form above to generate your sitemap.
Generated Sitemap
<!-- Add URLs to generate your sitemap -->
Other Sitemap Types
About News Sitemap Generator
Google News sitemaps are a specialized sitemap format that helps news publishers and bloggers get their articles discovered and indexed rapidly for Google News and Top Stories in search results. While standard XML sitemaps can take hours or days for Google to process, news sitemaps signal time-sensitive content that Google crawls within minutes — critical for breaking news and trending topics where freshness determines visibility.
Appearing in Google News and Top Stories is one of the highest-visibility placements in Google Search. Top Stories appears at the top of search results for news-related queries, above standard organic results, with featured image and publication timestamp prominently displayed. For news publishers, blogs covering current events, and content sites targeting trending topics, Top Stories inclusion can drive massive traffic spikes.
News sitemaps have strict requirements that differ significantly from standard sitemaps. Articles must be published within the last 48 hours to be included. The sitemap must use Google's news extension namespace. Each article entry requires publication name, language, and publication date metadata. Understanding and correctly implementing these requirements is essential for eligibility in Google News and Top Stories features.
Google News Sitemap Requirements
News sitemaps are governed by Google's specific requirements for Google News Publisher Center and are subject to stricter validation than standard sitemaps. The most important constraint is the 48-hour freshness window — news sitemaps should only include articles published within the last two days. Older articles should be in your standard XML sitemap, not your news sitemap.
The news sitemap uses a separate Google namespace (xmlns:news) and requires mandatory tags that standard sitemaps don't — particularly news:publication (containing the publication's name and language) and news:publication_date (the article's publication timestamp in ISO 8601 format). These fields feed directly into Google News metadata and affect how articles are displayed in search results.
To appear in Google News and Top Stories, your site must also meet Google News content policies beyond just technical sitemap requirements. Your site should cover current events, have original reporting or commentary, update regularly, and have clear authorship and contact information. Google News is increasingly selective about which publishers appear, making technical correctness a necessary but not sufficient condition.
Key Considerations
48-Hour Freshness Requirement
News sitemaps should only include articles published within the last 48 hours. Google's news crawler checks news sitemaps frequently looking for fresh content. Articles older than 48 hours should be removed from the news sitemap and included in your standard sitemap instead. Keeping old articles in your news sitemap wastes crawl budget and may signal poor sitemap maintenance.
Publication Metadata
Every article in a news sitemap requires a news:publication block containing the publication's name (exactly as registered in Google News Publisher Center) and language (ISO 639 language code). Inconsistencies between your sitemap publication name and your Publisher Center registration can affect your News eligibility.
Publication Date Precision
The news:publication_date must include both date and time in ISO 8601 format with timezone offset (e.g., 2026-02-28T14:30:00+00:00). Publication time matters for News ranking — earlier publication timestamps have an advantage in breaking news situations. Never backdate articles or use inaccurate timestamps.
Title Tag Accuracy
The news:title tag should match your article's actual headline exactly. Google uses this for display in News and Top Stories results. Misleading titles that don't match article content violate Google News policies and can result in publisher suspension. Use your actual article title, not an SEO-optimized variant.
Common News Sitemap Issues
Format Errors
- •Missing news XML namespace declaration causing sitemap rejection
- •Incorrect publication_date format — must be full ISO 8601 with timezone
- •Publication name not matching Google News Publisher Center registration
- •Including articles older than 48 hours in the news sitemap
Content Policy Issues
- •Site not meeting Google News content policies for original reporting
- •Missing author information on articles — required for News eligibility
- •Paywalled content without free article access for crawlers
- •Thin or aggregated content that doesn't meet News quality standards
Technical Setup
- •News sitemap not separate from standard sitemap — Google requires separation
- •No automatic expiry of articles older than 48 hours from news sitemap
- •News sitemap not submitted separately in Google Search Console
- •Publication language code incorrect or missing
Implementation Guide
Correct News Sitemap XML Format
A properly formatted Google News sitemap with all required fields:
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
<url>
<loc>https://www.example.com/guides/breaking-news-article</loc>
<news:news>
<!-- Publication name must match Google News Publisher Center exactly -->
<news:publication>
<news:name>Your Publication Name</news:name>
<news:language>en</news:language>
</news:publication>
<!-- Full ISO 8601 datetime with timezone — article published time -->
<news:publication_date>2026-02-28T14:30:00+00:00</news:publication_date>
<!-- Exact article headline -->
<news:title>Your Exact Article Headline Here</news:title>
</news:news>
</url>
</urlset>Dynamic News Sitemap in Next.js
Generate a news sitemap that automatically includes only articles from the last 48 hours:
// app/news-sitemap.xml/route.ts
import { getAllPosts } from "@/lib/posts";
export async function GET() {
const allPosts = await getAllPosts();
// Only include articles published in last 48 hours
const cutoff = new Date(Date.now() - 48 * 60 * 60 * 1000);
const recentPosts = allPosts.filter(
(post) => new Date(post.publishedAt) > cutoff
);
const xml = `<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:news="http://www.google.com/schemas/sitemap-news/0.9">
${recentPosts.map((post) => ` <url>
<loc>https://example.com/guides/${post.slug}</loc>
<news:news>
<news:publication>
<news:name>Your Publication Name</news:name>
<news:language>en</news:language>
</news:publication>
<news:publication_date>${new Date(post.publishedAt).toISOString()}</news:publication_date>
<news:title>${post.title.replace(/&/g, "&").replace(/</g, "<")}</news:title>
</news:news>
</url>`).join("\n")}
</urlset>`;
return new Response(xml, {
headers: {
"Content-Type": "application/xml",
// Revalidate frequently — news content is time-sensitive
"Cache-Control": "public, max-age=300, stale-while-revalidate=600",
},
});
}Submit News Sitemap to Google Search Console
Submit your news sitemap separately from your standard sitemap in GSC:
// Steps to submit news sitemap in Google Search Console:
// 1. Go to Google Search Console → Sitemaps
// 2. Enter your news sitemap URL: https://example.com/news-sitemap.xml
// 3. Click Submit
// Also reference in robots.txt:
// Sitemap: https://example.com/sitemap.xml
// Sitemap: https://example.com/news-sitemap.xml
// For Next.js, add to robots.ts:
export default function robots() {
return {
rules: { userAgent: "*", allow: "/" },
sitemap: [
"https://example.com/sitemap.xml",
"https://example.com/news-sitemap.xml", // Separate news sitemap
],
};
}Common Use Cases
- News publishers wanting articles in Google News Top Stories
- Blogs covering current events, tech news, and trending topics
- Content sites publishing time-sensitive guides and announcements
- Company blogs announcing product launches and updates
- Industry publications targeting news-related search queries
Pro Tip
Keep your news sitemap lean and fresh — ideally under 1,000 URLs, updated every 15-30 minutes for active news sites. Google's news crawler visits news sitemaps very frequently. A fast-loading, always-current news sitemap signals an active, high-quality publisher and maximizes your chances of rapid indexing for breaking content.