For a library for parsing csv in C#, the first results are joshclose/csvhelper (CsvHelper is a comprehensive, high-performance library for the ), servicestack/servicestack.text (This library provides high-performance CSV serialization and deserialization for ) and tinycsvparser/tinycsvparser (This library provides a high-performance, easy-to-use solution for parsing CSV files in ). apache/arrow and morelinq/morelinq round out the shortlist. Compare the match explanations and check the project documentation against your requirements.
We curate open-source GitHub repositories matching “best c sharp csv libraries”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.
CsvHelper is a library for reading and writing comma-separated value files by mapping data to custom class objects. It functions as a parsing library and data mapper that converts flat-file text into structured data objects and serializes internal data sets back into standard CSV files. The project emphasizes memory efficiency through a parser that optimizes resource consumption. It utilizes field value caching and an interned string cache to store repetitive values, which reduces memory overhead when processing large datasets. The library provides a configuration-driven parsing engine that
CsvHelper is a comprehensive, high-performance library for the .NET ecosystem that provides robust support for asynchronous I/O, LINQ integration, and flexible object mapping, making it the standard choice for CSV processing.
.NET's fastest JSON, JSV and CSV Text Serializers
This library provides high-performance CSV serialization and deserialization for .NET objects, offering a robust solution for reading and writing CSV data even though its primary focus is broader text serialization.
Easy to use, easy to extend and high-performance library for CSV parsing with .NET
This library provides a high-performance, easy-to-use solution for parsing CSV files in .NET, though it is more focused on parsing than the full suite of read-and-write features requested.
Arrow is a cross-language development platform for in-memory data. It provides a standardized, language-independent columnar memory format designed to accelerate analytical operations and improve memory efficiency on modern computing hardware. By utilizing a schema-driven approach, the framework enables the efficient organization of both flat and nested data structures. The project functions as an analytical data processing engine that facilitates high-performance computation directly on memory-resident datasets. It distinguishes itself through a zero-copy architecture, which allows multiple
This is a cross-language columnar memory format and analytical engine rather than a dedicated C# library for parsing and writing CSV files.
MoreLINQ is a functional programming toolkit and extension library for .NET that augments LINQ to Objects with advanced operators for sequence manipulation and analysis. It provides a set of tools for declarative data transformation, leveraging lazy evaluation and composition to handle complex object sequences. The library is distinguished by its specialized capabilities for combinatorial generation, including the production of permutations, subsets, and Cartesian products. It also provides advanced sequence joining options, such as full, left, and right outer joins, and supports complex data
This is a general-purpose LINQ extension library for sequence manipulation rather than a specialized tool for parsing or writing CSV files.
SheetJS is a comprehensive library for parsing, manipulating, and generating complex spreadsheet file formats. It functions as a universal data processor that maps diverse binary, XML, and text-based file structures into a unified internal object model, allowing developers to create, read, and transform workbook data programmatically. The library distinguishes itself through a portable logic layer that provides a consistent execution environment across web browsers, server-side runtimes, and native desktop or mobile applications. By utilizing stream-based processing, it handles large files in
This is a JavaScript-based library for spreadsheet manipulation rather than a native .NET library, making it unsuitable for a C# development environment.
FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro
This is an object-relational mapper for database interaction rather than a library for parsing or writing CSV files, making it a different category of data access tool.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| joshclose/csvhelper | 5.2K | C# | NOASSERTION | |
| servicestack/servicestack.text | 1.2K | C# | NOASSERTION | |
| 401 |
| C# |
| MIT |
| apache/arrow | 16.5K | C++ | apache-2.0 |
| morelinq/morelinq | 3.8K | C# | Apache-2.0 |
| sheetjs/sheetjs | 36.3K | — | Apache-2.0 |
| dotnetcore/freesql | 4.4K | C# | MIT |