✨ 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.
How it works
- Length is limited to 4–64 characters and the batch size to 50 IDs.
- Each character is chosen with crypto.getRandomValues so the source is the browser CSPRNG.
- 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.
Related tools
More Generators tools →Lorem Ipsum Generator
Generate lorem ipsum placeholder text by paragraphs, sentences or words. Classic start option, HTML paragraph wrapping, copy in one click. Free.
Background Remover
Remove the background from a photo and save a transparent PNG — free, private, no sign-up.
QR Code Generator
Make QR codes for links, Wi-Fi, UPI, WhatsApp and more — free PNG and SVG downloads.
Passport Photo Maker
Crop passport, visa and exam-form photos to size, limit the file size in KB and print a copy sheet — free.