GIS Format Converters
Direct Answer:Spatial data moves between four encodings in day-to-day GIS work: WKT is the human-readable OGC text form that PostGIS returns from
ST_AsText(), WKB is the compact binary the database actually stores, GeoJSON is what web maps and HTTP APIs consume, and Shapefile and CSV are how the data arrives from other people. Each converter below runs entirely in your browser — nothing is uploaded — and documents the equivalent PostGIS SQL so you can do the same conversion in the database instead.All 8 conversions
WKT → GeoJSON
Convert PostGIS ST_AsText output to JSON
GeoJSON → WKT
Generate WKT for SQL INSERT queries
WKT → WKB
Binary spatial hex encoding
WKB → WKT
Decode PostGIS binary columns
CSV → GeoJSON
Turn coordinate tables into FeatureCollections
Multiple → GeoJSON
Convert many geometries in one pass
ESRI → GeoJSON
Parse .shp into web JSON
CSV → WKT
Turn lat/lng tables into WKT points
WKT geometry reference
Converting is half the job; the other half is knowing what valid input looks like. Each geometry type has its own page with syntax rules, the mistake that most often breaks it, and PostGIS and Shapely recipes.