CsvHelper 2.0.0-beta1

Prefix Reserved
This is a prerelease version of CsvHelper.
There is a newer version of this package available.
See the version list below for details.
dotnet add package CsvHelper --version 2.0.0-beta1
                    
NuGet\Install-Package CsvHelper -Version 2.0.0-beta1
                    
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="CsvHelper" Version="2.0.0-beta1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CsvHelper" Version="2.0.0-beta1" />
                    
Directory.Packages.props
<PackageReference Include="CsvHelper" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CsvHelper --version 2.0.0-beta1
                    
#r "nuget: CsvHelper, 2.0.0-beta1"
                    
#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.
#:package CsvHelper@2.0.0-beta1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CsvHelper&version=2.0.0-beta1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CsvHelper&version=2.0.0-beta1&prerelease
                    
Install as a Cake Tool

A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects.

Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net35-client is compatible.  net40 was computed.  net40-client is compatible.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Silverlight sl4 is compatible.  sl5 is compatible. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Store netcore was computed.  netcore45 is compatible.  netcore451 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages (1.0K)

Showing the top 5 NuGet packages that depend on CsvHelper:

Package Downloads
InfluxDB.Client.Core

InfluxDB Client Core - exceptions, validations, REST client.

Umbraco.Forms.Core.Providers

Umbraco Forms Core Providers encapsulates core providers of the forms builder for use by package developers.

CsvHelper.Excel.Core

An implementation of ICsvParser and ICsvSerializer from CsvHelper that reads and writes using the ClosedXml library.

Casbin.NET

