Skip to content
BEAD

ULID Generator

Generate Universally Unique Lexicographically Sortable Identifiers. Decodes timestamps too.

01KTSBHVP57TMBQ6H602WEEJD9
01KTSBHVP5JJ2GCCKSZZV2NDB6
01KTSBHVP5Z9DWJ0S9PHHFSSRX
01KTSBHVP5G5A3A69Z4DFR26H6
01KTSBHVP5V9H2CY2H6FG7V7F0
Decode a ULID's timestamp
</>Use this tool programmaticallycurl · JavaScript · MCP

Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.

curl
curl https://api.b-e-a-d.com/tools/ulid-generator/run \
  -H "Content-Type: application/json" \
  -d '{
  "action": "generate",
  "count": 1
}'
JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/ulid-generator/run", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
  "action": "generate",
  "count": 1
}),
});
const data = await res.json();
console.log(data.result);
MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
  "mcpServers": {
    "bead": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
    }
  }
}

# Then ask Claude to call:
mcp__bead__bead_ulid_generator

Full reference: developer docs · OpenAPI spec

What is a ULID?

A Universally Unique Lexicographically Sortable Identifier. 128 bits total: a 48-bit Unix-ms timestamp followed by 80 bits of randomness, encoded as 26 characters of Crockford Base32.

Why use one?

  • Sorts in insertion order — friendlier than UUIDv4 for database indices.
  • Case-insensitive, URL-safe, no separators.
  • Monotonic within a single millisecond when you use the monotonic mode.

You might also like