MapTools

17 tools in this collection

Geospatial File Converters

Client-side zero-upload conversion between GeoJSON, KML, KMZ, GPX, Shapefile, CSV, and WKT.

Every tool below is free, runs in your browser, and needs no account. Browse all 157 tools →

Available Geospatial File Converters (17 Tools)

Launch interactive GIS calculators, map visualizers, and conversion utilities directly in your browser.

Filter:
GIS Pro

EPSG / CRS Converter

Transform coordinates between EPSG:4326, EPSG:3857, UTM zones, and State Plane.

Launch Tool
Converter

GPX to GeoJSON

Convert GPS tracking files (GPX) to GeoJSON LineString and Point collections.

Launch Tool
Converter

KML to GPX

Convert Google Earth KML paths into GPS tracks for Garmin and handheld navigators.

Launch Tool
Converter

GeoJSON to KML

Transform GeoJSON geometry objects and properties into Google Earth compatible KML.

Launch Tool
Fast

CSV to GeoJSON

Convert tabular spreadsheets with latitude and longitude into valid GeoJSON.

Launch Tool
Essential

Universal Geospatial File Converter

Convert between GeoJSON, KML, KMZ, GPX, and CSV formats with 100% privacy.

Launch Tool
Popular

CSV Coordinates to GeoJSON FeatureCollection

Auto-detect latitude and longitude columns from spreadsheets and export GeoJSON.

Launch Tool
Shapefile

ESRI Shapefile (.shp / .zip) to GeoJSON

Unpack zipped Shapefiles client-side and extract geometry and attributes.

Launch Tool
PostGIS

Well-Known Text (WKT) to GeoJSON

Parse OGC WKT strings from PostGIS or SQL and display on interactive map.

Launch Tool
Garmin

KML to GPX Garmin Track Converter

Convert Google Earth KML routes into GPX files for handheld outdoor GPS units.

Launch Tool
Google Earth

GPX to KML Google Earth Converter

Transform Strava or Garmin GPX tracks into styled Google Earth KML lines.

Launch Tool
TopoJSON

TopoJSON to GeoJSON Arc Decompressor

Decode shared boundary topologies into independent GeoJSON features.

Launch Tool
Export

GeoJSON to CSV Coordinate Table Extractor

Extract point coordinates and metadata properties into tabular CSV format.

Launch Tool
SQL

WKT Geometry to PostGIS SQL Generator

Generate ST_GeomFromText SQL insertion statements from WKT text.

Launch Tool
Placemark

KML Placemark Coordinates to CSV Table

Parse placemarks and waypoint names from Google Earth KML into a spreadsheet.

Launch Tool
Vector

GeoJSON to SVG Vector Path Exporter

Render geographic polygon coordinates into scalable vector graphic paths.

Launch Tool
KMZ

KMZ Compressed Archive Extractor

Decompress zipped KMZ files and retrieve the root doc.kml vector tree.

Launch Tool

Looking for something else? Explore the other 21 categories.

All categories

Frequently asked questions

Are my files uploaded to a server for conversion?

No. Every converter in this category runs entirely in your browser — the file is read on your own machine and never uploaded. That makes the tools safe for unpublished survey data, client files and field tracks.

Why does a shapefile arrive as a ZIP, and can the converter handle it?

A shapefile is a set of companion files — .shp for geometry, .shx as an index and .dbf for attributes — so it is normally shared as one ZIP. The converter accepts the ZIP directly and turns the whole set into a single GeoJSON file.

What is WKT?

Well-Known Text is a plain-text way of writing geometry: POINT (-104.99 39.74), LINESTRING, POLYGON and so on, longitude first. It is the format databases like PostGIS speak, and the WKT tool converts it to GeoJSON and draws it on a map.

Will I lose anything when converting between formats?

Geometry and basic properties convert cleanly. Format-specific extras — KML styling, GPX track metadata, shapefile field-name limits — may not all survive a round trip, so keep your original file until you have checked the output.

Geospatial Engineering Reference & Field Manual

GIS Files & Interoperability: Speaking Every Map Format

GeoJSON, KML, GPX, Shapefiles — what each format is for, how to convert between them without losing data, and how to fix the files that refuse to open. Written for Geospatial File Converters tools and the everyday mapping tasks around it.

