# XML sitemap generator

> Paste your page URLs and get a valid sitemap.xml with lastmod, changefreq and priority. Duplicates removed, bad lines reported. Free.

Free tool by Orkosi. Page: https://orkosi.com/tools/sitemap-generator

A sitemap tells search engines which pages exist. Paste the list, one address per line, and download a file ready to submit to Google Search Console.

1. Paste one URL per line (up to 2,000).
2. Choose whether to add the date, a change frequency and a priority.
3. Press Generate, download sitemap.xml and upload it to your site's root.

## Input

| Field | Type | Required | What it is |
| --- | --- | --- | --- |
| `urls` | text | yes | URLs (one per line). |
| `changefreq` | "none" \| "daily" \| "weekly" \| "monthly" \| "yearly" | no | Change frequency. Default: "none". |
| `priority` | number | no | Priority. Optional, 0.0 to 1.0. |
| `include_lastmod` | true \| false | no | Add today's date as lastmod. Default: true. |

## Example

Input:

```json
{
  "urls": "https://example.com/\nhttps://example.com/pricing\nhttps://example.com/blog/launch\nexample.com/about"
}
```

Result:

```json
{
  "xml": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url>\n    <loc>https://example.com/</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>https://example.com/pricing</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>https://example.com/blog/launch</loc>\n    <lastmod>2026-11-25</lastmod>\n  </url>\n  <url>\n    <loc>http…",
  "url_count": 4,
  "skipped": 0,
  "skipped_lines": []
}
```

## Run it

It needs a free Orkosi account, nothing else. No credits are used.

- **A person**: open the page, enter an e-mail once, use the tool.
- **Claude or ChatGPT**: add the Orkosi connector `https://orkosi.com/api/v1/public/mcp` and sign in, or create the free account on the sign-in page. Then call `orkosi_run_free_tool` with `{ "tool": "sitemap-generator", "input": { … } }`.
- **Any agent or program that can make an HTTP request**:

  1. Once, create the account: `POST https://orkosi.com/api/v1/public/signup` with `{ "name": "…", "email": "…", "terms_accepted": true }` and no key. Ask the person for the e-mail and their agreement to the terms first. The answer carries `data.api_key`, shown once.
  2. Run the tool:

```bash
curl -X POST https://orkosi.com/api/v1/public/tools/sitemap-generator/run \
  -H "Authorization: Bearer $ORKOSI_API_KEY" -H "Content-Type: application/json" \
  -d '{"input":{"urls":"https://example.com/\nhttps://example.com/pricing\nhttps://example.com/blog/launch\nexample.com/about"}}'
```

The answer is `{ "data": { "tool": "…", "result": { … } } }`. A call without a key is answered 401 with the signup steps as data.

## Questions

**Do changefreq and priority matter?**

Google ignores both; Bing reads them as hints. The date of the last change (lastmod) is the one both use, when it is accurate.

**How do I submit the sitemap?**

Upload it as /sitemap.xml, add the line Sitemap: https://example.com/sitemap.xml to robots.txt and submit the address in Search Console.

**How many URLs can a sitemap hold?**

The standard allows 50,000 per file. This tool makes files of up to 2,000; larger sites should generate theirs from the database.

All free tools: https://orkosi.com/tools.md
