Sqids 3.2.0

The official .NET port of Sqids

Sqids (pronounced "squids") is a small library that lets you generate YouTube-like IDs from numbers. It turns numbers like 127 into strings like yc3, which you can then decode back into the original numbers. Sqids is useful for when you want to hide numbers (like sequential numeric IDs) into random-looking strings to be used in URLs and elsewhere.

Basic Usage:

using Sqids;

var sqids = new SqidsEncoder<int>();

var id = sqids.Encode(1, 2, 3); // "86Rf07"
var numbers = sqids.Decode(id); // [1, 2, 3]

Note: For the full documentation and other examples, check out the GitHub repository.

No packages depend on Sqids.

.NET 6.0

  • No dependencies.

.NET 7.0

  • No dependencies.

.NET 8.0

  • No dependencies.

.NET Standard 2.0

Version Downloads Last updated
3.2.0 1 12/15/2025
3.1.0 0 12/01/2023
3.0.3 0 09/15/2023
3.0.2 0 09/13/2023
3.0.1 0 09/10/2023
3.0.0 0 09/10/2023
2.0.0 0 08/30/2023
1.1.0 0 08/18/2023
1.0.5 0 08/16/2023
1.0.4 0 08/08/2023
1.0.3 0 08/08/2023
1.0.2 0 08/07/2023
1.0.1 0 08/07/2023
1.0.0 0 08/06/2023
1.0.0-preview.3 0 08/06/2023
1.0.0-preview.2 0 08/04/2023
1.0.0-preview.1 0 08/04/2023