Skip to main content

πŸŒ€ uuidify

A blazing-fast public UUID/ULID Generator API built with Go β€” deployed globally via Cloudflare Workers.

Generate unique identifiers instantly β€” anywhere, anytime. ⚑

Go License: MIT Cloudflare Docker


⚑ Quick Start​

curl https://api.uuidify.io
# β†’ {"uuid":"550e8400-e29b-41d4-a716-446655440000"}

πŸ”§ Parameters​

ParamTypeDefaultDescription
algorithmstringuuidGenerator algorithm (uuid or ulid)
versionstringv4UUID version (v1, v4, or v7)
countint1Number of identifiers to generate (1–1000)
formatstringjsonResponse format: json or text

Defaults: algorithm=uuid, version=v4, count=1, format=json. ULIDs ignore the version parameter and rely on algorithm=ulid.


πŸ“¦ Response Format​

  • count = 1 and UUID algorithm β‡’ {"uuid":"550e..."}
  • count > 1 and UUID algorithm β‡’ {"uuids":["550e...","6ba7..."]}
  • count = 1 and ULID algorithm/version β‡’ {"ulid":"01HX..."}
  • count > 1 and ULID algorithm/version β‡’ {"ulids":["01HX...","01HX..."]}

format=text still streams newline-delimited identifiers.


🧠 Examples​

# Generate a single UUID (v4, default)
curl https://api.uuidify.io
# β†’ {"uuid":"550e8400-e29b-41d4-a716-446655440000"}

# Generate a UUID v1 (algorithm=uuid, version=v1)
curl "https://api.uuidify.io?algorithm=uuid&version=v1"
# β†’ {"uuid":"6ba7b810-9dad-11d1-80b4-00c04fd430c8"}

# Generate multiple UUIDs (v7) in JSON
curl "https://api.uuidify.io?algorithm=uuid&version=v7&count=5"
# β†’ {"uuids":["01234567-89ab-7def-0123-456789abcdef", ...]}

# Generate UUIDs in newline-delimited text
curl "https://api.uuidify.io?format=text&count=3"
# β†’ 550e8400-e29b-41d4-a716-446655440000
# β†’ 6ba7b810-9dad-11d1-80b4-00c04fd430c8
# β†’ 01234567-89ab-7def-0123-456789abcdef

---

# Generate a single ULID (use algorithm=ulid)
curl "https://api.uuidify.io?algorithm=ulid"
# β†’ {"ulid":"01HX7D9PMV4NQVP3J8B1R6R6FZ"}

# Generate multiple ULIDs (count<=1000)
curl "https://api.uuidify.io?algorithm=ulid&count=3"
# β†’ {"ulids":["01HX7D9PMV4NQVP3J8B1R6R6FZ","01HX7D9PMV4NQVP3J8B1R6R6GA","01HX7D9PMV4NQVP3J8B1R6R6HB"]}

# Generate ULIDs in text format
curl "https://api.uuidify.io?algorithm=ulid&format=text&count=2"
# β†’ 01HX7D9PMV4NQVP3J8B1R6R6FZ
# β†’ 01HX7D9PMV4NQVP3J8B1R6R6GA

🧩 Local Development​

# Run Go backend
make dev
# Visit β†’ http://localhost:8080

# Test UUID generation
curl http://localhost:8080/
# β†’ {"uuid":"550e8400-e29b-41d4-a716-446655440000"}

# Test ULID generation
curl "http://localhost:8080/?version=ulid&count=2"
# β†’ {"ulids":["01K9N48W4SVAN58GRTTVX2FF5J","01K9N48W4SVAN58GRTTX2CZ8N4"]}

# Test worker locally
make worker-dev
# Visit β†’ http://localhost:8787

# Run tests
make test

# Coverage report
make test-coverage

# Run test script
./test.sh

For detailed testing and deployment guidance, see Testing & Deployment.


🐳 Docker​

docker build -t uuidify:latest .
docker run -p 8080:8080 uuidify:latest

βš™οΈ Makefile Commands​

CommandDescription
make devRun locally with Go
make buildBuild the binary
make dockerBuild Docker image
make lintRun static analysis
make testRun all tests

πŸš€ Deployment​

Cloudflare Workers Deploy​

# Wrangler login (first time)
wrangler login

# Test worker locally
make worker-dev

# Deploy to production
make worker-deploy

Deployed via Cloudflare Workers with automatic builds from GitHub β†’ main branch.

For detailed deployment info, see Testing & Deployment.


🧭 Roadmap​

  • Deploy via Cloudflare Workers (api.uuidify.io)
  • Add public uptime dashboard
  • Publish SDKs (Go, Node.js, Python)
  • Generate OpenAPI Spec + Postman Collection

🧰 Contributing​

We welcome PRs! ❀️
Follow Conventional Commits and open an issue first for new features.


πŸ“ License​

MIT © 2025 İlker Eroğlu