Papa Parse
CSV parser that handles large files and malformed input
...Malformed CSV is handled gracefully with a detailed error report. Now the fastest JavaScript CSV parser for the browser. Papa can handle files gigabytes in size without crashing. CSV to JSON and JSON to CSV. Auto-detect delimiter, open local files, download remote files, stream local and remote files, multi-threaded, header row support, type conversion, skip commented lines, fast mode, graceful error handling, and optional sprinkle of jQuery. Specify a step callback to receive the results row-by-row. This way, you won't load the whole file into memory and crash the browser. ...