Skip to content

Generate an IndexNow request

Turn one validated host and URL list into copy-ready JSON, curl, or JavaScript.

Generation runs entirely in your browser. Keys, hosts, URLs, and snippets are never uploaded.

Request inputs

Generated request

Review the values before running the request.

Enter a host, key, and valid single-host URL list to generate code.

When to use this tool

Use the generator when a CMS, deploy hook, or backend needs a protocol-correct request without hand-writing JSON.

  • Building a deploy hook

    Create a request that can be moved into CI or server-only code.

  • Debugging a 400 response

    Compare your outgoing payload with a known-good shape.

  • Testing another language

    Switch between curl and JavaScript without changing the payload.

How to generate a request

The tool validates host boundaries before it produces executable code.

  1. 1

    Enter the exact host

    Use the hostname shared by every URL, including the www or subdomain prefix.

  2. 2

    Add the key and location

    Leave the location empty to use the standard root path.

  3. 3

    Paste the URL list

    Fix invalid or mixed-host entries shown by the validator.

  4. 4

    Copy the required format

    Keep keys in server-side secrets when moving the snippet into production.

What usually goes wrong

Running secret-bearing code in the browser

Production automation belongs in trusted server-side code.

Mixing hostnames

www.example.com and example.com require separate requests.

Logging the key

Redact the key and private URLs from application and CI logs.

Frequently asked questions

Does this send the request?
No. It only generates code locally.
Which endpoint is used?
Generated snippets use the shared api.indexnow.org endpoint.
Can one request contain multiple hosts?
No. Generate one request for each exact hostname.