FAQ // All answers

How do I convert a CSV back to an XML sitemap?

Convert a CSV back to an XML sitemap by wrapping each URL in <url><loc>…</loc></url> tags inside a <urlset xmlns="http://www.sitemaps.org/schemas/sitemap-0.9"> root. If your CSV has lastmod, changefreq or priority columns, add them as child tags inside each <url>. Save the file as UTF-8 with .xml extension and place it at the root of your domain. The xmlsitemapmaker.com converter accepts CSV input on the Paste tab — pick 'Clean XML' as the export format and you get a valid sitemap.xml ready to submit to Google Search Console. The opposite direction (CSV → XML) is the common workflow after pruning a sitemap for noindex / redirected / 404 URLs.

RELATED

Keep reading.