✨ Random ID Generator — URL-Safe IDs

Create short IDs for filenames, test data or local prototypes. Pick the length and whether to include symbols that stay safe in URLs.

Generators Free · no sign-up Added 2026-10-06
Input
Result

Private by design. This tool runs entirely in your browser — nothing you enter or add is uploaded to any server.

How it works

  1. Length is limited to 4–64 characters and the batch size to 50 IDs.
  2. Each character is chosen with crypto.getRandomValues so the source is the browser CSPRNG.
  3. The URL-safe alphabet avoids characters that need encoding in paths.

Examples

  • Length 21 with the URL-safe alphabet matches the usual NanoID size.
  • Hex mode returns only 0-9 and a-f, useful for short tokens.
  • A count of 5 prints five IDs, one per line.

Frequently asked questions

Are these UUIDs?

No. They are random strings, not RFC 4122 UUIDs. Use the UUID generator when you need that format.

Is this safe for passwords?

The randomness is strong, but this page is for identifiers. Use the password generator for passwords with explicit character rules.