1

Vector vs. Raster: The Two Tribes

Every map file belongs to one of two families. Vector formats store geometry as math: points with coordinates, lines as point sequences, polygons as closed rings. They scale forever, stay tiny, and carry attributes like names and populations. GeoJSON, KML, and Shapefiles are all vector.

Raster formats store grids of cells, like digital photos. Satellite imagery, scanned paper maps, and elevation models are raster. They capture continuous reality beautifully but balloon in size and pixelate when zoomed. GeoTIFF is the GIS world's raster workhorse.

Choose vector when your data is discrete things — stores, boundaries, routes. Choose raster when it is continuous — imagery, terrain, temperature surfaces. Converting vector to raster is easy (just draw it); going the other way needs tracing, by hand or with image-processing algorithms.

2

GeoJSON: The Web's Native Tongue

GeoJSON is a map format written as JSON, the same notation web developers use for data. A point looks like this — readable by humans and parseable by every browser with zero libraries. That simplicity made it the default for web maps.

{"type": "Point", "coordinates": [-74.006, 40.7128]}

Its structure is small but complete: Feature objects pair geometry with a properties dictionary, and FeatureCollections bundle many features into one file. The properties can hold anything — names, dates, measurements — which makes GeoJSON a fine carrier for analysis results, not just shapes.

GeoJSON has quirks to respect. Coordinates are always longitude-first, which trips up everyone once. It officially supports only the WGS84 datum, so reproject anything else before exporting. And it has no built-in styling — colors and icons live in a separate layer of your application, not in the file.

For big data, look at its cousins: newline-delimited GeoJSON streams features one per line for huge datasets, and FlatGeobuf packs the same model into a fast binary format. But for files under a few megabytes, plain GeoJSON remains unbeatable for simplicity.

3

KML, KMZ & GPX: Google Earth and the Great Outdoors

KML is Google Earth's native language. Beyond geometry it stores the presentation: folder hierarchies, custom icons, colors, 3D models, and even time animations. A well-crafted KML is a self-contained story — open it in Google Earth and it plays.

KMZ is simply a zipped KML, usually bundling image overlays or custom icons alongside the markup. If your KML references local images, always distribute the KMZ instead, or your recipient gets broken image links and a sad gray map.

GPX belongs to the outdoors. It is the exchange format for GPS tracks, routes, and waypoints, spoken fluently by Garmin devices, Strava, Gaia GPS, and every hiking app. A GPX track records where you went plus when — timestamps turn a line into a story of pace, rests, and that wrong turn at mile 8.

Converting between them is mostly safe for geometry. KML styling simplifies going to GPX, which has no styling at all; going the other way, your plain track gains whatever default style the viewer applies. Coordinates always survive — that is the part that matters.

4

Shapefiles: The Immortal Legacy Format

The ESRI Shapefile dates to the early 1990s and refuses to die, because three decades of government data wears its clothes. Understanding its quirks is a professional survival skill: a "shapefile" is never one file but a family — .shp holds geometry, .shx is the index, .dbf carries attributes, and .prj declares the coordinate system.

Lose the .prj and the data still draws, but its coordinate system becomes a mystery — the most common shapefile headache in existence. The .dbf, a dBase relic, truncates field names to 10 characters and mangles non-English text. Veterans keep a mental checklist: all files present, encoding declared, projection known.

For new work, prefer GeoJSON or GeoPackage. But when the county publishes parcels only as a shapefile, you work with what exists. Converters handle the translation; your job is verifying the .prj survived the trip and the attributes arrived intact.

5

Converting Without Tears

Most conversions are straightforward: coordinates map directly between formats. The data loss, when it happens, is in the extras. KML folders become flat GeoJSON properties; shapefile's 10-character field names stay truncated; GPX timestamps need a properties home in formats that lack a time field.

Reprojection deserves its own warning. If your source is in a state-plane coordinate system (feet, not degrees) and you export "as-is" to GeoJSON, web maps will fling your data to the wrong continent. Always reproject to WGS84 longitude/latitude before creating web formats — converters usually offer this as one checkbox.

Validate after converting. Open the result and check three things: the feature count matches, a known landmark sits in the right place, and the attributes you care about survived. Five minutes of checking beats discovering corruption in front of a client.

