# gofrs/uuid

> A pure Go package for creating and parsing UUIDs

Source: https://talira.ai/catalog/gofrs-uuid-j4s8sent
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / unique ids](https://talira.ai/categories/libraries/unique-ids), [languages / go](https://talira.ai/categories/languages/go)
- Licence: MIT[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [The Go Commune](https://talira.ai/orgs/gofrs.md)

gofrs/uuid is a pure Go package for creating and parsing Universally Unique Identifiers as RFC 9562 defines them. It generates versions 1 (timestamp and MAC address), 3 and 5 (MD5 and SHA-1 hashes of a name), 4 (random), 6 and 7 (k-sortable, timestamp based) and 8 (custom), and parses UUIDs from strings in several formats. The Go Commune (gofrs) maintains it: it began as a fork of satori/go.uuid, taken over when that package seemed unmaintained and had critical flaws.

## Links

- GitHub: https://github.com/gofrs/uuid
- Docs: https://pkg.go.dev/github.com/gofrs/uuid/v5

## Problems it solves

- generate random or time-ordered UUIDs in a Go program
- parse and validate UUID strings in Go
- a maintained replacement for satori/go.uuid

## Features

- UUID versions 1, 3, 4, 5, 6, 7 and 8
- Parses UUIDs from strings in different formats
- Pure Go, with no cgo
- k-sortable, timestamp-based version 6 and 7 UUIDs

## Trust

Overall: 0.52 out of 1.
Signals: maintenance 0.66, adoption 0.65, momentum 0.39, community 0.73, backing 0.30, extensibility 0.00.

- last commit 4 days ago
- 9 commits in the last 90 days
- latest release v5.5.1 3 months ago
- 1.8k GitHub stars
- 64 contributors
- backed by The Go Commune

## Alternatives

- [xid](https://talira.ai/catalog/xid-q7s154t9.md): Short, sortable, globally unique IDs for Go with no configuration
- [go-uuid (HashiCorp)](https://talira.ai/catalog/go-uuid-hashicorp-gqfjdgph.md): UUID-format random strings for Go

## Sources

[^1]: https://github.com/gofrs/uuid/blob/master/LICENSE (checked 27 Nov 2026)
