GeoDataViewer
Menu
Launch Studio
Theme

GeoJSON Validator Online — RFC 7946 Checker

Open a GeoJSON file or paste its text to check for structural errors. Each error includes the path to the feature, geometry, or coordinate that needs attention.

What this validates

Checks each feature and geometry, including nested GeometryCollections, for missing members and malformed coordinates.

How to use

Drop a .geojson file to check it immediately, or paste text and select Validate. Use the reported paths to find errors in your input.

Common errors detected

Examples include a latitude outside −90 to 90, a position stored as a string, a line with fewer than two positions, and a polygon ring whose last position differs from its first.

How to read an error path

$.features[1].geometry.coordinates points to the coordinates of the second feature. Array indexes start at zero. Edit the text and select Validate again.

Privacy

GeoJSON content never leaves your browser. All validation is done client-side using a lightweight parser.

Why validate GeoJSON?

A missing geometry or a malformed coordinate can keep a feature from appearing on a map. A passing check means these structural tests found no errors; it does not verify that a location is correct.

Related GeoJSON Tools

Frequently Asked Questions

What does the validator check?
It checks JSON syntax and common RFC 7946 structural rules for Features, FeatureCollections, and all seven geometry types. It checks coordinate nesting, finite numbers, line and ring lengths, and ring closure. It does not check polygon winding, self-intersections, or every RFC requirement.
Can a Feature have no geometry?
Yes. For an unlocated Feature, set geometry to null. The geometry and properties members are both required; properties may be an object or null. This checker expects nonempty coordinate arrays for located geometries.
Does this verify the coordinate reference system?
No. The checker expects longitude followed by latitude and flags values outside −180 to 180 and −90 to 90 respectively. Values in those ranges do not prove that your data uses WGS 84 or that the axes are in the right order.
Can I validate very large GeoJSON files?
The file is read and parsed in your browser. How much it can handle depends on available memory and the data; there is no fixed file-size cutoff in this tool. Validation stops after 50 errors so the report stays manageable.