Loading...
Loading...
Generate UUIDs with format options and matching Python code. Export as JSON, CSV, SQL, or Python list.
400">import uuid # Generate 10 random UUIDs (version 4) uuids = [300">str(uuid.uuid4()) 400">for _ 400">in 300">range(10)] 400">for u 400">in uuids: 300">print(u)
UUID v4 has 122 random bits (2122 possible values = 5.3 × 10³⁶). By the birthday paradox, you'd need to generate 2.71 × 10¹⁸ UUIDs for a 50% chance of one collision. If you generated 1 billion UUIDs per second, it would take ~86 years to reach that threshold.