How to convert a list of OSM URLs to .osm file

Hi friends, I have a list of openstreetmap links in an excel file. I want to convert these links to a .osm file. How do I accomplish this task? Thank you!

I don’t know of any program that can do this. If I had to perform the task I’d use the API to query OSM-data for each entity (node/way/relation) and paste them into an OSM format.

Hi and welcome to OSM

Links/URLs point to internet sites.
OSM-files contains nodes, ways and relations.

Could you provide more information what kind of link you’d like to convert into an OSM-file?

you can save the xls as csv, and download the resulting list with the overpass api, use text replace to format the urls to id lists that can be used in overpass