Online WKT Validator

Validate Well-Known Text geometry syntax, detect coordinate anomalies, verify polygon outer and inner ring closure, and inspect PostGIS spatial strings.

Common WKT Syntax & Formatting Errors

The validator checks for common spatial data parsing pitfalls:

POLYGON((0 0, 10 0, 10 10, 0 10)) ← Missing closure First & last coordinate must match
LINESTRING(0 0) ← Insufficient points Must contain β‰₯ 2 coordinate pairs
POINT(72.57, 23.02) ← Comma between coordinates Space separates X & Y, comma separates vertices

Correct Syntax Templates

Test these compliant WKT strings directly:

POINT(2.2945 48.8584)
LINESTRING(-122.4786 37.8100, -122.4783 37.8199, -122.4780 37.8300)
POLYGON((-73.9731 40.7644, -73.9579 40.7972, -73.9818 40.8005, -73.9819 40.7681, -73.9731 40.7644))

WKT Viewer β†’

Full WKT geometry visualizer with style manager, layer toggle, and CRS reprojection.

GeoJSON Viewer β†’

Inspect GeoJSON FeatureCollections, properties, and map styling.