The free online tool at https://geoconverter.hsr.ch/ allows you to convert formats like KML and others into GeoJSON:
You can then add the GeoJSON to a map in the tab “Draw” by clicking the button “Add from GeoJSON”: