You can upload GeoJSON files to Mapbox as tilesets using Mapbox Tiling Service or as datasets or tilesets using the Mapbox Uploads API. You can also upload GeoJSON files to Mapbox Studio, which uses the Uploads API, as either datasets or tilesets.
There are several open source tools for converting other geospatial data formats to GeoJSON, including:
- togeojson, a Node package for converting KML and GPX (XML formats)
- ogr2ogr, a vector data conversion tool
- geojson.net for creating, converting, and editing GeoJSON
- GeoJSON specification
- Studio Manual geospatial data page: information on uploading GeoJSON as tilesets or datasets
- Example GeoJSON file: