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.

22473ecc-9879-4f18-b9b3-7982d2a71650
curl https://getuuid.sh/api/uuid

Other languages

← Full API reference