Skip to main content
shortid package icon

shortid

A library that generates random identifiers with a minimum length of 8 characters. Identifiers generated can be used as primary keys for databases or unique identifiers.

Total Downloads
7.7M
7,723,905
Published
May 26, 2026
Latest stable version

Install

.NET CLI
dotnet add package shortid --version 5.1.1
Package Manager Console
Install-Package shortid -Version 5.1.1
PackageReference
<PackageReference Include="shortid" Version="5.1.1" />

Frameworks

.NETStandard2.0

Dependencies

System.Memory
.NETStandard2.0
[4.6.3, )

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.