Easy Overpass (Overpass Query Builder)

Build Overpass QL queries easily for OpenStreetMap data

Tag Query Builder
Query Settings
seconds
Set a value between 1-1800 seconds
Bounding Box (Optional)
// Your generated Overpass QL query will appear here
                        
Help & Examples

  1. Select the type of OSM element (Node, Way, Relation, or any)
  2. Enter the tag key (e.g., amenity, shop, tourism)
  3. Choose an operator (=, !=, ~ for regex, etc.)
  4. Enter the tag value (e.g., restaurant, cafe, hotel)
  5. Optionally, set a bounding box to limit your search area
  6. Click "Generate Query" to create your Overpass QL query
  7. Copy the query or open it directly in Overpass Turbo/Ultra

Find all restaurants in an area:
  • Element: Node/Way/Relation
  • Key: amenity
  • Operator: =
  • Value: restaurant
Find all hotels with 4 or more stars:
  • Element: Node/Way/Relation
  • Key: tourism
  • Operator: =
  • Value: hotel
  • Key: stars
  • Operator: >=
  • Value: 4
Find all cafes with WiFi (using regex):
  • Element: Node/Way/Relation
  • Key: amenity
  • Operator: =
  • Value: cafe
  • Key: internet_access
  • Operator: ~
  • Value: wlan|wifi|yes

Overpass QL is a query language for OpenStreetMap data. It allows you to extract specific data from OSM based on various criteria.

Key concepts:

  • Elements: The basic components of OSM data (nodes, ways, relations)
  • Tags: Key-value pairs that describe elements (e.g., amenity=restaurant)
  • Bounding Box: A rectangular area defined by latitude/longitude coordinates
  • Operators: = (equals), != (not equals), ~ (matches regex), etc.

For more information, see the Overpass QL documentation.

Nominatim

Nominatim is a search engine for OpenStreetMap data. It allows you to look up a location by name or address (geocoding) and generate addresses for OSM points (reverse geocoding). It's used in this tool for searching locations to set your bounding box.

Overpass API

Overpass API is a read-only API that serves up custom selected parts of the OSM map data. It's optimized for data consumers that need a few elements within a small area or up to roughly 10 million elements in some larger area. This tool generates queries that are executed against the Overpass API.

Overpass Turbo

Overpass Turbo is a web-based data mining tool for OpenStreetMap. It provides a user-friendly interface to run Overpass QL queries and visualize the results on an interactive map. You can export your queries from this tool to Overpass Turbo for visualization.

Overpass Ultra

Overpass Ultra is a modern, user-friendly interface for the Overpass API. It offers features like syntax highlighting, query validation, and map visualization. It's an alternative to Overpass Turbo with a more modern interface and additional features.

Taginfo

Taginfo helps you find the most popular OpenStreetMap tags and how they're used. It shows statistics about which tags are used together, which values are most common, and where in the world they're used. This tool uses Taginfo to provide autocomplete suggestions for tag keys and values.