Base62 1.3.0

dotnet add package Base62 --version 1.3.0
NuGet\Install-Package Base62 -Version 1.3.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Base62" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Base62 --version 1.3.0
#r "nuget: Base62, 1.3.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Base62 as a Cake Addin
#addin nuget:?package=Base62&version=1.3.0

// Install Base62 as a Cake Tool
#tool nuget:?package=Base62&version=1.3.0


Base62 encoder and decoder based on Base62 for PHP for .NET. This library is useful for converting data into shortened strings good for URL shortening and/or obfuscating auto-incrementing resource ids from being exposed through RESTful APIs.

.NET Nuget


Written to be netstandard compliant, this library should be able to be used cross-platform. See netstandard details for more information.


var base62Converter = new Base62Converter();

var encoded = base62Converter.Encode("120");


var decoded = base62Converter.Decode(encoded);


// output is:
//    "DWjo"
//    "120"

Character sets

By default Base62 uses [0-9A-Za-z] character set but can be alternated to use [0-9a-zA-Z] through the constructor.

new Base62Converter(Base62Converter.CharacterSet.INVERTED);



The MIT LIcense (MIT).

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 1.3

  • .NETStandard 2.0

    • No dependencies.
  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Base62:

Package Downloads
NineDigit.eKasa The ID prefix of this package has been reserved for one of the owners of this package by

eKasa PPEKK solution by Nine Digit, s.r.o.

NineDigit.eKasa.StorageManagement The ID prefix of this package has been reserved for one of the owners of this package by

No descrpition.



GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Base62:

Repository Stars
Unlock bootloader / FRP Huawei
Version Downloads Last updated
1.3.0 38,302 11/2/2022
1.2.0 112,306 8/8/2021
1.1.0 64,456 7/16/2019
1.0.0 103,370 10/9/2017

* Addresses bug with leading zeros