UUID Generator
TrendingGenerate universally unique identifiers (UUIDs) in multiple versions. Perfect for database keys, session IDs, and distributed system identifiers. Supports bulk generation with one click.
API Reference
Access this tool programmatically via the NQ Forge REST API.
GET /api/v1/generate/uuidcurl "https://nqforge.com/api/v1/generate/uuid?version=v4&count=5"
const res = await fetch('https://nqforge.com/api/v1/generate/uuid?version=v4&count=5', {
headers: { 'X-API-Key': 'your_api_key' }
});
const data = await res.json();
console.log(data.uuids); // ['550e8400-...', ...]import requests
response = requests.get(
'https://nqforge.com/api/v1/generate/uuid',
params={'version': 'v4', 'count': 5},
headers={'X-API-Key': 'your_api_key'}
)
print(response.json()['uuids']){
"uuids": [
"550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"
],
"version": "v4",
"count": 2,
"generatedAt": "2024-01-15T10:30:00Z"
}Get your API key
Free tier includes 500 requests/day. No credit card required.
Frequently Asked Questions
What is a UUID?
A UUID (Universally Unique Identifier) is a 128-bit value used to uniquely identify objects in computing systems. They're commonly used as database primary keys, session tokens, and correlation IDs.
Which UUID version should I use?
For most use cases, UUID v4 (random) is recommended. For database keys where sorting performance matters, use UUID v7 which is time-ordered. UUID v1 is based on MAC address and timestamp.
Are generated UUIDs truly unique?
UUID v4 uses cryptographically secure random generation. The probability of collision is astronomically low—you'd need to generate 1 billion UUIDs per second for 86 years to reach a 50% probability of a single collision.
Can I use the UUID Generator via API?
Yes! Use GET /api/v1/generate/uuid to generate UUIDs programmatically. Add ?version=v4&count=10 parameters for bulk generation.