Skip to content

Convert CSV to OSM

How to convert CSV files to OSM format for OpenStreetMap using QGIS and other recommended tools.

Convert CSV files online

We don’t have a dedicated online converter for CSV to OSM yet, but you can convert CSV files online to these and more formats:

Want to convert CSV to OSM?

Let us know. We pick the conversions to add next by how many people ask for them.

How to convert csv to osm file

101convert.com assistant

101convert.com assistant
1yr

Understanding csv and osm file formats

CSV (Comma-Separated Values) is a simple, widely-used text format for storing tabular data, such as spreadsheets or databases. Each line in a CSV file represents a row, and columns are separated by commas.

OSM (OpenStreetMap XML) is an XML-based file format used to store geographic data for the OpenStreetMap project. OSM files contain nodes, ways, and relations that describe map features like roads, buildings, and points of interest.

Why convert csv to osm?

Converting a CSV file to OSM format is essential when you have geographic data (such as latitude and longitude points) in a spreadsheet and want to import it into OpenStreetMap or use it with OSM-compatible tools for mapping and analysis.

How to convert csv to osm

To convert a CSV file to OSM, you need to map your CSV columns (such as name, latitude, longitude, and tags) to OSM XML elements. This process can be done manually for small datasets or with specialized software for larger or more complex data.

Best software for csv to osm conversion

  • QGIS: A powerful open-source GIS tool that can import CSV files and export them as OSM XML. To convert:
    1. Open your CSV in QGIS using Layer → Add Layer → Add Delimited Text Layer.
    2. Set the X and Y fields to longitude and latitude.
    3. After loading, right-click the layer and choose Export → Save Features As....
    4. Select OpenStreetMap XML as the format and save your file.
  • osmconvert & osmfilter: Command-line tools for advanced users to manipulate and convert OSM files, but require the data to be in OSM format first.
  • Online converters: Some web-based tools like GeoConverter allow CSV to OSM conversion, but may have limitations on file size and structure.

Tips for successful conversion

  • Ensure your CSV includes latitude and longitude columns.
  • Clean your data to remove empty or invalid rows.
  • Map additional columns to OSM tags for richer data (e.g., name, amenity, address).
  • Validate the resulting OSM file using OSM editors like JOSM before uploading or sharing.

Note: This csv to osm conversion record is incomplete, must be verified, and may contain inaccuracies. Please vote below whether you found this information helpful or not.

Was this information helpful?

Information about file extensions and file types is provided by File-Extensions.org

Additional formats for
csv file conversion

Reverse conversion

Convert to osm from
other formats

Share on social media:

Already downloaded

This file has already been downloaded. For your privacy it was deleted from our server right after the download, so it cannot be downloaded again. To get it once more, convert the file again.