Developer UUID tools

Linux uuidgen

Generate UUIDs for Linux scripts, shell commands, config files, and test data, then review practical uuidgen command examples.

Linux uuidgen helper

Create UUID values in the browser while reviewing Linux and Bash uuidgen workflows.

123e4567-e89b-42d3-a456-426614174000
123e4567-e89b-42d3-a456-426614174001
123e4567-e89b-42d3-a456-426614174002
123e4567-e89b-42d3-a456-426614174003
123e4567-e89b-42d3-a456-426614174004
123e4567-e89b-42d3-a456-426614174005
123e4567-e89b-42d3-a456-426614174006
123e4567-e89b-42d3-a456-426614174007
123e4567-e89b-42d3-a456-426614174008
123e4567-e89b-42d3-a456-426614174009
Output options

Generate 1 to 1000 IDs per batch.

Generated values stay in your browser. This page does not send UUIDs or GUIDs to a server for generation.

uuidgen command

Many Linux systems provide uuidgen for generating UUID strings from the shell.

Generate one UUID
uuidgen
Lowercase output
uuidgen | tr '[:upper:]' '[:lower:]'

Generate multiple UUIDs

Use a loop when you need several UUIDs for fixtures, scripts, or seed files.

Generate 10 UUIDs
for i in {1..10}; do
  uuidgen
done

Save UUIDs to a file

Redirect command output when a script needs to persist generated IDs.

Write UUIDs to a file
for i in {1..100}; do
  uuidgen
done > uuids.txt

Common uuidgen mistakes

Do not assume every minimal container image includes uuidgen. Add the required package or use a language runtime method when building portable scripts.

FAQ

What is uuidgen?+

uuidgen is a command-line utility that prints UUID strings on many Linux systems.

How do I generate multiple UUIDs in Bash?+

Use a for loop around uuidgen and redirect output if you want to save the values.

Is uuidgen available in every Linux container?+

No. Minimal images may omit it, so scripts should document the package requirement or use another UUID method.