Home / Science / Earth sciences / Remote sensing and GIS / Vector map viewerTool #893

Shapefile, GeoJSON and KML viewer: map, attribute table, geodesic area and perimeter, convert to GeoJSON, KML or CSV (WKT)

Open a zipped shapefile, GeoJSON, KML or KMZ, or a CSV with WKT, and see it on a map you can pan and zoom. Read the attribute table, get each feature's area, perimeter and length on the WGS 84 ellipsoid, and save the layer as GeoJSON, KML or CSV with WKT. Projected shapefiles (UTM, Lambert, Albers, Web Mercator) are converted to latitude and longitude. Files never leave your device.

Keep it one tap away for everyday use.

Bookmark Vector map viewer?

Press Ctrl + D now. Your browser opens its own bookmark box, where you choose the name and folder.

  1. Open file
  2. See map
  3. Attributes
  4. Convert
Nothing is uploadedWorks offline once open

Map file

GeoJSON, KML or KMZ, a shapefile as a .zip (with its .shp, .dbf, .prj and .cpg) or its files chosen together, or a CSV with a WKT column or latitude and longitude columns. Up to 50 MB in all and 200,000 features. Your files stay on this device: they are read in your browser and never uploaded.

Or paste GeoJSON, KML or CSV text

What it does

GIS layers arrive in many formats: a shapefile from a government portal, a KML from Google Earth, a GeoJSON from a web map, a table with WKT from a database. This viewer opens all of them in your browser without installing GIS software, and without sending the file anywhere:

  • draws the features on a map you can drag, zoom and pinch, over a light world coastline;
  • lists every feature in an attribute table, with its area, perimeter and length measured on the WGS 84 ellipsoid;
  • tells you the extent, the number of vertices, the coordinate system and anything odd it found (no .prj file, heights, text encoding);
  • converts the layer to GeoJSON, KML or CSV with WKT, optionally with the area, perimeter and length as new columns;
  • makes a small report (image, PDF or Word) with the map and the table.

How to use it

  1. Press Open files and choose a .geojson, .kml, .kmz, a shapefile .zip, or the .shp, .dbf, .prj and .cpg files of one shapefile together. A CSV with a column called WKT (or geometry), or with latitude and longitude columns, also works. You can paste GeoJSON or KML text instead.
  2. If the zip holds several shapefiles, choose the Layer.
  3. Drag the map to move it and scroll or pinch to zoom. Fit shows everything again. Tap a feature, or a row in the table, to see its details.
  4. Pick the units for area (m², hectares, km², acres) and length.
  5. Choose a format under Convert and download and press Download.

Projections and accuracy

GeoJSON, KML and WKT are always longitude and latitude. Shapefiles often are not: their .prj file names a map projection. The viewer reads the .prj and converts Transverse Mercator (UTM, national grids), Mercator and Web Mercator, Lambert conformal conic (one or two standard parallels, State Plane, Lambert-93) and Albers equal-area back to latitude and longitude, in metres or feet. Other projections give a clear message asking you to reproject first. There is no datum shift: a layer on an old datum (such as OSGB36) is placed within a few hundred metres, which barely changes areas. For projected shapefiles the table also shows the map-plane area, the area your GIS reports in the projection itself, for comparison.

Areas follow each edge along the geodesic (the shortest path on the ellipsoid), and are measured on the authalic sphere, which has exactly the ellipsoid’s area. Checked against PROJ’s geodesic area (pyproj 3.8, GeographicLib) on 429 polygons from 1 m² to whole continents, including rings around both poles: they agree to 3 parts in 100 million for anything over 1,000 m². Shapefile reading was checked against pyshp 3.0 on 11 test layers (points, lines and polygons with holes and several parts, Z and M types, UTF-8 and Windows-1252 text, and six projections): every coordinate and attribute matched.

Worked example

Press Use the example to load a made-up farm with three fields, a brook, a gate and a well. The table gives North meadow an area of 37.8586 ha with a perimeter of 2,473.65 m. Pond field has a pond cut out of it as a hole: its area is 39.378 ha, and its perimeter of 3,191.14 m includes the pond’s 606 m edge (the outer perimeter alone is 2,585.1 m). Wood is one feature with two parts, 36.7248 ha in all. The three fields total 113.961 ha, and the Brook is 1,900.41 m long. Tick “Add area, perimeter and length columns”, choose CSV (WKT) and download: each row gets the WKT geometry, the name, use and owner, and area_ha, perimeter_m and length_m.

