Open files in VS Code and Cursor / Science data

Shapefile to GeoJSON in VS Code

Open the .shp in Map Viewer and run Convert to GeoJSON, KML or CSV. It saves GeoJSON in longitude/latitude (WGS 84), reprojected from the .prj file, with every attribute kept. The same tool turns KML or KMZ into GeoJSON. The map, the attribute table and reprojection on screen are free; the conversion is a Zovo Pro tool with 3 free tries, then USD 19 once.

Install in VS CodeMarketplace pageOpen VSX (Cursor, Windsurf, VSCodium)

Free, MIT license. Extension ID zovo.zovo-geo-map-viewer, version 0.2.2. Needs VS Code 1.90.0 or newer.

Also free from Zovo: TIFF Viewer & TIF Viewer, VS Code Marketplace · Open VSX (Cursor, Windsurf).

The countries shapefile on the offline map in Map Viewer, with France outlined, the attribute table filtered to Europe and the side panel showing the coordinate system and Copy GeoJSON.
The countries shapefile on the offline map in Map Viewer, with France outlined, the attribute table filtered to Europe and the side panel showing the coordinate system and Copy GeoJSON.

Steps in VS Code

  1. Install GeoJSON, KML & GPX Viewer from the Marketplace, or press Ctrl+P (Cmd+P on macOS) and run ext install zovo.zovo-geo-map-viewer.
  2. Click the .shp file in the Explorer, with its .dbf, .prj and .cpg next to it. For a .zip that holds a shapefile, right-click it and pick Open in Map Viewer.
  3. Check the map and the attribute table. The side panel shows the coordinate system read from the .prj file.
  4. If there is no .prj file, type an EPSG code, a proj4 string or WKT in the panel.
  5. Right-click the file in the Explorer and pick Convert, or run Convert to GeoJSON, KML or CSV from the Command Palette (type Zovo Pro or Map Viewer).
  6. Choose GeoJSON and save. The first 3 runs are free, and a try counts only when the file is saved, so Cancel or Escape costs nothing.
  7. For KML to GeoJSON, do the same with a .kml or .kmz file.

Where Zovo Pro saves time

The map viewer is free: every format, the attribute table, filters, reprojection from the .prj file, PNG export, and Copy GeoJSON of one selected feature. Saving a whole file as GeoJSON is the Pro tool Convert to GeoJSON, KML or CSV.

Batch convert a folder to GeoJSON converts every map file in a folder and its subfolders to GeoJSON in WGS 84 in one run. A report lists each file as converted, skipped or failed.

With Convert to GeoJSON, KML or CSV (Zovo Pro)

  1. Run Batch convert a folder to GeoJSON from the Command Palette (type Zovo Pro or Map Viewer).
  2. Pick the folder. Every map file in it and its subfolders is converted to GeoJSON in WGS 84.
  3. Read the report: each file is listed as converted, skipped or failed.

Convert to GeoJSON, KML or CSV works 3 times on your computer before it asks for a license, and a try counts only when you get a result. Opening a file shows no popup and no countdown.

Pay by card, USD 19 onceGitHub SponsorsPayPal

Zovo Pro costs USD 19 once. It is not a subscription, and it turns on the Pro tools in every Zovo extension, not only GeoJSON, KML & GPX Viewer. After a card payment (Stripe) your license key shows on the next page. In VS Code, run "Zovo Pro: Enter Zovo Pro license key" from the Command Palette and paste it. The key is checked on your computer, with no network call. With GitHub Sponsors, pick the "$19 one time" tier, then run "Zovo Pro: I already paid: unlock with GitHub Sponsors" and sign in with the same GitHub account. With PayPal, send USD 19 with "Zovo Pro" in the note and the key comes by email within a day.

A team of 5: USD 59 once, by card or by PayPal. Every rule and every Pro tool is on the Zovo Pro page.

Steps in Cursor, Windsurf or VSCodium

  1. Open the Extensions view with Ctrl+Shift+X (Cmd+Shift+X on macOS).
  2. Search for zovo.zovo-geo-map-viewer and click Install. Cursor, Windsurf and VSCodium install from Open VSX, where it is published as zovo/zovo-geo-map-viewer.
  3. If your editor has no gallery, download the .vsix from the Open VSX page and run "Extensions: Install from VSIX...".
  4. Then use it the same way as in VS Code.

What GeoJSON, KML & GPX Viewer handles

What it does not do

Other options

Install counts and Open VSX status were checked on 10 November 2026. Descriptions in quotes are the extensions' own.

Questions

How do I convert KML to GeoJSON?

Open the .kml or .kmz and run Convert to GeoJSON, KML or CSV. KML folders, styles, MultiGeometry and gx:Track are read. ogr2ogr and QGIS can do it too.

What if my shapefile has no .prj file?

Type the EPSG code, a proj4 string or WKT in the panel. The converter reprojects from the CRS you type.

Can I copy one feature as GeoJSON for free?

Yes. Click the feature on the map and use Copy GeoJSON in the side panel. Saving the whole file is the Pro tool.

Is my data uploaded?

No. The webview content security policy allows no remote address, the basemap is a file inside the extension, and there is no telemetry.

Does it work in Cursor or Windsurf?

Cursor and Windsurf install extensions from Open VSX. Search for GeoJSON Viewer in their Extensions view and install it there.

More about GeoJSON, KML & GPX Viewer

Read the GeoJSON, KML & GPX Viewer page for every feature and setting, or the source code on GitHub.

Support this work

If this extension saves you time, you can support the work on GitHub Sponsors. Monthly tiers start at $5, and one-time tiers start at $15. Sponsorship is optional, and the tool works the same without it.

Need your format supported?

Open a format request with a sample file, and I reply there whether it can be done. For USD 299 once, through this GitHub Sponsors tier, I add your file format or a missing feature to this extension, with tests, within 7 days.