# uuid (Erlang)

> Erlang native UUID generation

Source: https://talira.ai/catalog/uuid-erlang-peaa0cfr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / unique ids](https://talira.ai/categories/libraries/unique-ids), [languages / erlang](https://talira.ai/categories/languages/erlang)
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Pricing notes: Free and open source (MIT).
- Free tier: yes[^2]
- Backed by: [Michael Truog](https://talira.ai/orgs/michael-truog.md)

uuid is Michael Truog's Erlang library for generating UUIDs as RFC 9562 defines them: version 1 (with the Erlang pid and node name folded into the node ID), versions 3 (MD5), 4 (random) and 5 (SHA), and the newer versions 6 (ordered), 7 (Unix epoch) and 8 (custom). It's published on Hex as `uuid_erl` and takes its randomness from the quickrand library.

## Links

- GitHub: https://github.com/okeuday/uuid

## Problems it solves

- generate time-ordered UUIDv7 ids in my Erlang or Elixir service
- create random UUIDs quickly in Erlang
- make UUIDs that show which Erlang node and process created them
- generate name-based UUIDs from a namespace in Erlang

## Features

- UUID versions 1, 3, 4, 5, 6, 7 and 8
- version 1 UUIDs carrying the Erlang pid and node name
- cached random data for fast version 4 UUIDs

## Limitations

- Some functions need quickrand seeded or its cache initialised in the calling process first[^1]

## Trust

Overall: 0.29 out of 1.
Signals: maintenance 0.27, adoption 0.47, momentum 0.10, community 0.47, backing 0.30, extensibility 0.00.

- 221 GitHub stars
- 14 contributors
- backed by Michael Truog

Warnings:

- last commit 8 months ago

## Alternatives

- [Uniq](https://talira.ai/catalog/uniq-v0wx6dv7.md): UUID generation, parsing and formatting for Elixir
- [Nanoid (Elixir)](https://talira.ai/catalog/nanoid-elixir-pmmbtxrb.md): Elixir port of Nano ID, a tiny, secure, URL-friendly unique ID generator

## Sources

[^1]: https://github.com/okeuday/uuid (checked 28 Nov 2026)
[^2]: https://github.com/okeuday/uuid/blob/master/LICENSE (checked 28 Nov 2026)
