Free GIS viewer

Shapefile viewer online

Drop a zipped Shapefile, or the loose files it is made of, and it opens as a layer on the map. Click a feature for its attributes, filter on their values, and download the layer in a newer format. Free, no account, and the files never leave your browser.

  • ZIP, loose files or a whole folder
  • Opens without the .shx
  • Nothing is uploaded

The files that make a Shapefile

A Shapefile is not one file but a set of files with the same name. Lose one and something stops working. This is what each is for, and what the viewer does without it.

The files that make a Shapefile
FileWhat it holdsWithout it, in the viewer
.shpThe shapes: points, lines or polygons. Required.Nothing opens.
.dbfThe attributes, one row per shape. Required by the format.The shapes open without attributes.
.shxAn index into the .shp. Required by the format, and most programs refuse a Shapefile without it.Not needed. The viewer reads the .shp directly.
.prjThe coordinate system.Coordinates in degrees are used as they are. Others have to be placed by hand.
.cpgThe text encoding of the .dbf.UTF-8 is still recognised from the text itself. Anything else is read by the code page the .dbf names, or as Western European.
.sbn, .sbx, .qix, .xmlSearch indexes and metadata written by ArcGIS, QGIS or MapServer.Ignored. Safe to leave out.

What the viewer reads

It takes the files as they come.

  • A ZIP with one Shapefile or many

    Every .shp in the archive becomes a layer, in subfolders and in ZIPs inside the ZIP too.

  • Loose files or a folder

    Select the files together or drop the whole folder. Files with the same name are paired, whatever their capitals.

  • The coordinate system from the .prj

    ETRS89 / UTM, with or without the zone number in front, is converted exactly. Systems on an older national datum, such as Gauss-Krüger or British National Grid, are placed to within a few metres, and the layer says so.

  • Points, lines and polygons

    Multipoints and shapes with height values too. The height is kept in the data but not shown.

  • Text and dates as they were meant

    A .cpg is honoured in whatever spelling it uses: UTF-8, 1252, ANSI 1252, 88591. A date column is shown as a date.

  • What is left out

    MultiPatch, the 3D shape type, cannot be drawn, and a .dbf by itself is not a map. A record without a shape keeps its attributes. If the .shp is cut short, or the table has fewer rows than there are shapes, the layer opens as far as it goes and says what is missing.

When a Shapefile does not behave

The format dates from 1998, and so do its limits.

  • The layer is in the wrong place, or not on the map

    The .prj is missing or does not match the data. The viewer says the layer is not on the map yet and offers the likely systems as one-click tries: ETRS89 / UTM zone 32N or 33N, Gauss-Krüger by its zone digit. If none fits, choose Reposition on map and search 8,000+ EPSG codes.

  • The easting has two extra digits in front

    German data often writes the UTM zone number in front of the easting: 32399363 instead of 399363. The viewer recognises both, with or without a .prj, and places them the same.

  • Older German data is a few metres off

    Gauss-Krüger (DHDN) is converted with the standard datum shift, not the official correction grid, so up to a few metres can remain. Enough to check a site and its surroundings, not enough to set out a boundary. For that, ask for the data in ETRS89 / UTM, Germany's current official system.

  • Umlauts and accents are garbled

    The viewer takes the encoding from the .cpg, recognises UTF-8 without one, and otherwise uses the code page the .dbf names. Text comes out garbled only when none of that fits, typically Polish, Czech or Cyrillic text without a .cpg. Put a text file with the same name and the extension .cpg next to the .shp, containing the code page (1250 for Polish or Czech, 1251 for Cyrillic), and drop the set again.

  • Column names are cut off

    Shapefile column names end after ten characters, which is how Einwohnerzahl becomes Einwohnerz. That happened when the file was written and cannot be undone. Download as GeoPackage to stop it happening again.

What to turn a Shapefile into

Open the layer's menu, choose Download and pick a format. Every download is in WGS 84. If a filter is active, you can tick Only what the filter shows.

  • Shapefile to GeoPackage

    One file instead of five, and from then on column names of any length.

  • Shapefile to GeoJSON

    For web maps and scripts, in WGS 84 as the standard asks.

  • Shapefile to CSV

    The attributes as rows for Excel. A layer of points gets longitude and latitude columns; every layer carries its geometry as WKT.

  • A Shapefile anyone can place

    The same data in WGS 84 with a matching .prj, for someone whose program could not place the original.

Questions about Shapefiles

Which files of a Shapefile do I need?

By the specification the .shp, the .shx and the .dbf. Add the .prj so the data lands in the right place and the .cpg so text is read correctly. The viewer itself only needs the .shp.

Can I open a Shapefile without the .shx file?

Here, yes: the viewer reads the .shp directly. Most desktop programs refuse and have to rebuild the index first.

Do I have to unzip it first?

No. Drop the ZIP. If it holds several Shapefiles, each becomes its own layer.

Can I open just the .dbf?

No. The .dbf holds the attributes only. Without the .shp there is nothing to put on the map.

Can I edit the Shapefile?

You can change attribute values and download the result. To change shapes, keep every version or collect new data in the field, use Geocadra itself.

Other formats the viewer opens

Each format has its own page, because each goes wrong in its own way. The viewer also reads CSV, Excel, GPX, GML, FlatGeobuf and GeoParquet.

The Shapefile your client sent is the start

Import it into Geocadra, inspect each feature on the map with your own form, and send back a Shapefile, a GeoPackage or a CAD drawing with the results.

Sign Up Free

No credit card requiredFree trial included