Introduction
I run a site of small browser-only tools. Each one does a single thing, loads no external resources, and sends nothing to a server.
I recently added a UUID generator. Version 4 is a one-liner via crypto.randomUUID(), so there was nothing to build. Version 7 is the interesting one: it is still not in the standard API, and since the site loads no third-party scripts by policy, I had to write it myself.
UUID v7 puts a Unix millisecond timestamp in the leading 48 bits and fills the rest with randomness. That means sorting the strings lexicographically sorts them by creation time, which is the whole point of the version.
The layout






