Skip to content

In code

Generate a UUID in Perl

Data::UUID generates RFC-style identifiers.

Perl example

Perl
use Data::UUID;

print Data::UUID->new->create_str;

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.

1fbbd7ef-a7ed-49ad-b907-99e717084e9e
curl https://getuuid.sh/api/uuid

Other languages

← Full API reference