mapbench

CSV, KML & WKT · 19 tools

CSV, KML, WKT and Polyline Tools

Not every map dataset arrives as a proper GIS file. Spreadsheets, Keyhole placemarks, WKT strings and Google's encoded polylines all carry geometry in their own way. Check a coordinate table with the CSV coordinate validator and the CSV row counter, measure a path drawn in KML with the KML path length calculator, and decode a route string with the encoded polyline decoder.

The most common failure in this family is silent: a column that looks like latitude but holds longitude, a header row counted as data, a blank coordinate parsed as zero, or a WKT polygon whose rings are not closed. Each tool reports the specific rows or coordinates it rejected instead of quietly dropping them, because a map that is missing features without saying so is worse than an error message. WKT validation covers structure and balance; it is not a geometry engine and will not tell you whether a polygon crosses itself.

For JSON-based geometry, the GeoJSON sub-hub has the equivalent checks, and for recorded tracks the GPX tools cover distance, elevation and speed. To plot a sanitised CSV on a map, use the CSV to map converter.

All csv, kml & wkt

Every tool in this family, each linked directly. Files are read in your browser; nothing is uploaded.

KML Viewer

Open supported KML placemarks on an interactive map. KMZ must be unzipped first.

Worldwide

CSV to Map

Plot latitude/longitude rows from a CSV on the map.

Worldwide

KML Path Length

Measure supported LineString path length from an uncompressed KML file.

Worldwide

CSV Lat/Lng Validator

Check a coordinate CSV before mapping — catch bad lat/lng rows.

Worldwide

WKT Validator

Check basic Well-Known Text geometry type and coordinate structure.

Worldwide

WKT Bounding Box Calculator

Calculate a bounding box from WKT coordinate pairs.

Worldwide

WKT Coordinate Counter

Count coordinate pairs in a WKT geometry string.

Worldwide

Encoded Polyline Decoder

Decode a Google-style encoded polyline into latitude/longitude points.

Worldwide

Encoded Polyline Encoder

Encode latitude/longitude points into Google-style polyline text.

Worldwide

CSV Coordinate Validator

Check how many CSV rows contain usable latitude and longitude values.

Worldwide

CSV Coordinate Deduplicator

Count unique and repeated latitude/longitude pairs in CSV data.

Worldwide

CSV Coordinate Bounding Box

Calculate the south, west, north and east extent of CSV coordinates.

Worldwide

CSV Coordinate Centroid Calculator

Calculate the arithmetic mean centre of valid CSV coordinate rows.

Worldwide

CSV Row Counter

Count non-empty data rows beneath a CSV header.

Worldwide

CSV Column Counter

Count fields in the first non-empty comma-separated header row.

Worldwide

KML Placemark Counter

Count Placemark elements in pasted KML/XML.

Worldwide

KML Coordinate Block Counter

Count coordinates elements across pasted KML geometries.

Worldwide

KML Named Placemark Counter

Count KML Placemarks that contain a direct name element.

Worldwide

Boundary KML Downloader

Download any place's boundary as a KML or GeoJSON file.

Worldwide

Other file families

Learn more