When a file will not open at all, the culprits are usually mundane: a .zip uploaded instead of extracted (or vice versa for shapefiles), truncated downloads, or text encoding mismatches. Re-download, check the file size against the source, and try again before assuming the data is bad.

6

CSV: The Humble Spreadsheet Pipeline

Half the world's spatial data starts life as a spreadsheet with latitude and longitude columns. CSV is not a GIS format at all — which is its superpower. Everyone can make one, every tool reads one, and converting it to real GIS formats takes seconds.

Clean headers are everything: name them latitude and longitude (or lat/lon) and most converters auto-detect them. Keep one row per location, use decimal degrees, and never let Excel "helpfully" reformat your coordinates into dates. That last one has ruined more datasets than any projection error.

Watch for the classic traps: rows with missing coordinates, latitudes and longitudes swapped, and text like "N/A" in numeric columns. A converter that reports skipped rows is doing you a favor — fix the source data rather than forcing it through.

From CSV, GeoJSON is the natural next step for web work, KML for Google Earth sharing, and GPX if the rows are a track in disguise. The spreadsheet was never the destination; it was the on-ramp.

7

Choosing the Right Format: A Decision Guide

Start with the audience. Sending data to a web developer? GeoJSON — it drops straight into JavaScript with no conversion. To a Google Earth user? KML, with folders and styling intact. To a hiker with a Garmin? GPX, the only format their device speaks fluently.

Next consider the toolchain. Working inside QGIS or ArcGIS? GeoPackage or shapefile fits the desktop workflow, with GeoPackage winning for new projects. Storing in a database? PostGIS ingests WKT and GeoJSON natively. Publishing an API? GeoJSON again — it is valid JSON, so it rides existing infrastructure.

Size changes the answer. Under a megabyte, human-readable formats win on convenience. Past ten megabytes, reach for binary: FlatGeobuf for vectors, COG (Cloud Optimized GeoTIFF) for rasters. They stream — clients read just the portion in view instead of downloading the world.

Finally, think about longevity. Plain-text formats (GeoJSON, WKT, CSV) will be readable in fifty years with any text editor. Proprietary binaries may not. For archives that must outlive software fashions, text is the safest bet — a lesson every data librarian learns once and never forgets.

When nothing fits, remember that conversion is cheap and storage is cheaper. Keep the original file alongside every conversion. Future you — or the colleague inheriting the project — will be grateful for the source of truth when a format question arises.

8

How to Convert a File Step by Step

Converting a GIS file is a five-minute job once you know the sequence. Follow these steps in order and you will avoid the classic pitfalls.

  1. Drop your file onto the converter or paste its contents. The tool detects the format automatically and reports how many features it found — a quick sanity check that the whole file loaded, not just the first page of it.
  2. Confirm the coordinate system. Most web tools expect WGS84 latitude/longitude. If your data came from a government portal it might be in a state-plane or UTM projection, in which case convert the projection first or your points will land in the ocean.
  3. Pick the target format for the job ahead. Heading to a web map? GeoJSON. To Google Earth or a Garmin? KML or GPX. To a spreadsheet colleague? CSV of coordinates. The decision guide in chapter 7 has the full logic.
  4. Validate before you download. Run the output through the GeoJSON validator to catch unclosed rings, flipped coordinate order, and empty geometries while the fix is still one click away.
  5. Open the result in its destination app immediately. A file that converts cleanly but renders wrong — points in the wrong hemisphere, polygons invisible — tells you the projection or coordinate order needs attention, and it is faster to learn that now than at presentation time.
9

Practical Uses With Real Examples

File conversion is plumbing: invisible when it works, urgent when it does not. These are the real workflows that send people to a converter.

1. Phone GPS track to trail map

Hiking apps record tracks as GPX. To show that track on a custom web map for a trip report, convert it to GeoJSON — the format every web mapping library reads natively.

Example

After a weekend on the Appalachian Trail in Virginia, a hiker exports the 14-mile GPX track, converts it to GeoJSON, and embeds it on a blog post with elevation waypoints marked — 200 lines of JSON doing the work of a screenshot.

2. KML sketches into a planning workflow

People sketch plans in Google Earth because it is easy, producing KML. But county planning systems speak shapefile or GeoJSON. Conversion bridges the doodle and the official record.

