UUID inspector

Check a UUID and read its version, variant and, for time-based versions, its timestamp.

Input

The UUID to inspect. Braces, "urn:uuid:" and missing hyphens are accepted.

Result

Fill in the input and press Run.

Your input is processed in memory and then discarded. It is not stored or logged. Even so, don't paste live passwords or keys into any online tool.

Use it from code or an agent

curl -s https://setget.net/v1/tools/uuid-inspect \
  -H 'Content-Type: application/json' \
  -d '{"input":{"text":"017f22e2-79b0-7cc3-98c4-dc0c0c07398f"}}'
import json, urllib.request

body = {'input': {'text': '017f22e2-79b0-7cc3-98c4-dc0c0c07398f'}}
request = urllib.request.Request("https://setget.net/v1/tools/uuid-inspect", json.dumps(body).encode(),
                                 {"Content-Type": "application/json"})
print(json.load(urllib.request.urlopen(request))["result"])
const response = await fetch("https://setget.net/v1/tools/uuid-inspect", {
  method: "POST",
  headers: {"Content-Type": "application/json"},
  body: JSON.stringify({"input":{"text":"017f22e2-79b0-7cc3-98c4-dc0c0c07398f"}}),
});
console.log((await response.json()).result);
Tool: run_tool
Arguments:
{
  "slug": "uuid-inspect",
  "input": {
    "text": "017f22e2-79b0-7cc3-98c4-dc0c0c07398f"
  }
}
{
  "input": {
    "text": "017f22e2-79b0-7cc3-98c4-dc0c0c07398f"
  }
}

Endpoint: POST /v1/tools/uuid-inspect. Over MCP: run_tool with slug: "uuid-inspect". Machine-readable: input schema, Markdown. Connect an agent.

Inputs

NameTypeRequiredWhat it does
text string yes The UUID to inspect. Braces, "urn:uuid:" and missing hyphens are accepted.

Examples

Input
{
  "text": "017f22e2-79b0-7cc3-98c4-dc0c0c07398f"
}
Result
{
  "valid": true,
  "uuid": "017f22e2-79b0-7cc3-98c4-dc0c0c07398f",
  "version": 7,
  "type": "Unix time-ordered",
  "variant": "RFC 9562",
  "timestamp": "2022-02-22T19:22:22Z",
  "error": null
}

Version 1, with braces

Input
{
  "text": "{C232AB00-9414-11EC-B3C8-9F6BDECED846}"
}
Result
{
  "valid": true,
  "uuid": "c232ab00-9414-11ec-b3c8-9f6bdeced846",
  "version": 1,
  "type": "time-based",
  "variant": "RFC 9562",
  "timestamp": "2022-02-22T19:22:22Z",
  "error": null
}

Not a UUID

Input
{
  "text": "not-a-uuid"
}
Result
{
  "valid": false,
  "uuid": null,
  "version": null,
  "type": null,
  "variant": null,
  "timestamp": null,
  "error": "A UUID is 32 hex digits, usually written in five groups: 8-4-4-4-12."
}

Questions

Which UUIDs contain a time?
Versions 1, 6 and 7. Versions 3, 4, 5 and 8 hold no readable timestamp.
What does the variant mean?
It says which layout the UUID follows. Nearly every UUID today is the RFC 9562 variant (formerly RFC 4122). The version number only has meaning for that variant.