Skip to main content
SmartFormat package icon

SmartFormat

This package contains the core SmartFormat assemblies with core extensions built-in. 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. It uses extensions to provide named placeholders, localization, pluralization, gender conjugation, and list and time formatting.

Total Downloads
8.8M
8,839,144
Published
Sep 13, 2025
Latest stable version

Install

.NET CLI
dotnet add package SmartFormat --version 3.6.1
Package Manager Console
Install-Package SmartFormat -Version 3.6.1
PackageReference
<PackageReference Include="SmartFormat" Version="3.6.1" />

Frameworks

.NETFramework4.6.2 net6.0 net8.0 .NETStandard2.0 .NETStandard2.1

Dependencies

System.Memory
.NETFramework4.6.2
[4.6.0, )
System.ValueTuple
.NETFramework4.6.2
[4.5.0, )
ZString
.NETFramework4.6.2
[2.6.0, )
ZString
net6.0
[2.6.0, )
ZString
net8.0
[2.6.0, )
System.Memory
.NETStandard2.0
[4.6.0, )
System.ValueTuple
.NETStandard2.0
[4.5.0, )
ZString
.NETStandard2.0
[2.6.0, )
ZString
.NETStandard2.1
[2.6.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 5 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.