How do I store Excel data into Firebase?

STEPS TO UPLOAD COUNTRY LIST IN FIREBASE:

  1. download country list with country code, currency code and currency name what you require:
  2. convert it into csv.
  3. convert csv into json from (https://codebeautify.org/csv-to-xml-json#).
  4. validate json from https://jsonlint.com/
  5. save in a file say test.json.
  6. open firebase with login.
  7. select database.
  8. click on (...) in verticle, beside + - sign,

  9. click on import.

  10. browse and select test.json file
  11. import
  12. now it is great!!!!!!! cheers!

I figured this out on my own.

First, take the Excel spreadsheet and clean it up in such a way that the first row contains the headers and everything else is the actual data. Remember that Firebase keys (which correspond to column headers) must be UTF-8 encoded which means that it cannot contain . $ # [ ] / or ASCII control characters 0-31 or 127.

Then, save it as a CSV file. For example, on Excel 2013 it would be: File > Export > Change File Type > CSV.

Then, visit various resources online that can do CSV to JSON conversion. The one I used was: http://codebeautify.org/csv-to-xml-json

Finally, take that .json file and load it into the Firebase database. Voila!