SmartFormat.NET 3.0.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 2.0 .NET Framework 4.6.1
There is a newer version of this package available.
See the version list below for details.
dotnet add package SmartFormat.NET --version 3.0.0
NuGet\Install-Package SmartFormat.NET -Version 3.0.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="SmartFormat.NET" Version="3.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SmartFormat.NET --version 3.0.0
#r "nuget: SmartFormat.NET, 3.0.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 SmartFormat.NET as a Cake Addin
#addin nuget:?package=SmartFormat.NET&version=3.0.0

// Install SmartFormat.NET as a Cake Tool
#tool nuget:?package=SmartFormat.NET&version=3.0.0


What is SmartFormat?

SmartFormat is a lightweight text templating library written in C#.

It can format various data sources into a string with a minimal, intuitive syntax similar to string.Format. All formatting takes place at runtime.

SmartFormat uses extensions to provide named placeholders, localization, pluralization, gender conjugation, as well as list and time formatting. Formatting extensions can be nested.

Custom source or formatter extensions can be added easily using simple interfaces.


  • High performance with low memory footprint
  • Minimal, intuitive syntax
  • Formatting takes place exclusively at runtime
  • Exact control of whitespace text output
  • string.Format compatibility mode and Smart.Format enhanced mode
  • Most common data sources work out-of-the-box
  • Many built-in formatting extensions
  • Custom formatting and source extensions are easy to integrate
  • Comprehensive documentation: current Wiki, complete xmldoc

Supported Frameworks

  • .Net Framework 4.6.1 and later
  • .Net Standard 2.0
  • .Net Standard 2.1 and later for best optimizations


Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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-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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 is compatible.  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 tizen40 was computed.  tizen60 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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (57)

Showing the top 5 NuGet packages that depend on SmartFormat.NET:

Package Downloads

The C# SDK for the Messaging Hub


Elephant storage library


Elephant storage library


BLiP C# client


Package Description

GitHub repositories (12)

Showing the top 5 popular GitHub repositories that depend on SmartFormat.NET:

Repository Stars
Windows tray utility / filesystem watcher / launcher for Syncthing
A lightweight text templating library written in C# which can be a drop-in replacement for string.Format
A simple recipe for .NET Core microservices.
DSLR camera remote control open source software
LocalizationExtension is a the easy way to localize any type of DependencyProperties or native Properties on DependencyObjects
Version Downloads Last updated
3.3.0 36,058 9/25/2023
3.2.2 40,924 8/3/2023
3.2.1 227,076 2/19/2023
3.2.0 271,150 9/18/2022
3.1.0 331,240 5/17/2022
3.0.0 162,327 3/14/2022
3.0.0-rc.2 2,499 2/15/2022
3.0.0-rc.1 1,847 2/1/2022
3.0.0-alpha.5 1,148 12/3/2021
3.0.0-alpha.4 1,794 10/25/2021
3.0.0-alpha.3 1,011 9/20/2021
3.0.0-alpha.2 726 9/5/2021
3.0.0-alpha.1 2,756 8/29/2021
2.7.3 187,532 6/28/2022
2.7.2 266,279 12/26/2021
2.7.1 245,181 10/21/2021
2.7.0 1,099,629 4/10/2021
2.6.2 298,371 2/17/2021
2.6.1 8,015 2/12/2021
2.5.3 800,002 11/10/2020
2.5.3-preview1 2,922 11/2/2020
2.5.2 350,149 6/16/2020
2.5.1 14,968 6/9/2020
2.5.0 719,703 11/2/2019
2.4.2 1,079,394 2/9/2019
2.4.1 44,464 1/5/2019
2.4.0 19,440 1/4/2019 152,611 11/15/2018
2.3.0 664,491 6/13/2018
2.2.0 133,216 2/17/2018 882,050 8/15/2017 459,607 6/27/2017
2.0.0 344,530 12/4/2016 14,317 11/28/2016
1.6.1 128,714 3/4/2015
1.6.0 4,161 3/4/2015
1.5.0 4,165 2/12/2015
1.4.0 2,779 2/12/2015
1.3.0 2,740 2/12/2015
1.2.0 7,072 2/7/2015
1.1.0 29,525 2/20/2014
1.0.0 14,838 5/15/2013

See the change log for details of this release: