Projects Issues Blogs Broadcasts Groups Events Resources
Project

CsvHelper

Library to help reading and writing CSV files

CsvHelper

Join the chat at https://gitter.im/CsvHelper/Lobby Backers on Open Collective Sponsors on Open Collective

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

Install

Package Manager Console

PM> Install-Package CsvHelper

.NET CLI Console

> dotnet add package CsvHelper

Documentation

http://joshclose.github.io/CsvHelper/

Building the Documentation

  1. Install node.js.
  2. Go into the CsvHelper/docs-src folder.
  3. Run npm start to start a local test site. Make any changes needed.
  4. Run npm run build to build the documentation files that are output to CsvHelper/docs.

License

Dual licensed

Microsoft Public License (MS-PL)

http://www.opensource.org/licenses/MS-PL

Apache License, Version 2.0

http://opensource.org/licenses/Apache-2.0

Contributing

Want to contribute? Great! Here are a few guidelines.

  1. If you want to do a feature, post an issue about the feature first. Some features are intentionally left out, some features may already be in the works, or I may have some advice on how I think it should be done. I would feel bad if time was spent on some code that won't be used.
  2. If you want to do a bug fix, it might not be a bad idea to post about it too. I've had the same bug fixed by multiple people at the same time before.
  3. All code should have a unit test. If you make a feature, there should be significant tests around the feature. If you do a bug fix, there should be a test specific to that bug so it doesn't happen again.
  4. Pull requests should have a single commit. If you have multiple commits, squash them into a single commit before requesting a pull.
  5. Try and follow the code styling already in place. If you have ReSharper there is a dotsettings file included and things should automatically be formatted for you.

Credits

Contributors

This project exists thanks to all the people who contribute. [Contribute].

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

NuGet

CsvHelper (fuget.org)
8,171,411 Total Downloads 2,807 Downloads Per Day Latest Version: 12.1.1 (January 3, 2019) Hide All Versions Show All Versions
Version Downloads Last Updated
24,140 January 3, 2019
30,437 December 13, 2018
30,761 December 5, 2018
983 December 5, 2018
7,575 December 4, 2018
2,954 December 4, 2018
1,079 December 4, 2018
613 November 23, 2018
569 November 21, 2018
46,614 November 21, 2018
1,795 November 20, 2018
574 November 20, 2018
1,721 November 20, 2018
25,175 November 13, 2018
6,183 November 12, 2018
229 November 12, 2018
6,200 November 11, 2018
646 November 6, 2018
428 November 6, 2018
683 November 6, 2018
20,943 July 12, 2018
858,579 June 8, 2018
524,958 March 15, 2018
123,887 February 23, 2018
44,448 February 21, 2018
202,600 January 19, 2018
141,828 December 15, 2017
18,855 December 13, 2017
23,156 December 8, 2017
204,422 November 8, 2017
29,272 November 1, 2017
46,539 October 25, 2017
25,276 October 19, 2017
4,412 October 19, 2017
27,266 October 11, 2017
2,154 October 10, 2017
4,606 October 10, 2017
3,225 October 9, 2017
1,427 October 4, 2017
1,445 September 26, 2017
463 September 25, 2017
526 September 19, 2017
1,202 September 7, 2017
4,907 September 6, 2017
862 September 2, 2017
9,612 July 4, 2017
8,181 June 6, 2017
1,076 May 31, 2017
10,923 May 25, 2017
8,506 April 23, 2017
292 April 21, 2017
3,171 March 30, 2017
247,495 October 4, 2016
11,456 September 9, 2016
6,377 September 6, 2016
659 September 2, 2016
585 August 30, 2016
3,412 August 26, 2016
761 April 7, 2017
602 August 25, 2016
2,256,289 September 9, 2016
13,486 September 7, 2016
45,248 August 31, 2016
187,522 July 14, 2016
121,730 July 2, 2016
16,350 June 28, 2016
98,362 June 9, 2016
16,230 June 8, 2016
227,939 April 27, 2016
43,361 April 20, 2016
7,437 April 17, 2016
471,836 November 29, 2015
3,013 November 29, 2015
991 November 28, 2015
471,918 June 27, 2015
56,417 June 9, 2015
145,601 April 17, 2015
6,927 April 15, 2015
2,713 April 14, 2015
4,828 April 11, 2015
72,225 March 5, 2015
59,906 February 17, 2015
96,224 December 8, 2014
1,996 December 8, 2014
599 December 8, 2014
36,318 November 14, 2014
10,176 November 11, 2014
51,512 October 14, 2014
2,419 October 10, 2014
11,840 October 2, 2014
36,614 August 30, 2014
98,565 June 19, 2014
16,019 June 5, 2014
26,518 May 14, 2014
86,797 March 7, 2014
50,926 February 11, 2014
29,284 January 25, 2014
33,461 December 17, 2013
161,719 July 10, 2013
3,480 July 4, 2013
15,594 July 2, 2013
8,451 June 21, 2013
2,608 June 19, 2013
1,316 June 14, 2013
9,257 June 13, 2013
522 June 7, 2013
1,234 April 24, 2013
48,066 March 13, 2013
1,705 March 9, 2013
5,444 March 3, 2013
16,771 January 25, 2013
21,764 December 18, 2012
6,402 November 13, 2012
690 November 10, 2012
533 November 10, 2012
1,890 November 3, 2012
2,028 October 24, 2012
511 October 24, 2012
1,122 October 21, 2012
6,537 September 15, 2012
7,962 August 15, 2012
1,337 August 2, 2012
10,315 July 13, 2012
10,577 April 13, 2012
2,744 March 11, 2012
11,328 February 10, 2012
1,773 January 11, 2012
711 January 7, 2012
6,066 October 11, 2011
1,149 September 10, 2011
1,033 September 7, 2011
786 July 9, 2011
734 July 6, 2011
1,477 February 15, 2011
1,449 February 1, 2011
2096
628
72
Website

{{ 'http://joshclose.github.io/CsvHelper/' | no-protocol }}

Source

{{ 'https://github.com/JoshClose/CsvHelper' | no-protocol }}

Chat

{{ 'https://gitter.im/CsvHelper/Lobby' | no-protocol }}

NuGet