Home  >  Q&A  >  body text

Import CSV files into Firebase: Step-by-step guide

I found that we can import json files into firebase.

I'm wondering if there is a way to import a CSV file (my file probably contains about 50K or more records with about 10 columns). Does it make sense to have such a file in firebase?

P粉891237912P粉891237912246 days ago586

reply all(1)I'll reply

  • P粉762447363

    P粉7624473632024-01-22 13:06:00

    I can't answer whether it makes sense to have such a file in Firebase, you should answer that question.

    I also had to upload the CSV file to Firebase and eventually convert the CSV to JSON and use firebase-import to add my Json into Firebase.

    There are many CSV to JSON converters (even online converters). You can choose the one you like best (I personally use node-csvtojson).

    reply
    0
  • Cancelreply