SmartFormat 3.6.1

SmartFormat

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.

Features

  • 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

Note

Use .Net Standard 2.1 and later for best optimizations

Paypal-Donations

Showing the top 20 packages that depend on SmartFormat.

Packages Downloads
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
114
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
117
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
121
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
124
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
126
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
129
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
130
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
131
OpenIddict.Client.WebIntegration
OpenIddict client integration package for various Web services.
132

Please see release notes on GitHub: https://github.com/axuno/SmartFormat/releases/

.NET Framework 4.6.2

.NET 6.0

.NET 8.0

.NET Standard 2.0

.NET Standard 2.1

Version Downloads Last updated
3.6.1 114 09/14/2025
3.6.0 135 04/01/2025
3.5.3 116 04/01/2025
3.5.2 121 04/01/2025
3.5.1 115 04/01/2025
3.5.0 106 04/01/2025
3.4.0 110 04/01/2025
3.3.2 131 04/01/2025
3.3.1 109 04/01/2025
3.3.0 118 04/01/2025
3.2.2 105 04/01/2025
3.2.1 115 04/01/2025
3.2.0 124 04/01/2025
3.1.0 106 04/01/2025
3.0.0 119 04/01/2025
3.0.0-rc.2 97 04/01/2025
3.0.0-rc.1 105 04/01/2025