Random value generator. Use in a browser or with curl.
| Endpoint | Description | Options |
|---|---|---|
| /uuid | Random UUID v4 | ?n=5 |
| /uuidv7 | Time-sortable UUID v7 | ?n=5 |
| /ulid | Universally Unique Lexicographically Sortable Identifier | ?n=5 |
# Random UUID v4 curl https://rand.mirio.dev/uuid # Time-sortable UUID v7 curl https://rand.mirio.dev/uuidv7 # ULID curl https://rand.mirio.dev/ulid # Generate 10 at once curl https://rand.mirio.dev/uuid?n=10 # Get as JSON curl https://rand.mirio.dev/ulid?format=json
# Generate and copy to clipboard curl -s https://rand.mirio.dev/uuid | pbcopy # Use as a variable ID=$(curl -s https://rand.mirio.dev/ulid) echo "Created: $ID"
// Single value as text
const uuid = await fetch("https://rand.mirio.dev/uuid").then(r => r.text());
// Batch as JSON array
const ids = await fetch("https://rand.mirio.dev/ulid?n=5&format=json")
.then(r => r.json());