<?xml version="1.0" encoding="UTF-8"?>
<!--
  Sitemap for JSON Validator & Formatter.

  BEFORE YOU SUBMIT THIS TO GOOGLE:
  Point the site at your real domain with one command, which rewrites this file, the
  canonical tags, the Open Graph URLs, the JSON-LD and robots.txt together:

      node scripts/set-domain.mjs https://perfectjson.com

  Google ignores a sitemap whose loc host does not match the pages' canonical tags, so
  these must always change together. The xmlns and schemaLocation URLs below are
  identifiers, not links: leave them exactly as they are.

  Only pages that exist and are indexable are listed. /404.html is deliberately excluded
  because it is marked noindex; listing URLs that do not exist causes "Submitted URL not
  found (404)" errors in Search Console and wastes crawl budget.
-->
<urlset
  xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
  xmlns:image="http://www.google.com/schemas/sitemap-image/1.1"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
                      http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd
                      http://www.google.com/schemas/sitemap-image/1.1
                      http://www.google.com/schemas/sitemap-image/1.1/sitemap-image.xsd">

  <!-- The tool itself: the page to rank for "json validator" / "json formatter". -->
  <url>
    <loc>https://perfectjson.com/</loc>
    <lastmod>2026-07-14</lastmod>
    <changefreq>weekly</changefreq>
    <priority>1.0</priority>
    <image:image>
      <image:loc>https://perfectjson.com/og.png</image:loc>
      <image:title>JSON Validator &amp; Formatter</image:title>
      <image:caption>Free online JSON validator, formatter, editor and diff tool that runs entirely in your browser.</image:caption>
    </image:image>
  </url>

  <!-- Long-form guide: the page most likely to earn links and FAQ rich results. -->
  <url>
    <loc>https://perfectjson.com/learn/</loc>
    <lastmod>2026-07-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
    <image:image>
      <image:loc>https://perfectjson.com/og.png</image:loc>
      <image:title>Learn JSON: syntax, validation and common errors</image:title>
      <image:caption>A guide to JSON syntax, the six data types, RFC 8259 vs RFC 7159 vs RFC 4627 vs ECMA-404, number precision, and common JSON errors with fixes.</image:caption>
    </image:image>
  </url>

  <!-- Release history: changes most often. -->
  <url>
    <loc>https://perfectjson.com/changelog/</loc>
    <lastmod>2026-07-14</lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.6</priority>
  </url>

  <!-- Trust / E-E-A-T page. Rarely changes. -->
  <url>
    <loc>https://perfectjson.com/about/</loc>
    <lastmod>2026-07-14</lastmod>
    <changefreq>yearly</changefreq>
    <priority>0.5</priority>
  </url>

</urlset>
