---
title: "UUID Generator (v4 and v7) | ToolSugar"
description: "Generate random v4 or time-ordered v7 UUIDs, one or up to 1000 at a time, and copy them. Made in your browser with secure randomness."
canonical: https://toolsugar.com/tools/uuid-generator
image: https://toolsugar.com/og.png
---

# UUID Generator

This UUID generator makes version 4 (random) and version 7 (time-ordered) identifiers, from one up to 1000 at a time. It uses your browser's cryptographically secure random source and nothing is uploaded. Version 7 puts a millisecond timestamp first, so the IDs sort roughly in the order they were created.

Runs on your device

## How it works

1. Choose v4 for random IDs or v7 for time-ordered IDs.
2. Enter how many you need, from 1 to 1000.
3. Press Generate.
4. Press Copy to take the whole list, one UUID per line.

## Key facts

- **Versions**: v4 (random) and v7 (millisecond timestamp plus random bits)
- **Bulk**: 1 to 1000 per click
- **Randomness**: The browser's crypto API
- **Where it runs**: In your browser, with no upload

## Common uses

- Create test IDs for a database seed script.
- Generate sortable primary keys with v7.
- Make a batch of unique tokens for fixtures.

## Questions

### What is the difference between UUID v4 and v7?

v4 is entirely random. v7 starts with a 48-bit Unix millisecond timestamp followed by random bits, so newer IDs sort after older ones, which helps database index locality.

### Can two generated UUIDs collide?

A collision is astronomically unlikely with properly random bits. The tool does not check for duplicates against anything outside the list it just made.

### Do the IDs contain my information?

No. A v7 UUID reveals roughly when it was made, from its timestamp, but nothing else about you or your device.

[Read the UUID Generator guide](https://toolsugar.com/blog/how-to-generate-a-uuid)

## Related tools

- [Password Generator](https://toolsugar.com/tools/password-generator)
- [Base64 Encoder and Decoder](https://toolsugar.com/tools/base64-encoder)
- [JWT Decoder](https://toolsugar.com/tools/jwt-decoder)
