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
Monthly Downloads: 3,202
Programming language: C#
License: Historic Permission Notice and Disclaimer
Tags: Template     Template Engine     Format     String     Named     Placeholders     Composition     C     Compatible    
Latest version: v2.5.0.0

SmartFormat.NET alternatives and similar packages

Based on the "Template Engine" category

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.5+
  • .Net Standard 1.6 and 2.0

Get started

NuGet Install the NuGet package

Docs Have a look at the SmartFormat.Net Wiki

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

Projects, where SmartFormat.Net is used: (let us know if you'd like to be listed here):

MailMergeLib is an SMTP mail client library which provides comfortable mail merge capabilities for text, inline images and attachments, as well as good throughput and fault tolerance for sending mail messages.

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