Free · No signup required

    GeoJSON to KML Converter

    Paste or upload GeoJSON, check it on the map, and download a KML file you can open directly in Google Earth.

    Leaflet © OpenStreetMap
    Made with GeoDataMapper

    Why convert GeoJSON to KML?

    GeoJSON is the format of the web — it comes out of APIs, PostGIS queries, Mapbox and Leaflet projects. KML is the format of Google Earth and many consumer GPS and drone tools. If you have produced a dataset in a web workflow and someone needs to open it in Google Earth Pro, Google My Maps, or a survey app, KML is usually the shortest path. This converter does that step without installing QGIS or uploading your data to a server.

    What gets carried across, and what does not

    Geometry converts cleanly. GeoJSON Point, LineString and Polygon map directly onto KML Point, LineString and Polygon, and MultiPoint, MultiLineString and MultiPolygon become KML MultiGeometry blocks. Feature properties are written into an ExtendedData block, so they still show in the Google Earth info balloon when you click a placemark. A property called name, Name or title is promoted to the placemark name so your features are labelled in the sidebar.

    • Preserved: geometry, coordinate order, elevation (third coordinate), all attributes
    • Promoted: name / Name / title becomes the placemark label
    • Dropped: nothing from your data — but GeoJSON has no styling spec, so colours and icons cannot be inferred
    • Assumed: coordinates are already WGS84 (EPSG:4326), which both formats require

    How to use it

    Drop your .geojson or .json file into the upload box, or paste the raw text into the textarea. The map preview renders immediately so you can confirm the shapes landed in the right part of the world — the single most common error is longitude and latitude being swapped, which sends everything to a mirror location. Once the preview looks right, click download and open the file in Google Earth.

    Common problems

    If Google Earth reports the file is invalid, the usual cause is a GeoJSON geometry type KML cannot express directly, or coordinates outside the valid WGS84 range. If your features appear in the Gulf of Guinea off the coast of Africa, the coordinates are (0, 0) — this is "Null Island" and it means some rows had missing or unparsed coordinates. If features appear in the wrong hemisphere, longitude and latitude are reversed: GeoJSON stores them as [longitude, latitude], which is the opposite of how most people write coordinates.

    Free version

    • Points, lines, polygons and all Multi* types
    • Attributes preserved as KML ExtendedData
    • Live map preview before you download
    • Runs entirely in your browser

    With a GeoDataMapper account

    • Convert many files at once
    • Apply styles, icons and colours to the KML output
    • Export KMZ archives with imagery
    • Publish the same data as a shareable web map
    Create free account

    Frequently asked questions

    Is my file uploaded to a server?

    No. The conversion runs in JavaScript inside your browser. The file never leaves your device, which makes this safe for confidential survey, cadastral and client data.

    Can I convert to KMZ instead?

    KMZ is a zipped KML with optional embedded imagery. Download the KML and zip it, or use a GeoDataMapper account for direct KMZ export.

    Are colours and icons preserved?

    GeoJSON has no official styling specification, so there is nothing standard to read styles from. Paid plans let you apply styling rules during export.

    What coordinate system does the output use?

    WGS84 (EPSG:4326), which is what KML requires. If your input is in a projected system such as UTM or State Plane, reproject it first using the coordinate converter.

    Is there a file size limit?

    The practical limit is your browser memory. Files up to roughly 50 MB convert comfortably on a modern laptop; larger datasets are better handled with a desktop GIS or the API.

    More free GIS tools

    Guides worth reading next