This task can be performed using CSVbox
CSV Importer For Your Web App
Best product for this task

CSVbox
dev-tools
CSVbox is a drop-in widget to add a file import feature to your web app. Allow users to upload, map and fix CSV files. You get ready-to-use data in your app, database or API.
What to expect from an ideal product
- CSVbox allows users to easily upload their CSV files directly into your web app.
- It provides an intuitive interface for users to map their CSV columns to the appropriate fields.
- The widget highlights any issues with the CSV file and allows users to fix them on the spot.
- Users can validate their data before final submission, ensuring accuracy.
- Once corrected and mapped, the data is immediately ready to be used in your app, database, or via an API.