π uuidify
A blazing-fast public UUID/ULID Generator API built with Go β deployed globally via Cloudflare Workers.
Generate unique identifiers instantly β anywhere, anytime. β‘
β‘ Quick Startβ
curl https://api.uuidify.io
# β {"uuid":"550e8400-e29b-41d4-a716-446655440000"}
π§ Parametersβ
| Param | Type | Default | Description |
|---|---|---|---|
algorithm | string | uuid | Generator algorithm (uuid or ulid) |
version | string | v4 | UUID version (v1, v4, or v7) |
count | int | 1 | Number of identifiers to generate (1β1000) |
format | string | json | Response format: json or text |
Defaults:
algorithm=uuid,version=v4,count=1,format=json. ULIDs ignore theversionparameter and rely onalgorithm=ulid.
π¦ Response Formatβ
count = 1and UUID algorithm β{"uuid":"550e..."}count > 1and UUID algorithm β{"uuids":["550e...","6ba7..."]}count = 1and ULID algorithm/version β{"ulid":"01HX..."}count > 1and ULID algorithm/version β{"ulids":["01HX...","01HX..."]}
format=textstill 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β
| Command | Description |
|---|---|
make dev | Run locally with Go |
make build | Build the binary |
make docker | Build Docker image |
make lint | Run static analysis |
make test | Run 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.
- Worker: uuidify
- Custom Domain: api.uuidify.io
- Zone:
uuidify.io
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