# GraphHopper

[BASE product page](<https://base.akulich.dev/en/library/graphhopper/>) · [Resource](<https://graphhopper.com/>)

ID: graphhopper · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A Java routing engine based on OpenStreetMap: a library or HTTP server for distances, directions, and travel profiles; the cloud API is separate\.

## Type

Geospatial app component

## Entry type

tool

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/graphhopper/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/graphhopper/#resource-access>)

The open source component used locally or self\-hosted for the stated workflow, within its license terms\.

## [Paid features and costs](<https://base.akulich.dev/en/library/graphhopper/#resource-access>)

Your own server, external APIs, and compute; managed cloud hosting, support, and additional commercial features if selected\.

## [Access and limitations](<https://base.akulich.dev/en/library/graphhopper/#resource-access>)

Code licensing and hosting costs are separate matters\. Check the conditions for the specific version and edition\.

## [Use cases](<https://base.akulich.dev/en/library/graphhopper/#resource-tasks>)

- Add route calculation to an app
- Build a route with the local engine and compare it against control points

## Category IDs

- backend

## Subcategory IDs

- backend\.geospatial

## Tags

- GraphHopper
- Geospatial application component

## [Selection purpose](<https://base.akulich.dev/en/library/graphhopper/#resource-selection>)

Add route calculation to an app

## [Choose this when](<https://base.akulich.dev/en/library/graphhopper/#resource-selection>)

- Add route calculation to an app
- Build a route with the local engine and compare it against control points

## [Requirements](<https://base.akulich.dev/en/library/graphhopper/#resource-selection>)

- The local web\-service scenario requires a JVM, configuration file, and map data; check version requirements against the chosen branch\.

## [Limitations](<https://base.akulich.dev/en/library/graphhopper/#resource-selection>)

- Costs and limits of free use: Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.
- Terms of use: Apache\-2\.0
- Mobile offline routing is no longer officially supported\. CH preparation requires time/resources and limits speed mode to predefined profiles\.

## [Questions before use](<https://base.akulich.dev/en/library/graphhopper/#resource-faq>)

### What can you use for free in GraphHopper?

The openly available portion, used locally or self\-hosted for the stated use case within its license terms\.

### What additional costs might arise with GraphHopper?

Your own server, external APIs, and computing resources; managed cloud hosting, support, and additional commercial features if selected\.

### What terms of use matter for GraphHopper?

Apache\-2\.0

### How do you get started with GraphHopper?

Set up GraphHopper to test: Regional OSM data, a travel profile, and coordinate pairs\. Build a route with the local engine and compare it against control points\. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

### How do the routing engine and Directions API differ?

The routing engine works as a Java library or standalone web server with OSM/GTFS data, routes, isochrones, and map matching for GPX traces\. Directions API is a separate commercial offering\. Speed mode uses precomputed CH and predefined vehicle profiles; hybrid/flexible modes have different conditions for changing parameters\.

## Sources for the selection guide

- [https://graphhopper\.com/](<https://graphhopper.com/>)
- [https://raw\.githubusercontent\.com/graphhopper/graphhopper/master/README\.md](<https://raw.githubusercontent.com/graphhopper/graphhopper/master/README.md>)
- [https://raw\.githubusercontent\.com/graphhopper/graphhopper/master/LICENSE\.txt](<https://raw.githubusercontent.com/graphhopper/graphhopper/master/LICENSE.txt>)
- [https://github\.com/graphhopper/graphhopper](<https://github.com/graphhopper/graphhopper>)

## [Possible workflow](<https://base.akulich.dev/en/library/graphhopper/#resource-scenario>)

Add route calculation to an app

A possible workflow; this is not a report of hands-on testing.

## Before you start

- Regional OSM data, a travel profile, and coordinate pairs\.
- A test project and completion criteria for the task: Add route calculation to an app\.

## Steps

1. Set up GraphHopper to test: Regional OSM data, a travel profile, and coordinate pairs\.
2. Build a route with the local engine and compare it against control points\.
3. Integrate the checked version into your project; document its configuration, limitations, and recovery method\.

## Check your result

- The graph matches the region and profile; OSM data and cloud API terms differ\.
- Check the result against a reference example; separately confirm the terms of any assets and external services used\.

## [License](<https://base.akulich.dev/en/library/graphhopper/#resource-license>)

Apache\-2\.0

## License explanations for the specified scope

### Apache 2\.0 — permissive license with patent terms

You can use and modify the code in commercial and closed\-source projects\. When distributing it, retain the license and relevant notices, identify modified files, and include NOTICE if provided\. Authors grant a limited patent license for their contributions; it does not grant permission to use trademarks\.

[License terms](<https://www.apache.org/licenses/LICENSE-2.0>)

## [Sources](<https://base.akulich.dev/en/library/graphhopper/#resource-sources>)

- [Official website](<https://graphhopper.com/>)
- [Project documentation](<https://raw.githubusercontent.com/graphhopper/graphhopper/master/README.md>)
- [License for the selected component](<https://raw.githubusercontent.com/graphhopper/graphhopper/master/LICENSE.txt>)
- [Source code](<https://github.com/graphhopper/graphhopper>)

## Editorial review date

2026\-10\-06

## Editorial review scope

Purpose and published conditions were reviewed against primary sources on 06\.10\.2026\. The software was not installed, and quality and performance in a specific environment were not tested\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
