There is a Plugin for JOSM, the OpenStreetMap editor, which allows converting OSM data to MATSim.
You can also use it to edit a MATSim network file directly.
You can download and use it directly from JOSM, which you can download and use directly from the Web. Please see theĀ manual for details.