TinyMapper 3.0.3

.NET Standard 1.3 .NET Framework 3.5
dotnet add package TinyMapper --version 3.0.3
NuGet\Install-Package TinyMapper -Version 3.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TinyMapper" Version="3.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TinyMapper --version 3.0.3
#r "nuget: TinyMapper, 3.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install TinyMapper as a Cake Addin
#addin nuget:?package=TinyMapper&version=3.0.3

// Install TinyMapper as a Cake Tool
#tool nuget:?package=TinyMapper&version=3.0.3

TinyMapper - a quick object mapper for .Net

Nuget downloads GitHub license GitHub license

Performance Comparison

Performance Comparison


Available on nuget

PM> Install-Package TinyMapper

Getting Started

TinyMapper.Bind<Person, PersonDto>();

var person = new Person
	Id = Guid.NewGuid(),
	FirstName = "John",
	LastName = "Doe"

var personDto = TinyMapper.Map<PersonDto>(person);

Ignore mapping source members and bind members with different names/types

TinyMapper.Bind<Person, PersonDto>(config =>
	config.Ignore(x => x.Id);
	config.Ignore(x => x.Email);
	config.Bind(source => source.LastName, target => target.Surname);
	config.Bind(target => source.Emails, typeof(List<string>));

var person = new Person
	Id = Guid.NewGuid(),
	FirstName = "John",
	LastName = "Doe",
	Emails = new List<string>{"support@tinymapper.net", "MyEmail@tinymapper.net"}

var personDto = TinyMapper.Map<PersonDto>(person);

TinyMapper supports the following platforms:

What to read


A big thanks to all of TinyMapper's contributors:

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net35 net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (27)

Showing the top 5 NuGet packages that depend on TinyMapper:

Package Downloads
WireMock.Net The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.


Package Description


The component library for Blazor that enables the use of Luminescence form generation


Package Description


Package Description

GitHub repositories (7)

Showing the top 5 popular GitHub repositories that depend on TinyMapper:

Repository Stars
WireMock.Net is a flexible product for stubbing and mocking web HTTP responses using advanced request matching and response templating. Based on the functionality from http://WireMock.org, but extended with more functionality.
A quick object-object mapper for .NET
Mapping .Net types
🦇 Convention-based, fast object mapper.
asp.net MVC5 + Dapper + layUI/easyUI 通用权限管理系统、后台框架、信息管理系统基础框架
Version Downloads Last updated
3.0.3 2,045,637 12/8/2019
3.0.2-beta 44,860 6/7/2018
3.0.1-beta 20,149 10/25/2017
2.1.4-beta 7,305 8/18/2017
2.1.3-beta 1,521 8/16/2017
2.1.2-beta 1,150 8/14/2017
2.1.1-beta 1,454 8/13/2017
2.0.8 493,995 12/3/2015
2.0.6 3,014 11/2/2015
2.0.5 5,848 9/15/2015
2.0.1 8,786 7/15/2015
2.0.0 2,098 7/12/2015
1.0.22 1,204 7/12/2015
1.0.20 1,621 6/24/2015
1.0.18 1,852 4/12/2015
1.0.6 1,311 3/24/2015
1.0.4 1,267 3/20/2015
1.0.2 1,106 3/11/2015