Tips

  • If attribute text shows odd characters (é instead of é), the shapefile’s .cpg file is missing; the viewer guesses UTF-8 or Windows-1252 and says which it used.
  • A shapefile needs at least its .shp. Without the .dbf there are no attributes; without the .prj the coordinates are taken as longitude and latitude.
  • KML styles, images and network links are not kept; folders become a “folder” column.

FAQ

Is my data uploaded? No. The file is read by JavaScript in this page, and the page works offline once loaded.

Why is my area slightly different from my GIS? Most desktop GIS tools report the planar area in the layer’s projection unless asked for an ellipsoidal one. Compare with the map-plane area column, or with the GIS’s ellipsoidal or geodesic area.

Can it edit features? Not yet: it views, measures and converts.

Where the numbers come from

  • Shapefile and dBASE layouts: the ESRI Shapefile Technical Description (1998), an open specification; reader written by fibub. Zip files are opened with the fflate library (MIT).
  • GeoJSON (RFC 7946), KML 2.2 (OGC) and WKT (OGC Simple Features): open standards; readers and writers written by fibub.
  • Map projections (Transverse Mercator, Mercator, Lambert conformal conic, Albers equal-area): formulas from J. P. Snyder, Map Projections: A Working Manual (USGS, 1987, public domain) and C. F. F. Karney (2011); written by fibub.
  • Areas: geodesic edges (Vincenty, 1975) on the WGS 84 ellipsoid, measured on the authalic sphere; a published method, written by fibub.
  • World coastline: Natural Earth 1:110 million land outlines (public domain).
  • The example farm and its fields are made up by fibub.

Standard scientific values, such as constants, atomic weights and melting points, are facts found in every textbook; we name where ours were checked. If you are an author or publisher and want a value, a credit or a table changed or removed, tell us and we will act quickly.

Last updated 2026-11-09.

Related tools

Spectral index calculator #135 Open your own multiband GeoTIFF or one file per band. Map the bands, apply the product's scale and offset, and get NDVI, NDWI, MNDWI, NBR, EVI, SAVI, NDBI or your own normalised difference, with a coloured map, histogram, statistics, a threshold area and downloads as GeoTIFF or CSV. Files never leave your device. GPS track analyser #134 Open a GPX file or paste a CSV of time, latitude, longitude and elevation. Get the distance on the WGS84 ellipsoid, moving and stopped time, average and top speed, climbing with a noise threshold, splits per km or mile, a plan, an elevation profile and a speed chart. The file never leaves your device. DEM slope, aspect and hillshade #888 Open a digital elevation model (GeoTIFF or ESRI ASCII grid) and get slope (Horn's method), aspect, hillshade with your own sun position, and general, profile and plan curvature, as coloured maps with statistics, slope classes and an aspect breakdown. Degree grids such as SRTM are handled with the cell size worked out for each latitude. Download PNG, GeoTIFF or ASCII grid. Files never leave your device. Watershed delineation #889 Open a small DEM (GeoTIFF or ASCII grid, up to 1000 × 1000 cells), tap a stream to place the outlet, and see the area that drains to it: catchment area, perimeter, longest flow path, relief, mean slope, stream length, drainage density and Strahler order. Depressions are filled with Priority-Flood and flow follows D8. Download the outline and streams as GeoJSON, and flow accumulation and direction as GeoTIFF. Files never leave your device. UTM and MGRS converter #892 Convert a position between latitude and longitude (decimal degrees, degrees and minutes, or degrees minutes seconds), UTM with zone and band, and MGRS at any precision, on WGS 84, GRS 1980, International 1924 or Clarke 1866. Force a zone, convert a whole list from a file, and get the geodesic distance and bearings between two points. Nothing leaves your device. Tissot explorer #894 See how 11 map projections bend the world: Mercator, transverse Mercator, equirectangular, Lambert conformal conic, Albers, azimuthal equidistant and equal-area, stereographic, orthographic, Mollweide and sinusoidal. Tissot ellipses on a world map, and at any point the scale along the meridian and parallel, the areal scale and the angular distortion, compared across all projections.