ESRI Shapefile (.shp)GeoJSON (RFC 7946)
Map Visualizer →
Free Online GIS Converter

Convert Shapefile to GeoJSON Online

Legacy ESRI Shapefiles contain multiple files (.shp, .dbf, .shx) with outdated 10-character field name limits. Converting Shapefiles to GeoJSON produces modern, web-friendly JSON compatible with Leaflet, Mapbox, GIS APIs, and web dashboards.

Input (Shapefile)

Parsed entirely in your browser — the file is never uploaded. Select the .shp; pair it with its .dbf in the editor to keep attribute columns.

GeoJSON FeatureCollection

SQL & Code Example

How to perform this conversion directly in your PostgreSQL / PostGIS database:

-- Import Shapefile directly into PostGIS via ogr2ogr
ogr2ogr -f "PostgreSQL" PG:"dbname=mydb user=postgres" parcels.shp -nln parcels -t_srs EPSG:4326

Frequently Asked Questions

Do I need to upload files to a server?+

No. WKT Studio reads the shapefile binary streams directly inside your browser client, ensuring your spatial data never leaves your computer.

Are polygon attributes preserved?+

Yes. When imported into the editor, DBF table columns are mapped directly to GeoJSON feature properties.

WKT Geometry Reference

Not sure your input is valid? Each geometry type has its own page with syntax rules, the mistake that most often breaks it, and PostGIS and Shapely recipes.

More GIS Converters