Unix Timestamp Converter
Convert Unix timestamps in seconds, milliseconds, microseconds, or nanoseconds to dates in any time zone, and back.
Runs in your browser. Your input stays on your device.
Generate random version 4 or time-ordered version 7 UUIDs, one or thousands at a time, and inspect any UUID to see its version, variant, and creation time.
Generated UUIDs
Select a UUID to copy it. Use the arrow keys to move through the list.
0 UUIDs
Privacy: This tool runs in your browser. Your input is processed on your device and is never uploaded to a server.
The inspector reading a version 7 UUID from RFC 9562 (uppercase input is fine).
017F22E2-79B0-7CC3-98C4-DC0C0C07398FValid UUID: 017f22e2-79b0-7cc3-98c4-dc0c0c07398f
Version: Version 7 (Unix time ordered)
Variant: RFC 9562
Created (UTC): 2022-02-22T19:22:22.000ZUse v4 when you only need a unique identifier: it is 122 random bits with no information about when it was made. Use v7 for database primary keys: it starts with the creation time in milliseconds, so new rows are inserted in order, which keeps B-tree indexes compact and faster than with random keys. The trade-off is that a v7 UUID reveals roughly when it was created.
Yes. They are generated in your browser with the Web Crypto API (crypto.getRandomValues), the same source of randomness browsers use for encryption keys, never Math.random. A v4 UUID has 122 random bits; you would need to generate about a billion per second for 85 years before the chance of a single duplicate reached 50%.
A v4 UUID is unpredictable, but it is not designed as a secret: it often ends up in URLs, logs, and analytics, where secrets should not be. Use a dedicated token generator for secrets. Never use a v7 UUID as a secret, because its first 48 bits are a readable timestamp.
The nil UUID (all zeros, 00000000-0000-0000-0000-000000000000) and the max UUID (all f) are special values defined by RFC 9562, often used as placeholders such as “no value” or “end of range”. They have no version, and the inspector labels them.
Convert Unix timestamps in seconds, milliseconds, microseconds, or nanoseconds to dates in any time zone, and back.