UUID & token generator

Generate random UUID v4 values and secure random tokens locally for IDs, API keys, and testing.

How to use the uuid & token generator

  1. Choose how many values and whether you want UUIDs or tokens.
  2. Press Generate.
  3. Copy the results.

UUIDs & tokens

A UUID v4 is a 128-bit identifier built from random data, designed to be unique without any central coordination — the standard choice for random IDs. The token option gives you a URL-safe random string handy for API keys and session secrets. Both use your browser's cryptographically secure random source.

Code & API examples

Use this from the command line or your code.

Shell
uuidgen
Python
import uuid
print(uuid.uuid4())
Random token
openssl rand -base64 24

See all endpoints at /api/tools/.

Frequently asked questions

A 128-bit identifier made from random data, designed to be unique without a central authority. It's the standard choice for random IDs.

Yes — they're generated from your browser's cryptographically secure random source, suitable for tokens as well as IDs.
Want to hide your IP for real?

vpn.golf is a no-logs WireGuard VPN. Pick a hole, take the shot.

Step up to the tee — free