UUID / ULID / Snowflake Generator
Generate UUID v1 / v4 / v7, ULID, NanoID, or Twitter Snowflake IDs — up to 10,000 at once. Cryptographically random, entirely in your browser, download as .txt.
- 100% free
- No signup
- Runs in your browser
Used 18.0K times today
Random — standard choice for most apps
e.g. 550e8400-e29b-41d4-a716-446655440000
How to Use UUID / ULID / Snowflake Generator
- 1
Pick an ID format
UUID v4 (random) is the safe default. UUID v7 is time-ordered — best choice for database primary keys. ULID is sortable and URL-friendly. NanoID is short. Snowflake gives you a Twitter-style numeric ID.
- 2
Set the quantity
Generate 1 to 10,000 at a time. Use the 1 / 10 / 100 / 1000 quick-set buttons or type a custom count.
- 3
Copy or download
Click any row to copy one, "Copy All" for a newline-separated block, or "Download .txt" to save as a text file — handy for seeding databases.
Frequently Asked Questions
Which UUID version should I use for a database primary key?
What is a ULID and when should I choose it over UUID v7?
Are the IDs cryptographically secure?
What is a Snowflake ID?
Can I generate them offline?
Embed This Tool
Add this tool to your website for free. Just copy and paste the code below:
<iframe src="https://utilko.com/embed/uuid-generator/" width="100%" height="500" frameborder="0" title="UUID / ULID / Snowflake Generator"></iframe> About UUID / ULID / Snowflake Generator
The UUID / ULID / Snowflake Generator creates every commonly used unique-identifier format used in modern backends: UUID v1 (timestamp + node), UUID v4 (fully random — the classic default), UUID v7 (time-ordered per RFC 9562 — the recommended default for database primary keys in new projects), ULID (26-char Crockford base32, sortable), NanoID (21-char URL-safe short IDs), and Twitter Snowflake (64-bit numeric IDs).
Generate 1 to 10,000 IDs in a single batch. Copy any single row, copy the entire list, or download as a .txt file ready to pipe into psql, redis-cli, a seed script, or a fixture generator. UUID output supports uppercase and no-hyphen variants for systems that require them.
Everything runs client-side with the Web Crypto API for cryptographic randomness. Nothing is sent to a server, nothing is logged, and the tool works fully offline once loaded — so you can safely generate IDs for production databases, seed data, correlation IDs, session tokens, or API keys without leaking them.
How to choose the right format
- UUID v7 — new database primary keys, sortable audit logs, event IDs. Best default.
- UUID v4 — existing systems already on v4, session tokens, correlation IDs.
- ULID — user-facing IDs in URLs, event stream IDs, shorter alternative to UUID.
- NanoID — short share codes, invite links, "not really an identifier" tokens.
- Snowflake — high-throughput systems where 64-bit numeric IDs fit better than 128-bit UUIDs (BigInt column, JSON-safe as string).
- UUID v1 — required by a legacy system. Otherwise, don't.
More Developer Tools Tools
JSON Formatter
Format, beautify, and validate JSON instantly. Paste raw JSON and get a clean, indented, human-readable output with syntax error detection.
JSON Minifier
Minify and compress JSON by removing whitespace and comments. Reduce JSON payload size instantly for faster API responses and smaller storage footprint.
JSON to CSV Converter
Convert JSON arrays to CSV format instantly. Transform nested JSON data into spreadsheet-ready CSV files with automatic header detection.
JSON to YAML Converter
Convert JSON to YAML format instantly online. Transform JSON config files, API schemas, and data structures into clean, readable YAML syntax.
Base64 Encoder / Decoder
Encode text or decode Base64 strings instantly online. Convert between plain text and Base64 encoding for data URLs, authentication headers, and API tokens.
URL Encoder / Decoder
Encode or decode URLs and query strings instantly. Convert special characters to percent-encoding and back for safe URL transmission and debugging.
HTML Encoder / Decoder
Encode special characters to HTML entities or decode HTML entities back to plain text. Prevent XSS and display HTML code safely in web pages.
Regex Tester
Test and debug regular expressions in real time. Highlights matches, capture groups, and supports JavaScript regex flags for instant pattern validation.