How to Make Interactive Maps for Free
You don't need an expensive subscription to Google Maps, Mapbox or Esri to create your own interactive web maps. There is a growing collection of free, open-source tools that allow you to build sophisticated, customised maps that can be published online without paying for mapping software or map tiles.
My own mapping projects are built almost entirely using a lightweight toolkit of open-source and browser-based tools. This allows me to find geographical data, edit and refine it, design custom map styles and turn everything into interactive maps using JavaScript.
Here is how you can get started building your own interactive map for free.
1. MapLibre and Leaflet – Create Your Interactive Map
MapLibre is an excellent open-source alternative to commercial mapping platforms such as Mapbox, the Google Maps API and Esri.
MapLibre GL JS is a JavaScript library that allows you to display interactive maps on your website. You can add markers, draw lines and polygons, display geographical datasets, create 3D visualisations and build all sorts of custom map-based applications. It is particularly powerful when working with vector tiles and custom map styles.
Another excellent option is Leaflet.js, a lightweight open-source JavaScript library for creating interactive maps. Leaflet is particularly easy to get started with and is ideal for maps featuring markers, popups, lines and polygons. It has a large collection of plugins that allow you to extend its functionality.
The main difference is that Leaflet is often the easier starting point for straightforward interactive maps, whereas MapLibre offers more advanced capabilities for custom vector maps, 3D buildings, terrain and sophisticated map visualisations.
You could also investigate OpenLayers, another powerful open-source mapping library. It supports a wide range of geographical data formats and mapping services, making it particularly useful for more complex GIS applications.
If you want to go further and create 3D globes and virtual representations of the Earth, CesiumJS is another interesting free option.
All these libraries provide the software for displaying and interacting with maps. They don't necessarily provide the underlying map data or tiles, which brings us to the next step.
2. OpenFreeMap and VersaTiles – Get Free Map Tiles
MapLibre and Leaflet provide the software to display your map, but you'll also need a source of underlying map tiles.
OpenFreeMap is a particularly useful option. It provides free global map tiles based on OpenStreetMap data, which you can use with MapLibre.
This makes it an excellent alternative to subscription-based map tile providers such as Mapbox. You can use its hosted map styles without having to pay for a monthly subscription or worry about usage-based mapping charges.
Another project worth exploring is VersaTiles, a completely free and open-source software (FLOSS) stack for generating, distributing and using map tiles based on OpenStreetMap data.
VersaTiles offers two ways to use its mapping infrastructure. You can host your own map tile server, giving you complete control over your mapping infrastructure, or use its free hosted tile server at tiles.versatiles.org.
The hosted service provides OpenStreetMap vector tiles and ready-made map styles that can be used directly with MapLibre. You don't need an API key or subscription, making it particularly easy to get started.
There are a few caveats: the hosted server is provided as a demo service without guaranteed uptime, and its styles and libraries can change. It is therefore a great option for experimenting and smaller projects, while developers needing a more reliable production service can host their own VersaTiles server.
A third option is Protomaps, which offers another interesting approach to serving map tiles.
Protomaps uses PMTiles, a format that packages map tiles into a single file. Rather than running a conventional tile server, you can host this file on ordinary static file hosting or cloud storage and use it with MapLibre. This can be particularly useful if you want to host your own mapping data without maintaining a dedicated tile server.
Between hosted services such as OpenFreeMap and VersaTiles, and self-hosted solutions such as VersaTiles and Protomaps, there are plenty of ways to obtain map tiles without paying commercial subscription fees.
3. Maputnik – Design Your Own Map Style
If you want something more distinctive than a standard street map, Maputnik is a free, browser-based visual editor for designing custom map styles.
It works with MapLibre-compatible styles and allows you to customise almost every aspect of your basemap.
You can change the colours of roads, rivers, parks and buildings, adjust the appearance of labels, hide unwanted features and create entirely new visual styles.
Maputnik is particularly useful because you don't need to write the style code yourself. You can make changes visually and export the resulting style as a JSON file to use in your MapLibre project.
This means you can create a map that looks completely different from the standard street maps provided by OpenFreeMap.
4. Overpass Turbo – Find OpenStreetMap Data
Once you have your basemap, you'll probably want to add some of your own geographical information.
Overpass Turbo is a fantastic free tool for searching and extracting data from OpenStreetMap.
OpenStreetMap contains an enormous amount of geographical information, including roads, buildings, rivers, parks, shops, landmarks and countless other features.
Overpass Turbo allows you to search this database using queries. For example, you could extract all the castles in England, every railway station in London or all the pubs within a particular area.
You can visualise your results directly on a map and export the data in GeoJSON format, which can then be loaded into MapLibre.
There are also other ways to obtain OpenStreetMap data, depending on what you need.
Geofabrik Downloads provides ready-made OpenStreetMap extracts organised by continent, country and region. This is particularly useful when you want a large dataset rather than extracting individual features with an Overpass query.
BBBike Extract Service offers another approach. It allows you to select a geographical area and download the OpenStreetMap data for that area in a variety of formats. This is particularly useful when you want data for a particular city or region.
In short, Overpass Turbo is great for extracting particular types of features, Geofabrik is useful for downloading entire regions, and BBBike is ideal for obtaining data for a custom geographical area.
5. geojson.io and QGIS – Draw and Edit Your Data
One of the most useful tools for working with geographical data is geojson.io.
This free online editor allows you to draw points, lines and polygons directly onto a map. You can also import existing GeoJSON files, edit their features and add descriptive information.
For example, you might use Overpass Turbo to download a collection of historical buildings, then open that dataset in geojson.io to add extra information or draw additional features.
You can export your finished work as a GeoJSON file, ready to use in MapLibre.
If you want to create interactive maps without writing any JavaScript, another useful option is uMap. It allows you to create and share maps using OpenStreetMap basemaps, adding markers, lines and polygons through a straightforward online interface.
For more substantial geographical editing, QGIS is an excellent free desktop GIS application. It can handle GeoJSON, shapefiles, raster datasets and many other formats. You can use it to create, edit, analyse and export geographical data.
QGIS is considerably more powerful than geojson.io, although it also has a steeper learning curve. If you want to work with more complicated geographical datasets without paying for commercial GIS software, it is well worth investigating.
6. Mapshaper and Turf.js – Refine and Analyse Your Data
Once you've obtained your geographical data, you may need to clean it up, simplify it or perform some geographical calculations.
Mapshaper is an excellent free browser-based tool for editing and refining geographical datasets.
It is particularly useful when working with large GeoJSON files that contain thousands of points or complicated boundaries.
You can use Mapshaper to simplify geometries, remove unwanted features, merge datasets, filter geographical information and convert between different spatial data formats.
For example, if you have downloaded a very detailed dataset of administrative boundaries, you can use Mapshaper to simplify those boundaries and reduce the file size. This can make a considerable difference to how quickly your data loads in a web map.
For more advanced geographical analysis, Turf.js is a free JavaScript library that allows you to perform spatial calculations directly in your browser.
Turf can calculate distances and areas, create buffers around geographical features, find intersections and determine whether points fall inside particular polygons.
For example, you could use Turf to identify which towns fall within a particular administrative boundary or calculate the distance between a collection of landmarks.
Mapshaper is particularly useful for preparing and simplifying geographical datasets, while Turf allows you to perform geographical calculations and transformations programmatically as part of your interactive map.
Putting It All Together
These tools provide almost everything you need to create your own interactive web maps without paying for commercial mapping software or subscription-based map tiles.
A typical workflow might look something like this:
MapLibre or Leaflet – Choose the JavaScript library that will display your interactive map.
OpenFreeMap or VersaTiles – Supply the underlying map tiles.
Maputnik – Design a custom style for your basemap.
Overpass Turbo, Geofabrik or BBBike – Find and extract geographical data from OpenStreetMap.
geojson.io or QGIS – Draw, inspect and edit your geographical features.
Mapshaper – Simplify and refine your data before adding it to your map.
Turf.js – Perform geographical calculations and spatial analysis within your application.
Protomaps – Consider hosting your own vector tiles using the PMTiles format.
You don't need to use every tool in this list. For a straightforward interactive map, Leaflet, OpenStreetMap data and geojson.io might be all you need. For more ambitious projects involving custom vector styles, large datasets and 3D visualisations, MapLibre and the other tools offer considerably more possibilities.
The beauty of this toolkit is that you can find geographical data, edit it, design your own basemap and publish a fully interactive map without needing an expensive GIS licence or commercial mapping subscription.
You will still need somewhere to host your finished map (GitHub Pages is one free option), and some basic knowledge of HTML, CSS and JavaScript will help. But the mapping tools themselves needn't cost you anything.
One important point: free software and free map data are not necessarily the same thing as unrestricted data. OpenStreetMap data is licensed under the Open Database Licence (ODbL), which includes attribution and other requirements. Always check the licence and attribution requirements of the data and tile provider you use.
If you're interested in making interactive maps, these are a great place to start.



Comments
QGIS is being used more and more in place of ESRI software as the price is right and the capabilities extensive. I use it for small projects, but I think some of your other suggestions might fit my needs with less complexity.