A lightweight templating library, with an emphasis on grammar. SmartFormat.NET makes it easy for a data-driven template to have proper pluralization, gender conjugation, lists, and conditional language logic.

Nuget Install-Package SmartFormat.NET

Code Quality Rank: L2
Programming language: C#
License: MIT License
Tags: Template     Template Engine     Format     String     Named     Placeholders     Composition     C     Compatible    
Latest version: v2.5.3.0

SmartFormat.NET alternatives and similar packages

Based on the "Template Engine" category.
Alternatively, view SmartFormat.NET alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of SmartFormat.NET or a related project?

Add another 'Template Engine' Package


GitHub release License: MIT Build status AppVeyor tests codecov

SmartFormat is a string composition library written in C# which is basically compatible with string.Format. More than that SmartFormat can format data with named placeholders, lists, pluralization and other smart extensions.

Supported Frameworks

  • .Net Framework 4.6.1 and later
  • .Net Standard 2.0 and later (including .Net 5.0)

Get started

NuGet NuGet Install the NuGet package

Docs Have a look at the SmartFormat.Net Wiki

See [changelog](CHANGES.md) for changes.

Version 3.0

See the list of changes already merged into branch version/v3

We have started to work on a new version of SmartFormat.Net and would like to collect your input using GitHub Discussions.

*Note that all licence references and agreements mentioned in the SmartFormat.NET README section above are relevant to that project's source code only.