Example

A parks volunteer draws proposed trail reroutes as KML paths in Google Earth, converts them to GeoJSON, and emails the file to the county GIS office — which imports it directly instead of redrawing everything by hand.

3. Spreadsheet of addresses to a live map

Sales lists, survey responses, and store directories live in CSV. Geocode the addresses, convert to GeoJSON, and the spreadsheet becomes a map you can filter, style, and share.

Example

A franchise analyst has 212 coffee shop addresses in a spreadsheet. After geocoding, the CSV-to-GeoJSON conversion produces a single file that drops straight into a territory map — no GIS software installed.

4. Fixing a GeoJSON that will not render

The most common support question in web mapping: "my GeoJSON loads but nothing draws." Nine times out of ten it is an unclosed polygon ring or latitude/longitude swapped. Validate, auto-fix, re-download.

Example

A developer's neighborhood boundary file shows nothing on the map. The validator flags one unclosed ring in features[3] — the first and last points differ. One click closes it, and the polygon appears.

5. Sharing a route with riding buddies

Cyclists plan routes on the web (GeoJSON/KML) but navigate with bike computers that want GPX. Converting before the group ride means everyone loads the same route, with turn cues intact.

Example

A club plans a 62-mile loop around Lake Tahoe, converts the KML route to GPX, and all twelve riders load identical tracks — nobody takes a wrong turn at the Kingsbury Grade split.

6. Shrinking a bloated file

GPS exports often carry 15 decimal places of precision — about the width of an atom. Trimming to 6 decimals (about 4 inches) can cut a file to a third of its size with zero visible change.

Example

A 9 MB trail file with 15-decimal coordinates trims to 2.8 MB at 6 decimals. The web map now loads in under a second on a phone, and the trail looks pixel-identical.

10

The Math Behind the Calculations

Most conversion bugs are math misunderstandings in disguise. Three ideas explain nearly all of them: coordinate order, ring closure, and precision.

Coordinate order is the classic trap. GeoJSON writes [longitude, latitude]— x before y, like math class. KML writes longitude,latitude,altitude. Google Maps URLs show latitude,longitude. Every converter must know which convention each side uses, or a point in Denver (39.7, -105) lands in the ocean near Antarctica (-105, 39.7).

A polygon ring must close: the last point must equal the first. Validators also check winding order — exterior rings counterclockwise, holes clockwise (the right-hand rule). The shoelace formula gives the signed area: A = ½ × |sum of (x_i × y_next − x_next × y_i)|. Take triangle (0,0), (4,0), (0,3): the sum is (0×0 − 4×0) + (4×3 − 0×0) + (0×0 − 0×3) = 12, half of that is 6 square units. The sign of the un-absoluted sum reveals the winding direction, which is how auto-fix knows which rings to reverse.

Precision follows the same decimal math as geocoding: 6 decimals ≈ 4 inches, 4 decimals ≈ 36 feet. A validator that trims to 6 keeps survey-grade accuracy while deleting the meaningless digits that bloat files. As a rule of thumb, file size drops roughly 15–20% per decimal place removed.

One more: bounding boxes. A valid bbox is [minLng, minLat, maxLng, maxLat], and min must be ≤ max on each axis. Converters compute it by scanning all coordinates — a one-line check that catches the "my data is in the wrong hemisphere" class of errors before they reach your map.

11

Related Tools and Resources

Before converting, make sure the file is healthy: the GeoJSON Validator checks RFC 7946 compliance, pinpoints errors by path, and auto-fixes unclosed rings and winding order in one click.

To see and hand-edit your data, open it in the GeoJSON Editor — it renders features on a map and lets you tweak vertices before converting onward.

Spreadsheet workflows start at the CSV to GeoJSON tool, which maps your latitude/longitude columns and produces a clean GeoJSON file ready for any map.

For outdoor routes, KML to GPX prepares Google Earth plans for Garmin devices and bike computers, preserving the track points and waypoints.

Legacy GIS data usually arrives as shapefiles: Shapefile to GeoJSON converts the .shp/.dbf bundle into web-friendly GeoJSON without desktop software.

Database folks with PostGIS text can use WKT to GeoJSON to turn Well-Known Text geometry strings into mappable GeoJSON features.