Generate UUID v4 (random), UUID v7 (timestamp-sortable), or NanoID with custom length and alphabet. Bulk-generate up to 1000 IDs at once. Choose uppercase or lowercase, with or without hyphens.
LevnTools UUID / NanoID Generator lets you format, validate, and transform your code directly in your browser. Everything runs locally in your browser — your code and data never leave your device. Unlike cloud-only alternatives that require uploads and accounts, this tool is completely free with no usage limits or watermarks. It is designed for developers debugging API responses, DevOps engineers working with configuration files, students learning data formats — anyone who needs a fast, reliable developer tool without the overhead of installing software. Just open the page and start working.
UUID / NanoID Generator is used by a wide range of people. Explore how different groups use this tool:
Format, beautify, minify, and validate JSON with syntax highlighting.
Encode and decode Base64 with UTF-8 support and file-to-data-URI.
Encode, decode, and parse URLs with editable query parameters.
Convert text to camelCase, snake_case, kebab-case, and 7 more.
Convert between metric and imperial length units.
UUID v4 is purely random (122 random bits). UUID v7 embeds a Unix millisecond timestamp in the first 48 bits followed by random bits, making them time-sortable while still being unique. UUID v7 is preferred for database primary keys.
NanoID is a compact, URL-friendly unique ID generator. The default alphabet uses 64 characters (A-Z, a-z, 0-9, _ , -) and the default length is 21 characters, providing 126 bits of entropy — similar to UUID v4 but shorter.
Yes. Use the count slider to generate between 1 and 1000 IDs at once. Each ID is shown on its own line with a copy button. Use "Copy All" to copy the entire list separated by newlines.
Yes. UUID v4 uses crypto.randomUUID(). UUID v7 and NanoID use crypto.getRandomValues(). Both are cryptographically secure pseudo-random number generators provided by the Web Crypto API.
Yes. You can change both the length (4-128 characters) and the alphabet (any set of characters). For example, use only digits for numeric IDs, or only lowercase hex characters for hex-style IDs.