A fast, lightweight, and RFC 4180 compliant CSV library for Java with zero dependencies and a ~90 KiB footprint.
FastCSV is a CSV library for Java that provides fast, lightweight, and RFC 4180 compliant parsing and writing of CSV files. It solves the need for a high-performance, dependency-free CSV processing solution that handles edge cases correctly and is trusted in production environments.
Java developers who need efficient and reliable CSV processing in applications such as data import/export, ETL pipelines, or integration with systems like Apache NiFi, JUnit, or Neo4j.
Developers choose FastCSV for its combination of speed, minimal footprint, strict RFC 4180 compliance, and production-proven reliability, all without any runtime dependencies.
Fast, lightweight, and RFC 4180 compliant CSV library for Java. Zero dependencies, ~90 KiB. Trusted by Apache NiFi, JUnit, and Neo4j.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Benchmarks from the Java CSV library benchmark suite show optimized reading and writing, making it ideal for processing large CSV files efficiently in data pipelines.
With only ~90 KiB and zero runtime dependencies, it reduces bloat and simplifies deployment, as highlighted in the README's feature list.
Adheres to RFC 4180, ensuring reliable handling of edge cases like quoted fields and line breaks, which is emphasized as a key feature.
Trusted by major open-source projects like Apache NiFi and JUnit, and includes security fuzzing via OSS-Fuzz for robustness.
Lacks built-in object mapping, data transformation, or annotation-based parsing, requiring manual code for complex data handling compared to libraries like OpenCSV.
Requires Java 17 or higher, excluding applications on older LTS versions like Java 8 or 11, which limits adoption in legacy systems.
Strict RFC 4180 compliance may not accommodate CSV files with deviations, such as non-standard delimiters or escaping, without custom workarounds.