An extensible .NET replacement for String.Format
Clone or download


GitHub release License: MIT Build status AppVeyor tests

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 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.