Navaidh.Util.Number2Word 1.0.1

dotnet add package Navaidh.Util.Number2Word --version 1.0.1
NuGet\Install-Package Navaidh.Util.Number2Word -Version 1.0.1
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="Navaidh.Util.Number2Word" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Navaidh.Util.Number2Word --version 1.0.1
#r "nuget: Navaidh.Util.Number2Word, 1.0.1"
#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 Navaidh.Util.Number2Word as a Cake Addin
#addin nuget:?package=Navaidh.Util.Number2Word&version=1.0.1

// Install Navaidh.Util.Number2Word as a Cake Tool
#tool nuget:?package=Navaidh.Util.Number2Word&version=1.0.1

Number2Word Nuget MIT License


Number2Word is a .NET library that provides a convenient way to convert numbers into equivalent words representing their significance. With this library, you can easily convert numeric values into words, which can be helpful in various applications such as invoice generation, financial reports, and text-to-speech systems.


You can install the Number2Word library via the NuGet package manager or .NET CLI.

NuGet Package Manager

  1. Open the NuGet Package Manager in Visual Studio.
  2. Search for "Number2Word" in the package search bar.
  3. Click on the "Number2Word" package from the search results.
  4. Select the desired project(s) from the solution to install the package.
  5. Click the "Install" button to add the package to your project.


Open a command prompt or terminal and run the following command:

dotnet add package Number2Word


Using Number2Word is straightforward. Follow the steps below to convert a number to its significant word representation.

  1. Add a reference to the Number2Word namespace in your code file:
using Navaidh.Number2Word;
  1. Use the ConvertToWords method to convert a number into its word representation:
string word = Converter.ConvertToWords(123456);
Console.WriteLine(word); // Output: "One Hundred Twenty Three Thousands Four Hundred Fifty Six."


Here are a few examples to demonstrate the usage of Number2Word:

string word1 = Converter.ConvertToWords(987654321);
Console.WriteLine(word1); // Output: "Nine Hundred Eighty Seven Millions Six Hundred Fifty Four Thousands Three Hundred Twenty One."

string word3 = Converter.ConvertToWords(14524);
Console.WriteLine(word3); // Output: "Fourteen Thousands Five Hundred Twenty Four."


  • Additional language support: Extend the library to support number-to-word conversion for multiple languages.
  • Add Custom Separators: Allow users to customize the separators used in the word representation of numbers.


  • Not returning Zero: The current implementation does not handle the number zero appropriately.


Number2Word is released under the MIT License.


Contributions to Number2Word are welcome! If you find any issues or have suggestions, or want to add new features, please open an issue or submit a pull request on the GitHub repository.


Number2Word is inspired by similar libraries and projects that provide number-to-word conversion functionality. We would like to acknowledge their contributions and the open-source community for their continuous support.


For any questions, concerns, or inquiries, please contact the maintainer of Number2Word:


Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 149 7/2/2023
1.0.0 135 7/2/2023

The Number to Word Converter NuGet package is a powerful tool that allows developers to effortlessly convert numerical values into their corresponding word representations.
This versatile package provides a simple and efficient solution for converting numbers to words, facilitating seamless integration into various software applications and systems.