HomeMaps & GPSGeoJSON Viewer

Free Online GeoJSON Viewer

Open GeoJSON files and inspect points, lines, polygons and feature properties on an interactive map. Validate structured map data locally without uploading it.

No signup
Local processing
Files stay local
No install

Drop your GeoJSON file here

Choose a .geojson or .json file from your device to view, validate and inspect map features locally in your browser. You can also paste GeoJSON text.

See an example before choosing your own file.

Prefer to paste data? Load JSONL or NDJSON directly from your clipboard.

.GEOJSON.JSONRFC 7946Maps & GPS

How to open a GeoJSON Geographic JSON file online

No registration and no installation required. FileViewerHub processes supported GeoJSON Geographic JSON files locally in your browser.

1

Drop your GeoJSON file

Drag and drop a .geojson or .json file into the upload area, or paste GeoJSON text directly. You can also try a sample.

2

Validate and inspect

The viewer validates the JSON structure, checks geometry types, coordinate ranges and polygon rings, then renders features on an interactive map.

3

Explore and export

Inspect feature properties, search and filter, view raw JSON, and export to KML, GPX or CSV. Your original file is never modified.

How to open a GeoJSON file

1. Drop or choose your .geojson or .json file in the upload area above, or click "Paste GeoJSON" to paste text directly.

2. The viewer validates the JSON structure locally in your browser - checking type, geometry, coordinates, properties and polygon rings.

3. Explore the map tab to see features rendered. Switch to the Features tab for a searchable table.

4. Check the Properties tab when you select a feature to inspect its custom properties.

5. Use the Export menu to convert to KML, GPX or CSV if needed.

What is GeoJSON?

GeoJSON is a format for encoding geographic data structures using JSON (JavaScript Object Notation), defined by RFC 7946.

GeoJSON is widely used in web mapping applications, APIs and GIS data exchange. It can represent points, lines, polygons and collections of these geometries, along with custom properties for each feature.

A GeoJSON file can be a FeatureCollection (containing multiple features), a single Feature (containing one geometry and properties), or a bare geometry object. Each feature has a geometry (the shape) and properties (the attribute data).

Because GeoJSON is plain JSON, it is easy to generate, parse and consume programmatically. It has become the de facto standard for exchanging geographic data on the web, supported by major mapping libraries, cloud platforms and developer tools.

Powerful client-side GeoJSON tools

FileViewerHub processes your GeoJSON files inside your browser for instant map rendering, geometry validation and private export without compromising your privacy.

1

Interactive Map

View points, lines, polygons and geometry collections on a pan-and-zoom map with blank, street and topographic basemap options.

2

Geometry Validation

Validate JSON structure, geometry types, coordinate ranges, polygon ring closure and null geometry with clear error messages.

3

Private Export

Inspect feature properties, search and filter, view raw JSON and export to KML, GPX or CSV. CSV output is protected against formula injection.

What you can inspect in a GeoJSON file

FileViewerHub lets you safely inspect supported GeoJSON content without uploading the file. Not every value is present in every GeoJSON file.

FeatureCollection rendering
Single Feature rendering
Bare geometry rendering
Point
MultiPoint
LineString
MultiLineString
Polygon
MultiPolygon
GeometryCollection
Null geometry support
Property table
Raw JSON view
Formatted JSON tree
Syntax errors
Geometry validation warnings
Coordinate-range warnings
Bounding box
Feature counts
Geometry counts
Search and filtering
Feature selection
Zoom to feature
Copy feature JSON

Supported geometry types

Point

A single coordinate [lon, lat]

MultiPoint

An array of point coordinates

LineString

An array of two or more coordinates

MultiLineString

An array of LineString coordinate arrays

Polygon

An array of linear rings (outer + inner holes)

MultiPolygon

An array of Polygon coordinate arrays

GeometryCollection

An array of geometry objects

Feature

A geometry with properties

FeatureCollection

An array of Feature objects

What you can inspect

  • FeatureCollection rendering
  • Single Feature rendering
  • Bare geometry rendering
  • Point
  • MultiPoint
  • LineString
  • MultiLineString
  • Polygon
  • MultiPolygon
  • GeometryCollection
  • Null geometry support
  • Property table
  • Raw JSON view
  • Formatted JSON tree
  • Syntax errors
  • Geometry validation warnings
  • Coordinate-range warnings
  • Bounding box
  • Feature counts
  • Geometry counts
  • Search and filtering
  • Feature selection
  • Zoom to feature
  • Copy feature JSON

Feature properties

Each GeoJSON Feature can have a properties object containing custom attribute data. The viewer:

  • • Displays all properties in the property inspector when a feature is selected
  • • Allows searching across property names and values
  • • Supports copying individual property values to the clipboard
  • • Preserves null property values and Unicode text
  • • Treats HTML-looking property values as text (not rendered as HTML)
  • • Shows the property count in the feature table

Coordinate order explained

GeoJSON uses [longitude, latitude] coordinate order as specified in RFC 7946. This means the first value is the east-west position (longitude, -180 to 180) and the second value is the north-south position (latitude, -90 to 90).

Example:

"coordinates": [-122.4194, 37.7749]

This represents longitude -122.4194° (West) and latitude 37.7749° (North) - San Francisco, CA.

The viewer preserves this order and does not swap longitude and latitude automatically. Coordinates are displayed with clear N/S and E/W labeling to avoid confusion.

