In code
Generate a UUID in Python
The standard library's uuid module needs no dependencies.
Python example
Python
import uuid
print(uuid.uuid4())
No install? Use the tool or API
Here's a fresh version 4 UUID generated right now — copy it, or call the API from any language.
afa98edf-12e3-425c-9e75-284d277e7b7a
curl https://getuuid.sh/api/uuid