Skip to content

OpenTripPlanner

Self-hosted multimodal trip planner for transit agencies and map app developers

Weak copyleft (OSI) · LGPL-3.0
  • Self-hosted

Listed by , founder & editor

66

Health

Active

Overview

Stars

2,783

Last commit

today

Nov 2026

Repository age

15 years

since Jul 2011

Latest version

v2.10.0

Sep 2026

Contributors

–

19 active in 90 days

Releases

2

last 12 months

Language

Java

OpenTripPlanner (OTP) is a Java trip planning server that combines scheduled public transit with walking, cycling, bike share and ride hailing. It builds its model of the transport network from open data, mainly GTFS transit feeds and OpenStreetMap.

The server runs on any platform with a Java virtual machine, including Linux, macOS and Windows. The Maven build produces a single shaded JAR with all dependencies. Clients talk to it through GraphQL APIs. The repository includes a JavaScript client built on MapLibre, which is mainly used for testing. Most large deployments build custom front ends from reusable components or native mobile apps.

OTP applies real-time updates and alerts, so itineraries reflect disruptions and service changes. The project began in 2009 at Portland's transit agency TriMet, and version 2 is the only supported line. It is licensed under LGPL-3.0. It does not replace a single named product, but it covers what you would otherwise get from a commercial routing API.

Who it's for

Transit agencies and regional planners

It turns your GTFS and OpenStreetMap data into a public trip planning service you control.

Skip if: You want a ready-made rider app and have no developers to build a front end.

Developers of mobility and journey planning apps

The GraphQL API and real-time support let you build custom clients.

Skip if: You only need simple driving directions between two points.

Transport researchers

It runs on your own machine with open data and ships a performance test suite.

Skip if: You need a lightweight tool that runs without Java.

The problem it solves

Commercial routing APIs are priced per request and give you little control over how transit data is used. OpenTripPlanner lets you run multimodal journey planning on your own server with your own data.

Strengths

  • Combines transit, walking, cycling, bike share and ride hailing
  • Reads open standards: GTFS and OpenStreetMap
  • Applies real-time updates and alerts to itineraries
  • Single shaded JAR runs anywhere with a JVM
  • In development since 2009 with 17 recent contributors

Trade-offs

  • No polished end-user app; most deployments need a custom client
  • Requires Java and a build step for the network graph
  • Support is through chat and issue tracker, not a mailing list
  • Only version 2 is supported

Self-host OpenTripPlanner

Self-hostable
Yes

Frequently asked questions

Is OpenTripPlanner free?

Yes. It is open source under LGPL-3.0.

Can I self-host it?

Yes. It is a server you run yourself on any platform with a Java virtual machine.

What data does it need?

It builds its network from open data, primarily GTFS and OpenStreetMap.

How do clients connect?

Through its GraphQL APIs.

Similar tools in Maps and navigation

OsmAnd~

Maps and navigation

Offline OpenStreetMap navigation and map viewer for Android travelers and hikers

6.2k 1.3k today Active GPL-3.0-only

Replaces Google Maps

Street­Complete

Maps and navigation

Android and iOS app that turns simple survey questions into OpenStreetMap edits

5.2k 478 today Thriving GPL-3.0

Nominatim

Maps and navigation

Geocoding engine for OpenStreetMap data, with search by name and reverse lookup

4.6k 875 2 days ago Active GPL-3.0

wanderer

Maps and navigation

Self-hosted trail database for storing, planning and sharing GPS tracks

4.1k 212 today Thriving AGPL-3.0

AdventureLog

Maps and navigation

Self-hosted travel log and trip planner with a world map for people who travel often

3.9k 270 20 days ago Active GPL-3.0

Trail Sense

Maps and navigation

Offline Android multi-tool for hikers with compass, maps, weather and tides

3k 190 today Thriving MIT