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.
5d0b600e-b7cb-4815-805d-a0210c08047f
curl https://getuuid.sh/api/uuid