GeoJSON vs KML

GeoJSON

  • JSON-based format
  • Primary use: web mapping, APIs
  • Coordinate order: [lon, lat]
  • No native styling
  • Flat feature list

KML

  • XML-based format
  • Primary use: Google Earth
  • Coordinate order: [lon, lat]
  • Rich style elements
  • Folder/Document hierarchy

Open GeoJSON without GIS software

You do not need QGIS, ArcGIS or any other desktop GIS software to view a GeoJSON file. FileViewerHub opens .geojson and .json files directly in your web browser, validating the structure and displaying features on an interactive map. No installation, no account and no upload required.

Programs that open GeoJSON files

QGIS (Windows, macOS, Linux)ArcGIS (Windows)geojson.io (web)Mapbox Studio (web)VS Code with GeoJSON extensions (Windows, macOS, Linux)Text editors (any)FileViewerHub (online, no install)

Is it safe to open a GeoJSON file online?

GeoJSON safety

File parsing and validation occur locally in your browser. Uploaded coordinates are not sent to FileViewerHub. Files are not stored for standard viewing. Pasted GeoJSON text is not stored in localStorage and is cleared on reset. Embedded scripts are not executed. Online map tiles may come from a third-party provider. A blank/private basemap mode avoids external tile requests.

Map files may contain home addresses, travel routes, workplace locations, exercise patterns or other sensitive geographic information. Review the file before sharing or exporting it.

View a sample GeoJSON Geographic JSON file

sample-city-features.geojson

Not sure what you'll see? Open our safe sample file as an example to preview how the viewer displays its contents.

Download sample

Frequently asked questions

What is a GeoJSON file?

A GeoJSON file is a JSON-based format for encoding geographic data structures. It can represent points, lines, polygons and collections of these geometries, along with custom properties. GeoJSON is widely used in web mapping, APIs and GIS applications. It follows the RFC 7946 specification.

How can I open GeoJSON online?

Drop your .geojson file into the FileViewerHub upload area or click "Choose GeoJSON File". You can also paste GeoJSON text directly. The viewer validates the structure locally in your browser and displays features on an interactive map. No upload, no signup, no installation.

Does FileViewerHub upload my coordinates?

No. All parsing and validation happens locally inside your browser using a Web Worker. Your GeoJSON file contents are never sent to a server. When an online basemap is enabled, map tiles may be requested from the tile provider, but your uploaded file is not sent with those requests.

What geometry types are supported?

The viewer supports all standard GeoJSON geometry types: Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon and GeometryCollection. It also supports FeatureCollection, single Feature and bare geometry objects.

What is the correct coordinate order in GeoJSON?

GeoJSON uses [longitude, latitude] coordinate order, as specified in RFC 7946. The viewer preserves this order and does not swap longitude and latitude automatically. Coordinates are displayed with clear labeling (N/S, E/W) to avoid confusion.

Can a normal JSON file be opened as GeoJSON?

Not automatically. The viewer accepts .json files but validates the internal structure. If the JSON does not contain a valid GeoJSON structure (a "type" field with a recognized GeoJSON type), the viewer shows a clear error message. Only valid GeoJSON is rendered on the map.

Why does my GeoJSON not appear on the map?

Common reasons include: invalid JSON syntax, missing or incorrect "type" field, coordinates that are not numeric arrays, coordinates outside valid ranges (-180 to 180 longitude, -90 to 90 latitude), or polygon rings with fewer than 4 coordinates. Check the Warnings tab for specific error details.

Can the viewer detect invalid coordinates?

Yes. The viewer validates every coordinate to ensure longitude is between -180 and 180, latitude is between -90 and 90, and values are finite numbers. Invalid coordinates are skipped with a warning that includes the feature number and coordinate path. The viewer does not silently move invalid coordinates to 0,0.

Can I paste GeoJSON text?

Yes. The viewer includes a paste mode where you can paste GeoJSON text directly. The text is parsed only after an explicit action, syntax errors are shown, nothing is executed, input-size limits are enforced, and pasted data is not stored in localStorage. It is cleared on reset.

Can I convert GeoJSON to KML?

Yes. The viewer can export your parsed GeoJSON data to KML, GPX (points and lines) and CSV. Note that format conversion may lose some properties or metadata. The original GeoJSON file is never modified.

Can I export feature properties to CSV?

Yes. The viewer can export the feature table to CSV, including feature type, name, layer, point count, distance, area, elevation, timestamps and property count. CSV output is protected against spreadsheet formula injection.

Is GeoJSON the same as KML?

No. GeoJSON is a JSON-based format used primarily for web mapping and APIs. KML is an XML-based format used primarily by Google Earth. GeoJSON has no native styling, while KML supports rich styles. GeoJSON uses a flat feature list, while KML supports folder hierarchy.

Why is a feature geometry null?

GeoJSON allows features with null geometry (a Feature object whose "geometry" property is set to null). This is valid per the specification. The viewer preserves null-geometry features in the feature table and shows them with a "Null" geometry type, but they cannot be rendered on the map.

Can I open a large GeoJSON file on mobile?

The viewer uses a Web Worker and virtualized rendering to handle large files, but browser memory limits apply on all devices. If a file is too large for available memory, the viewer shows a helpful message instead of crashing. Very large GeoJSON files may be better suited to desktop GIS tools.

Ready to view your file?

Drop your .geojson file above to view, validate and inspect map features and properties privately in your browser.