Alternatives to OSRM

A C++ routing engine that computes shortest paths on OpenStreetMap road networks on your own server. The listings below can replace it for an important use case. Each note says what changes if you switch.

The original

Replacements

Listings that take over the same core job as OSRM.

  • Valhalla

    An open-source routing engine for OpenStreetMap data that you run on your own server.

    Valhalla is a self-hosted OpenStreetMap engine that adds multi-modal routing, isochrones and dynamic per-request costing, requiring routing tiles to be built first.

  • GraphHopper

    An OpenStreetMap routing engine and hosted Directions API with route optimization for many vehicle types.

    GraphHopper offers a self-hostable OpenStreetMap routing engine plus a hosted API with custom vehicle profiles, with route optimization in paid plans.

  • openrouteservice

    An open-source routing, isochrone and geocoding service built on OpenStreetMap data, usable online or self-hosted.

    openrouteservice bundles routing with isochrones, matrices and geocoding, and offers a free public API and browser client alongside self-hosting.

  • BRouter

    An offline OpenStreetMap routing engine with configurable profiles, aimed mainly at bike routing.

    BRouter is an offline OpenStreetMap routing engine focused on bikes, with configurable elevation-aware profiles and plugging into Android map apps.

Similar software

Related functionality, not a direct replacement.