Generate RFC 4122 Compliant UUIDs (v1-v7), Validate, Analyze & Export
A comprehensive tool for generating, validating, analyzing, and converting Universally Unique Identifiers (UUIDs). Generate single or bulk UUIDs using multiple UUID versions (v1, v3, v4, v5, v6, v7), validate existing UUIDs, analyze their structure, shorten them to URL-friendly IDs, and export in multiple formats.
The UUID Generator & Validator tool provides comprehensive UUID management capabilities including generating UUIDs in multiple versions, validating, analyzing, shortening, batch operations, and exporting in various formats.
Tip: The tool generates UUIDs using cryptographically secure random numbers (for v4) and provides multiple versions for different use cases. Use keyboard shortcuts (Alt+H to toggle) for faster workflow.
The tool supports all RFC 4122 UUID versions. Select the appropriate version based on your use case:
Generated using timestamp and MAC address. Provides ordering but reveals generation time and machine info. Not recommended for privacy-sensitive applications.
Generated using MD5 hash of namespace and name. Deterministic - same inputs always produce the same UUID. Useful for consistent identifiers.
Generated using random numbers. Provides the best balance of uniqueness and privacy. This is the most commonly used version.
Generated using SHA-1 hash of namespace and name. More secure than v3 but still deterministic. Preferred over v3 for new implementations.
Improved version of v1 with better timestamp ordering. Provides time-based ordering while being more friendly for database indexes.
Uses Unix timestamp for generation. Provides excellent database performance due to time-ordered structure. Recommended for new applications.
When using UUID v3 (MD5) or v5 (SHA-1), you need to specify a namespace and name. These are deterministic UUIDs - the same namespace and name always produce the same UUID.
Use Case: Namespace-based UUIDs are perfect for creating consistent identifiers across distributed systems. For example, using the DNS namespace with the name "example.com" will always produce the same UUID.
Customize the output format of generated UUIDs to match your requirements:
Toggle between standard format with hyphens (8-4-4-4-12) or compact format without hyphens (32 characters).
Choose between lowercase (standard) or uppercase (UPPERCASE) output.
Select from standard, braced, or URN formats for different use cases.
The single UUID generator creates one RFC 4122 compliant UUID with a single click. Each generated UUID is guaranteed to be unique across space and time.
550e8400-e29b-41d4-a716-446655440000Note: Each UUID v4 has 122 bits of randomness, providing 2^122 possible unique identifiers—enough to generate billions of UUIDs every second for billions of years without collision.
The bulk UUID generator allows you to generate up to 1000 UUIDs at once, perfect for seeding databases, testing, or batch processing scenarios.
1 - 1000 UUIDsNewline, Comma, Space, TabOptional prefix for orderingDetect duplicates in batchPerformance: Generating 1000 UUIDs takes only milliseconds. The limit of 1000 ensures optimal browser performance while still being useful for most testing and development scenarios.
The UUID validator checks if a given string is a valid UUID according to RFC 4122. It validates the format and reports the UUID version for valid inputs.
550e8400-e29b-41d4-a716-446655440000Invalid Examples: These would fail validation:
not-a-uuid550e8400e29b41d4a71644665544000012345The UUID analyzer provides detailed information about any UUID, including version, variant, timestamp (for time-based UUIDs), and interpretation.
Tip: The analyzer automatically runs on any newly generated UUID, giving you immediate insight into its properties.
Convert standard UUIDs to shorter, URL-friendly Short IDs using Base62 encoding, or generate new Short IDs directly. Perfect for URLs, database keys, or anywhere shorter identifiers are preferred.
550e8400-e29b-41d4-a716-446655440000 → 2EG9MsqLtaGYCZewC9gHW2EG9MsqLtaGYCZewC9gHW → 550e8400-e29b-41d4-a716-446655440000Base62 Encoding: Uses characters 0-9, a-z, A-Z (62 possible characters per position). A 10-character Short ID provides approximately 84 quintillion (62^10) unique identifiers—more than enough for most applications while being significantly shorter than a full UUID.
Process multiple UUIDs at once with import, filter, and convert capabilities. Perfect for cleaning up UUID lists, validating datasets, or batch formatting.
Workflow Tip: Import a list of UUIDs, filter out invalid ones, then convert the remaining UUIDs to your preferred format—all in one session without re-importing.
Export generated UUIDs in multiple formats to integrate seamlessly with your development workflow:
One UUID per line
550e8400-e29b-41d4-a716-446655440000
6ba7b810-9dad-11d1-80b4-00c04fd430c8Array of UUID strings
["550e8400-e29b-41d4-a716-446655440000",
"6ba7b810-9dad-11d1-80b4-00c04fd430c8"]Comma-separated values
id,uuid
1,550e8400-e29b-41d4-a716-446655440000
2,6ba7b810-9dad-11d1-80b4-00c04fd430c8Ready for database import
INSERT INTO uuids (id, uuid) VALUES
(1, '550e8400-e29b-41d4-a716-446655440000');JS variable assignment
const uuids = [
'550e8400-e29b-41d4-a716-446655440000',
'6ba7b810-9dad-11d1-80b4-00c04fd430c8'
];Speed up your workflow with keyboard shortcuts. These work when not focused on input fields.
Note: Shortcuts are disabled when typing in input fields to avoid conflicts. Press Alt+H to toggle the shortcuts panel visibility.
Generate ready-to-use code snippets in multiple programming languages to integrate UUID generation into your applications.
API Endpoint: The tool exposes a REST API at `/api/uuid` that can be used for programmatic UUID generation. Check the code snippet generator for example usage.
Generate unique identifiers for database records, ensuring no collisions across distributed systems.
Create unique IDs for API resources, webhooks, or any system that requires guaranteed unique identifiers.
Generate test data with unique identifiers for unit tests, integration tests, or seeding test databases.
Generate new UUIDs when migrating data from systems that used auto-increment IDs to distributed systems.
Use the UUID Shortener to create shorter, URL-safe identifiers for web applications.
Assign unique IDs across multiple microservices without requiring a central ID generation service.
Understanding the technical specifications of UUIDs helps in making informed decisions about when and how to use them.
| Total Bits | 128 bits |
| Version Bits | 4 bits |
| Variant Bits | 2 bits |
| Random Bits | 122 bits |
| String Length | 36 characters |
With 122 random bits, the probability of generating two identical UUIDs is astronomically low:
That is approximately 1 in 5.3 x 1036
RFC 4122: This tool generates UUIDs that comply with RFC 4122, the official specification for UUIDs. This ensures compatibility with all standard UUID implementations across different platforms and programming languages.