Sortable ID Generator and Decoder
Create time-ordered or random identifiers in bulk, or paste ids from logs and databases to see their format, version and creation time.
ブラウザ内で動作します。ファイルは端末の外に出ません。 確認方法を見る
…
使い方
- 1Choose a task
Generate new ids or decode existing ones.
- 2Pick the format
UUID v7, ULID, KSUID, Snowflake and more.
- 3Set the options
Count, case, length, epoch or salt.
- 4Run it
Ids appear instantly.
- 5Read the decoded fields
Time, version, worker and sequence.
- 6Download
Save the list or the decoded CSV.
このツールについて
Database keys, request ids and file names need identifiers that are unique without a central counter. Random UUID v4 values do the job but scatter new rows across a database index, which slows inserts on large tables. Newer formats put a timestamp first so ids sort by creation time: UUID version 7 from RFC 9562 (2024), ULID, KSUID, Twitter-style Snowflake ids and MongoDB ObjectIds. This tool generates all of them, plus CUID2, NanoID and Hashids, in batches of up to 10,000, using the browser's cryptographic random generator. It also works in reverse. Paste ids copied from logs, URLs or database rows and it recognises each format, reports the UUID version and variant, and decodes the creation time, the worker and sequence fields of a Snowflake, or the counter in an ObjectId. That makes it a quick way to answer questions such as when a record was created or which service issued an id.
Which format to choose
- UUID v7: the best default for new systems. Standard 128-bit UUID column, sorts by time, 74 random bits. - UUID v4: fully random. Use when ids must not reveal when they were made. - ULID: 26 characters in Crockford Base32, case-insensitive and URL-safe, sorts as text. - KSUID: 27 Base62 characters with a seconds timestamp and 128 random bits. - Snowflake: a 64-bit integer that fits a BIGINT column; needs a unique worker id per generator. - CUID2 and NanoID: short random strings for URLs and client-side ids; they contain no readable timestamp. - Hashids: turns database integers into short, reversible strings for public URLs.
Decoding
UUID versions 1, 6 and 7 contain a timestamp; versions 3, 4 and 5 do not. ULID, KSUID and ObjectId always carry one. A Snowflake's time depends on its epoch: X (Twitter) counts from 4 November 2010 and Discord from 1 January 2015, so pick the right one before reading the date.
Privacy of time-ordered ids
Anyone who sees a v7, ULID or Snowflake id can read when it was created and estimate how many records you make per day. If that matters, keep a random id for public use and a sortable one internally.
Limits
Generation runs in this browser tab, so ids made here are unique by randomness, not by coordination with your servers. For Snowflake ids in production, each generator process must have its own worker and process numbers. Hashids are an obfuscation, not encryption.
計算例
Decoding 6ba7b810-9dad-11d1-80b4-00c04fd430c8 shows a version 1 UUID created on 4 February 1998 at 22:13:53 UTC with clock sequence 180 and node 00:c0:4f:d4:30:c8, while the Discord id 175928847299117063 decodes to 30 April 2016 at 11:18:25 UTC, worker 1, sequence 7.
ポイント
- カテゴリ: 開発・データ
- ブラウザ内で動作し、登録もアップロードも不要です。
- 入力した情報は端末内にとどまります。
- 英語で利用できます。
- 内容の最終確認日:
- 公式情報源: RFC 9562 Universally Unique IDentifiers (UUIDs)
よくある質問
Should I use UUID v7 or ULID?
Use UUID v7 if your database has a UUID type; use ULID when you want a shorter case-insensitive text form.
Can a UUID v4 be decoded?
Only its version and variant. The other 122 bits are random.
Are these ids secure tokens?
Random ids are hard to guess, but use a dedicated token generator for passwords, sessions or reset links.
Why does my Snowflake date look wrong?
Each service uses its own epoch. Choose X (Twitter), Discord or Unix to match the source.
How many ids can I make at once?
Up to 10,000 per click, downloadable as a text file.
Is anything uploaded?
No. Ids are generated and decoded in your browser.
