http://opencsv.sourceforge.net/
Answer from Francis Upton IV on Stack OverflowMedium
medium.com › @deephavendatalabs › a-high-performance-csv-reader-with-type-inference-4bf2e4baf2d1
A High-Performance CSV Reader with Type Inference | by Deephaven Data Labs | Medium
February 24, 2022 - We benchmarked Apache Commons CSV, FastCSV, Jackson CSV, OpenCSV, SimpleFlatMapper, and SuperCSV.
Which CSV Library is Good, Well supported in the Java? Looking for Suggestions?
Please ensure that: Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions You include any and all error messages in full You ask clear questions You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions. Trying to solve problems on your own is a very important skill. Also, see Learn to help yourself in the sidebar If any of the above points is not met, your post can and will be removed without further warning. Code is to be formatted as code block (old reddit: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png ) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc. Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit. Code blocks look like this: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } } You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above. If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures. To potential helpers Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice. I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns. More on reddit.com
java - CsvToBean equivalent for apache-commons-csv? - Stack Overflow
I've read about a dozen tutorials showing how to use OpenCSV and apache-commons-csv to parse CSV files. That's all nice and works for me. But one thing always catches my attention: OpenCSV has the More on stackoverflow.com
Comparisons among Java-based CSV parsers
I've hardly reviewed any of these, so I can't really ompare them usefully, but I've been using the Apache Commons CSV parser 1.0 version recently (finally released after who knows how many years in semi-hibernation!), and it's been pleasant to work with thus far · Definitely applaud the effort, ... More on news.ycombinator.com
Benchmarking every (working) CSV parser for Java in existence.
To put this in perspective, the slowest parser handled 300,000 rows per second. I suppose it's possible for CSV parsing to be a significant part of a CPU-bound workload, but every time I've run into CSV it was ETL-type work and invariably I/O-bound. The stability and usability of a CSV library are going to be much larger factors for me than performance. Except for the time I wrote a horrible CSV-parsing regex. That actually was CPU-bound. ;) More on reddit.com
Stack Abuse
stackabuse.com › reading-and-writing-csvs-in-java-with-opencsv
Reading and Writing CSVs in Java with OpenCSV
February 20, 2019 - The CSVReader allows fetching a ... beans, and direct mapping from a CSV to a Java Map using the header row. OpenCSV does not have as wide a variety of pre-defined formats as Apache Commons CSV....
Stack Abuse
stackabuse.com › libraries-for-reading-and-writing-csvs-in-java
Libraries for Reading and Writing CSVs in Java
February 20, 2019 - Just like Apache Commons CSV, OpenCSV operates with an Apache 2.0 license.
GitHub
github.com › uniVocity › csv-parsers-comparison
GitHub - uniVocity/csv-parsers-comparison: Comparisons among all Java-based CSV parsers in existence · GitHub
OpenCSV · 2205 ms · 85% 2198 ms · 2214 ms · JCSV Parser · 2227 ms · 87% 2210 ms · 2250 ms · Oster Miller CSV parser · 2323 ms · 95% 2316 ms · 2334 ms · Java CSV Parser · 2437 ms · 105% 2428 ms · 2454 ms · Simple CSV parser · 2510 ms · 111% 2472 ms · 2609 ms · Gen-Java CSV · 2590 ms · 118% 2542 ms · 2609 ms · Apache Commons CSV ·
Starred by 277 users
Forked by 53 users
Languages Java 81.5% | HTML 18.5%
Reddit
reddit.com › r/javahelp › which csv library is good, well supported in the java? looking for suggestions?
r/javahelp on Reddit: Which CSV Library is Good, Well supported in the Java? Looking for Suggestions?
February 9, 2025 -
Planning to use a CSV library with Java.
I am looking for a well supported ,maintained opensource csv library for Java ecosystem.
Do not want to Write my Own.
Permissive License library preferred like MIT or Apache for easy integration with commercial Applications.
CSV size of around 100,000 to 500,000 lines per file. Each line 10 CSV variables.
Any Suggestions?
FastCSV
fastcsv.org › other-libraries
Other libraries | FastCSV
Right after Apache Commons CSV, Opencsv is one of the most popular libraries for reading and writing CSV files in Java.
Repository https://github.com/osiegmar/FastCSV
Stack Overflow
stackoverflow.com › questions › 72689135 › csvtobean-equivalent-for-apache-commons-csv
java - CsvToBean equivalent for apache-commons-csv? - Stack Overflow
I've read about a dozen tutorials showing how to use OpenCSV and apache-commons-csv to parse CSV files. That's all nice and works for me. But one thing always catches my attention: OpenCSV has the CsvToBean untility class which makes it so nice to convert CSV data to Java POJOs.
Iseib
saude.iseib.edu.br › aefh › opencsv-vs-apache-commons-csv.html
Iseib
43 * 44 * @return If the field is . This example works with the csv file bean_test. License. OpenCSV是最简单易懂的CSV解析器之一,它使用标准的 Reader / Writer 类并在顶部提供了 CSVReader 实施。 就像Apache Commons CSV一样,OpenCSV具有Apache 2.
GitHub
github.com › robert-bor › CSVeed › wiki › Comparison-of-Java-CSV-libraries
Comparison of Java CSV libraries
Commons CSV · Flatpack · JavaCSV · opencsv · Super CSV · jcsv · CSVeed · Repository · - Maven Central entry · yes · yes · yes · yes · yes · yes · yes · - Source in Maven · yes · no · no · yes · yes · yes · yes · - Dependencies · none · JDOM, JExcelapi ·
Author 42BV
Hacker News
news.ycombinator.com › item
Comparisons among Java-based CSV parsers | Hacker News
October 5, 2014 - I've hardly reviewed any of these, so I can't really ompare them usefully, but I've been using the Apache Commons CSV parser 1.0 version recently (finally released after who knows how many years in semi-hibernation!), and it's been pleasant to work with thus far · Definitely applaud the effort, ...
Reddit
reddit.com › r/programming › benchmarking every (working) csv parser for java in existence.
r/programming on Reddit: Benchmarking every (working) CSV parser for Java in existence.
October 5, 2014 - If you read the license document in the project source, you'll find it is the Apache 2.0 license. Just because we offer commercial support for companies does not mean univocity-parsers is some sort of evil. It is free you can get the source code, modify it, create your own project based on its source code, etc. ... In case of opencsv we are talking about like 100 lines of code doing the work. CSVParser.java at lines 196 and ahead.
Reddit
reddit.com › r/javahelp › popular csv library?
r/javahelp on Reddit: Popular CSV library?
January 26, 2024 -
I am new to Java and not looking for concrete programming help, but for a library recommendation for reading CSV files. I am looking for a popular and maintained library. Which ones can you recommend?
Libhunt
java.libhunt.com › compare-opencsv-vs-commons-csv
opencsv vs Apache Commons CSV - Awesome Java - LibHunt
Compare opencsv and Apache Commons CSV's popularity and activity. Categories: CSV.
Apache Commons
commons.apache.org › csv
Home – Apache Commons CSV
July 30, 2025 - Apache Commons, Apache Commons CSV, Apache, the Apache logo, and the Apache Commons project logos are trademarks of The Apache Software Foundation.
Medium
medium.com › @zakariafarih142 › mastering-csv-parsing-in-java-comprehensive-methods-and-best-practices-a3b8d0514edf
Mastering CSV Parsing in Java: Comprehensive Methods and Best Practices | by Zakariafarih | Medium
November 25, 2024 - Understanding the strengths and limitations of each method enables you to choose the best approach tailored to your project’s needs. For quick and straightforward parsing, Java’s built-in I/O classes might suffice. However, for handling intricate CSV structures and ensuring reliability, adopting established libraries like OpenCSV or Apache Commons CSV is advisable.
Libhunt
java.libhunt.com › compare-commons-csv-vs-opencsv
Apache Commons CSV vs opencsv - Awesome Java - LibHunt
Compare Apache Commons CSV and opencsv's popularity and activity. Categories: CSV.
Libhunt
java.libhunt.com › commons-csv-alternatives
Apache Commons CSV Alternatives - Awesome Java - LibHunt
June 8, 2025 - - Apache Commons CSV VS opencsv · Simple CSV parser with a commercial-friendly license. * Code Quality Rankings and insights are calculated and provided by Lumnify. They vary from L1 to L5 with "L5" being the highest. Do you think we are missing an alternative of Apache Commons CSV or a related project?