UUID v1-Style Generator
Generates time-based UUID v1-style identifiers with timestamp components
- 20ef6676-a2e5-14cd-8d24-c1b81e26a071UUID v1
- 20ef6676-a253-1697-b49d-a5080462f474UUID v1
- 20ef6676-a227-1f2e-8503-7fddac70eb67UUID v1
- 20ef6676-a2ee-152a-97b7-c0657fbe4960UUID v1
- 20ef6676-a231-161f-979f-f2fd061160efUUID v1
Generated 5 items
See 3 examples
- Example 1
20ef6676-a2e5-14cd-8d24-c1b81e26a071 20ef6676-a253-1697-b49d-a5080462f474 20ef6676-a227-1f2e-8503-7fddac70eb67 20ef6676-a2ee-152a-97b7-c0657fbe4960 20ef6676-a231-161f-979f-f2fd061160ef
- Example 2
20ef6676-a276-1594-820c-01980b894e4e 20ef6676-a299-17c8-8d09-f30070a8647b 20ef6676-a2a5-105c-a125-6508aacf124f 20ef6676-a218-1d00-829d-fa737d6872d3 20ef6676-a2d6-1266-914b-00bb149ef244
- Example 3
20ef6677-a25c-1848-b0db-44a4f7e78552 20ef6677-a288-113d-bbf8-5560371525a2 20ef6677-a2c1-1ef7-889f-b1686ad8515d 20ef6677-a2cf-1b8a-88a6-263a434cf4c3 20ef6677-a24f-1585-ae34-9860812fb3b2
About this generator
A UUID v1-style generator creates time-based identifiers that embed a high-resolution timestamp alongside random node and clock sequence bytes. That timestamp fingerprint means a batch of IDs sorts chronologically — useful when you need to reconstruct event order in distributed systems, audit logs, or append-only tables without storing a separate created_at column. Unlike UUID v4, which is purely random, v1-style IDs carry implicit ordering you can exploit at query time. Each ID follows the standard 8-4-4-4-12 hex format with the version nibble set to 1 and variant bits correctly placed. The node field uses random bytes rather than a real MAC address, so no hardware identity leaks. Generate up to 50 IDs in one click and paste them straight into a seed script, migration file, or test fixture.
How to use
- Set the count field to the number of UUID v1-style IDs you need, between 1 and 50.
- Click the generate button to produce a fresh batch of time-stamped UUID v1-style identifiers.
- Review the output list and click the copy button to copy all IDs to your clipboard at once.
- Paste the IDs directly into your database seed file, code constants, or configuration as needed.
Use Cases
- •Seeding Cassandra or ScyllaDB tables that use TimeUUID clustering keys for time-series data
- •Generating Kafka message keys that preserve producer-side event ordering across partitions
- •Populating Jest or Pytest fixtures for services that sort or filter records by UUID v1 timestamp
- •Creating audit log entry IDs in an append-only Postgres table where chronological traceability matters
- •Assigning identifiers to distributed transaction spans for chronological reconstruction during incident review
Tips
- →Generate IDs for the same logical batch in one click so their timestamps cluster together and sort as a group.
- →If you need byte-sequential IDs for SQL B-tree indexes, combine these with a UUID v7 generator instead — v1 is better suited for Cassandra-style clustering.
- →Extract the embedded timestamp from a v1 UUID by rearranging the three time fields: time_high (positions 15-18) + time_mid (9-12) + time_low (0-7).
- →When using v1 UUIDs as Kafka keys, records with the same key go to the same partition — pairing time-based keys with a consistent hashing strategy prevents hot partitions.
- →Avoid using these IDs in public URLs or tokens where the creation timestamp would reveal business-sensitive timing information.
FAQ
what is the difference between uuid v1 and uuid v4
UUID v1 encodes the current timestamp into the first three fields, so IDs can be sorted chronologically and the creation time can be extracted. UUID v4 is fully random with no time data, which is better when you want no correlation between IDs. Use v1 when insert order matters; use v4 when unpredictability is the priority.
can uuid v1 reveal when a record was created
Yes — anyone who knows the RFC 4122 spec can extract the embedded timestamp and determine roughly when the ID was generated, down to 100-nanosecond precision. If creation time is sensitive, such as in public-facing user IDs, consider UUID v4 or a ULID instead.
are uuid v1 ids safe to use as primary keys in postgres or mysql
They work, but sequential UUID v1 insertion into a B-tree index can cause page splits because the timestamp bytes are not laid out in ascending byte order. If index fragmentation is a concern, UUID v7 or ULID are byte-sequential alternatives worth considering.
What is the difference between UUID v1 and v4?
UUID v1 is time-based — it encodes a timestamp (and traditionally a node identifier), so the IDs carry creation-time information and are roughly time-ordered. UUID v4 is almost entirely random, carrying no time or origin data. v1 helps with sortability and debugging; v4 maximises unpredictability. The generator produces v1-style IDs, identifiable by the "1" that begins their third group.
You might also like
Popular tools from other categories that share themes with this one.