GeoJSON Validator
Validate GeoJSON files online. Check JSON syntax, GeoJSON structure, coordinates, and polygon rings.
Result
How to Validate a GeoJSON File
Our online GeoJSON Validator makes it easy to check whether your geographic data files are properly formatted according to the official specification. Simply upload your file or paste your raw code into the editor.
Upload or Paste
Drag and drop your .geojson or .json file into the drop zone, or paste your text directly into the code box.
Validation and Error Reporting
Click "Validate GeoJSON". If there are errors, the validator will provide the exact path (e.g., features[2].geometry.coordinates) and a clear explanation of what is wrong (e.g., "Latitude must be between -90 and 90").
Interactive Map Preview
If your GeoJSON is valid, the validator will automatically generate an interactive map preview showing your Points, Lines, and Polygons so you can visually verify that your coordinates are in the right place.
What the Validator Checks
- JSON Syntax: Ensures the file is valid JSON before attempting to parse it as GeoJSON.
- GeoJSON Structure: Verifies that all required properties like
type,geometry, andfeaturesexist. - Coordinate Bounds: Checks that longitude is between -180 and 180, and latitude is between -90 and 90.
- Polygon Rings: Ensures that polygon boundaries are closed (the first and last coordinates exactly match) and have at least 4 positions.
Supported GeoJSON Types
The validator supports the entire RFC 7946 GeoJSON specification, including:
- Root Elements:
FeatureCollection,Feature, or direct Geometries. - Geometries:
Point,MultiPoint,LineString,MultiLineString,Polygon,MultiPolygon, andGeometryCollection.
Privacy
Your GeoJSON data is processed entirely locally within your web browser. We never upload, store, or analyze your coordinates, properties, or filenames on our servers, ensuring your mapping data remains completely private.
Frequently Asked Questions
What is a GeoJSON validator?▼
How do I validate a GeoJSON file?▼
Can I validate GeoJSON online?▼
What does the validator check?▼
Does the validator upload my GeoJSON?▼
Can it fix invalid GeoJSON?▼
What GeoJSON types are supported?▼
Related Calculators & Tools
Online GeoJSON viewer to map and inspect your files. Upload or paste GeoJSON and instantly visualize points, lines, polygons, and properties.
View KML and KMZ files online on an interactive map. Upload a file to instantly visualize geographic data.
View GPX files online on an interactive map. Upload a GPX file to view tracks, routes, and waypoints.