Casbin.NET is a powerful and efficient open-source access control library for .NET (C#) projects. It provides support for enforcing authorization based on various access control models.

CodeBeam.MudBlazor.Extensions

MudBlazor extension components from contributors. Includes 30+ components and utilities.

GitHub repositories (209)

Showing the top 20 popular GitHub repositories that depend on CsvHelper:

Repository Stars
QL-Win/QuickLook
Bring macOS “Quick Look” feature to Windows
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
QuantConnect/Lean
Lean Algorithmic Trading Engine by QuantConnect (Python, C#)
gui-cs/Terminal.Gui
Cross Platform Terminal UI toolkit for .NET
restsharp/RestSharp
Simple REST and HTTP API Client for .NET
Kareadita/Kavita
Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.
btcpayserver/btcpayserver
Accept Bitcoin payments. Free, open-source & self-hosted, Bitcoin payment processor.
louthy/language-ext
C# pure functional programming framework - come and get declarative!
DotNetNext/SqlSugar
.Net aot ORM SqlServer ORM Mongodb ORM MySql 瀚高 Postgresql ORM DB2 Hana 高斯 Duckdb C# VB.NET Sqlite ORM Oracle ORM Mysql Orm 虚谷数据库 达梦 ORM 人大金仓 ORM 神通ORM C# ORM , C# ORM .NET ORM NET9 ORM .NET8 ORM ClickHouse ORM QuestDb ,TDengine ORM,OceanBase ORM,GaussDB ORM,Tidb ORM Object/Relational Mapping
beeradmoore/dlss-swapper
jasontaylordev/NorthwindTraders
Northwind Traders is a sample application built using ASP.NET Core and Entity Framework Core.
rmcrackan/Libation
Libation: Liberate your Library
Planshit/Tai
👻 在Windows上统计软件使用时长和网站浏览时长
OptiKey/OptiKey
OptiKey - Full computer control and speech with your eyes
dotnetcore/FreeSql
.NET aot orm, VB.NET/C# orm, Mysql/PostgreSQL/SqlServer/Oracle orm, Sqlite/Firebird/Clickhouse/DuckDB orm, 达梦/金仓/虚谷/翰高/高斯 orm, 神通 orm, 南大通用 orm, 国产 orm, TDengine orm, QuestDB orm, MsAccess orm.
ravendb/ravendb
ACID Document Database
space-wizards/space-station-14
A multiplayer game about paranoia and chaos on a space station. Remake of the cult-classic Space Station 13.
mini-software/MiniExcel
Fast, Low-Memory, Easy Excel .NET helper to import/export/template spreadsheet (support Linux, Mac)
nefarius/ScpToolkit
Windows Driver and XInput Wrapper for Sony DualShock 3/4 Controllers
migueldeicaza/TensorFlowSharp
TensorFlow API for .NET languages
Version Downloads Last Updated
33.1.0 8,876,996 6/2/2025
33.0.1 50,515,907 6/20/2024
33.0.0 709,682 6/17/2024
32.0.3 7,925,435 5/13/2024
32.0.2 626,894 5/7/2024
32.0.1 1,333,299 4/26/2024
32.0.0 151,239 4/25/2024
31.0.4 2,252,060 4/17/2024
31.0.3 2,463,726 4/3/2024
31.0.2 7,186,793 2/29/2024
31.0.1 137,533 2/29/2024
31.0.0 3,678,505 2/9/2024
30.1.0 2,932,491 1/26/2024
30.0.3 981,647 1/23/2024
30.0.1 66,306,459 11/11/2022
30.0.0 4,277,338 10/30/2022
29.0.0 4,249,525 10/6/2022
28.0.1 12,141,243 7/14/2022
28.0.0 947,938 7/8/2022
27.2.1 37,751,422 11/23/2021
27.2.0 690,095 11/15/2021
27.1.1 16,871,412 6/23/2021
27.1.0 4,333,734 5/26/2021
27.0.4 823,643 5/18/2021
27.0.3 132,842 5/17/2021
27.0.2 2,241,376 4/28/2021
27.0.1 626,574 4/22/2021
27.0.0 956,178 4/21/2021
26.1.0 3,343,850 3/23/2021
26.0.1 2,123,363 3/4/2021
26.0.0 208,509 3/3/2021
25.0.0 874,591 2/24/2021
24.0.1 486,358 2/20/2021
24.0.0 23,959 2/19/2021
23.0.0 563,572 2/12/2021
22.1.2 794,604 2/4/2021
22.1.1 481,864 2/2/2021
22.1.0 149,643 1/30/2021
22.0.0 18,727 1/30/2021
21.3.1 77,787 1/29/2021
21.3.0 160,689 1/27/2021
21.2.1 194,877 1/25/2021
21.2.0 133,854 1/24/2021
21.1.2 8,442 1/24/2021
21.1.1 12,961 1/23/2021
21.1.0 290,166 1/21/2021
21.0.6 106,851 1/20/2021
21.0.5 22,305 1/20/2021
21.0.5-beta0001 3,206 1/20/2021
21.0.4 76,844 1/19/2021
21.0.3 42,961 1/19/2021
21.0.1 12,941 1/18/2021
21.0.0 12,643 1/18/2021
20.0.0 80,198 1/17/2021
20.0.0-beta0021 3,134 1/14/2021
20.0.0-beta0020 3,192 1/13/2021
20.0.0-beta0019 3,099 1/8/2021
20.0.0-beta0017 2,829 1/7/2021
20.0.0-beta0001 2,883 1/6/2021
19.0.0 4,176,820 12/27/2020
19.0.0-beta0002 2,982 12/26/2020
19.0.0-beta0001 4,493 12/22/2020
19.0.0-beta.2 851 12/26/2020
18.0.0 3,024,534 12/4/2020
17.0.1 602,456 12/1/2020
17.0.0 169,551 11/29/2020
16.2.0 709,052 11/25/2020
16.1.0 657,145 11/20/2020
16.0.0 2,155,531 11/13/2020
15.0.10 2,961,934 11/10/2020
15.0.9 1,027,861 11/3/2020
15.0.8 3,838,468 10/14/2020
15.0.7 244,308 10/13/2020
15.0.6 1,990,899 9/25/2020
15.0.5 26,484,615 4/17/2020
15.0.4 2,016,627 4/3/2020
15.0.3 970,063 3/24/2020
15.0.2 478,977 3/20/2020
15.0.1 1,743,149 3/4/2020
15.0.0 2,748,478 2/4/2020
14.0.0 512,733 1/30/2020
14.0.0-beta001 4,896 1/29/2020
13.0.0 1,698,769 1/16/2020
12.3.2 2,850,247 1/10/2020
12.3.1 88,925 1/9/2020
12.3.0 169,284 1/9/2020
12.2.3 2,685,541 12/30/2019
12.2.2 2,264,251 12/6/2019
12.2.1 2,977,489 11/5/2019
12.2.0 57,200 11/5/2019
12.1.3 681,014 10/28/2019
12.1.2 21,392,883 1/28/2019
12.1.1 2,026,106 1/3/2019
12.1.0 799,742 12/13/2018
12.0.1 556,832 12/5/2018
12.0.0 638,034 12/5/2018
11.0.1 112,662 12/4/2018
11.0.0 69,942 12/4/2018
10.0.0 142,550 12/4/2018
10.0.0-beta02 8,603 11/23/2018
10.0.0-beta01 9,998 11/21/2018
9.2.3 994,857 11/21/2018
9.2.2 19,790 11/20/2018
9.2.1 22,786 11/20/2018
9.2.0 19,592 11/20/2018
9.1.0 197,093 11/13/2018
9.0.2 79,387 11/12/2018
9.0.1 12,843 11/12/2018
9.0.0 320,663 11/11/2018
8.1.1 47,300 11/6/2018
8.1.0 31,527 11/6/2018
8.0.0 59,577 11/6/2018
8.0.0-beta01 132,738 7/12/2018
7.1.1 8,687,896 6/8/2018
7.1.0 3,354,443 3/15/2018
7.0.1 701,252 2/23/2018
7.0.0 255,674 2/21/2018
6.1.1 1,262,051 1/19/2018
6.1.0 519,630 12/15/2017
6.0.3 108,067 12/13/2017
6.0.2 52,166 12/8/2017
6.0.0 906,042 11/8/2017
5.0.0.1 241,698 11/1/2017
4.0.3 120,745 10/25/2017
4.0.2 90,721 10/19/2017
4.0.1 22,902 10/19/2017
3.2.0 191,641 10/11/2017
3.1.1 18,319 10/10/2017
3.1.0 35,004 10/10/2017
3.0.0 122,391 10/9/2017
3.0.0-RC05 5,880 10/4/2017
3.0.0-RC04 7,092 9/26/2017
3.0.0-RC03 4,248 9/25/2017
3.0.0-RC02 3,976 9/19/2017
3.0.0-RC01 7,710 9/7/2017
3.0.0-chi08 10,216 9/6/2017
3.0.0-chi07 7,536 9/2/2017
3.0.0-chi06 19,783 7/4/2017
3.0.0-chi05 16,683 6/6/2017
3.0.0-chi04 6,496 5/31/2017
3.0.0-chi03 21,071 5/25/2017
3.0.0-chi02 17,713 4/23/2017
3.0.0-chi01 5,551 4/21/2017
3.0.0-beta8 10,006 3/30/2017
3.0.0-beta7 465,969 10/4/2016
3.0.0-beta6 23,437 9/9/2016
3.0.0-beta5 13,281 9/6/2016
3.0.0-beta4 6,314 9/2/2016
3.0.0-beta3 6,332 8/30/2016
3.0.0-beta2 8,907 8/26/2016
3.0.0-beta10 5,961 4/7/2017
3.0.0-beta1 6,086 8/25/2016
2.16.3 15,015,501 9/9/2016
2.16.2 46,838 9/7/2016
2.16.1 125,495 8/31/2016
2.16.0 1,730,151 7/14/2016
2.15.0.2 408,699 7/2/2016
2.15.0.1 53,655 6/28/2016
2.15.0 386,331 6/9/2016
2.14.3 462,167 6/8/2016
2.14.2 564,166 4/27/2016
2.14.1 88,933 4/20/2016
2.14.0 34,946 4/17/2016
2.13.5 3,062,569 11/29/2015
2.13.4 10,242 11/29/2015
2.13.3 9,781 11/28/2015
2.13.2 1,660,402 6/27/2015
2.13.1 251,616 6/9/2015
2.13.0 453,725 4/17/2015
2.12.0.2 47,119 4/15/2015
2.12.0.1 9,465 4/14/2015
2.12.0 21,584 4/11/2015
2.11.1.1 174,572 3/5/2015
2.11.0 320,738 2/17/2015
2.10.0 302,411 12/8/2014
2.9.1 87,154 12/8/2014
2.9.0 6,946 12/8/2014
2.8.4 333,875 11/14/2014
2.8.3 18,835 11/11/2014
2.8.2 221,497 10/14/2014
2.8.1 10,907 10/10/2014
2.8.0 30,921 10/2/2014
2.7.1 258,077 8/30/2014
2.7.0 362,380 6/19/2014
2.6.1 54,046 6/5/2014
2.6.0 44,672 5/14/2014
2.5.0 234,381 3/7/2014
2.4.1 115,105 2/11/2014
2.4.0 257,952 1/25/2014
2.3.0 168,359 12/17/2013
2.2.2 745,550 7/10/2013
2.2.1 12,734 7/4/2013
2.2.0 50,166 7/2/2013
2.1.1 27,701 6/21/2013
2.1.0 11,079 6/19/2013
2.0.1 8,422 6/14/2013
2.0.0 202,271 6/13/2013
2.0.0-beta2 6,087 6/7/2013
2.0.0-beta1 7,663 4/24/2013
1.17.0 156,687 3/13/2013
1.16.0 15,545 3/9/2013
1.15.0 12,308 3/3/2013
1.14.0 34,678 1/25/2013
1.13.0 42,226 12/18/2012
1.12.1 15,312 11/13/2012
1.12.0 8,202 11/10/2012
1.11.0 6,798 11/10/2012
1.10.0 11,544 11/3/2012
1.9.2 9,240 10/24/2012
1.9.1 6,666 10/24/2012
1.9.0 7,266 10/21/2012
1.8.0 15,964 9/15/2012
1.7.0 14,824 8/15/2012
1.6.0 7,590 8/2/2012
1.5.0 16,600 7/13/2012
1.4.0 38,372 4/13/2012
1.3.0 10,947 3/11/2012
1.2.0 32,173 2/10/2012
1.1.2 7,903 1/11/2012
1.1.1 7,055 1/7/2012
1.1.0 18,409 10/11/2011
1.0.0 8,117 9/10/2011
0.16.0 7,180 9/7/2011
0.15.0 7,612 7/9/2011
0.14.0 6,719 7/6/2011
0.13.0 10,228 2/15/2011
0.12.0 233,599 2/1/2011

Added Features:
-References mapping works for whole mapping tree, not just a single level.
-Auto mapping by property name is used if no map is specified.
-Multiple maps can be used for a configuration.
-Exceptions are no longer wrapped. More details are now available in Exception.Data["CsvHelper"].
-Config option for reading and writing from properties that have private get and set accessors.
-Configuration.CultureInfo settings instead of Configuration.UseInvariantCulture
-CsvConfigurationException if no mappings are found.
-Removed attribute mapping.
Bugs Fixed:
-Parser can read data with \0 in them.