TechnSols
Advertisement

GeoJSON to KML Converter

GeoJSON to KML Converter: convert GeoJSON files into KML for Google Earth free online in your browser, no install or sign-up.

Be the first to rate this tool

One .geojson or .json file, up to 100 MB. Nothing is uploaded.

Enter GeoJSON to convert.

What Is GeoJSON To KML Converter?

GeoJSON to KML Converter is a free online tool by TechnSols that turns GeoJSON files into KML in your browser, with no install or sign-up. You have a GeoJSON file, and the person who needs it works in Google Earth. GeoJSON is the language of web maps and code, but Google Earth speaks KML, so your points, lines and polygons stay invisible to a colleague who only opens KML. GeoJSON to KML Converter is a free online tool that turns a GeoJSON file into KML in your browser, so you can convert geojson to kml in a minute and hand over a file Google Earth opens at once. It is the simple way to get a geojson to google earth result without a desktop GIS app.

Advertisement

GeoJSON is a JSON format for geographic data, defined by RFC 7946, and it stores points, lines and polygons with their properties in plain text that browsers and code read easily. KML is the Keyhole Markup Language, the XML format Google Earth uses for placemarks, paths and areas. The GeoJSON specification sets out the GeoJSON format, and the OGC KML standard defines how KML describes places on Earth. This tool reads your GeoJSON and writes the same geography as KML, which is also why people call the job json to kml, since GeoJSON is JSON with geography inside it.

Some things change shape in the move, and it is better to know them before you convert. Your feature properties become KML ExtendedData, so names, numbers and notes travel with the geometry and show in Google Earth. Nested objects inside a property become JSON strings, because KML has no nested property model. The output is plain KML with no styling, so colours and icons from a web map do not carry over. The sample file used to test this tool holds a Point, a LineString and a Polygon with properties, and all three convert cleanly.

How To Use GeoJSON To KML Converter

Using GeoJSON to KML Converter takes three simple steps, and you need no account and no sign up. The whole job usually takes less than a minute, and your file never leaves your device. If your data starts life as a table of places, the CSV to GPX tool builds a GPS track from a CSV file first.

Step 1: Choose Your GeoJSON File

Click Choose GeoJSON files and pick a .geojson or .json file from your device, or drop the file onto the box. The tool reads the file and checks it is valid GeoJSON before it does any work, so a broken file is refused at once with a plain message. A geojson to kml online job starts here, with one file at a time, and you can convert another file straight after the first one finishes. If your track data is GPX instead, the GPX to CSV tool turns GPS tracks into a table of coordinates.

Step 2: Click Convert To KML

Click the Convert to KML button and the tool reads each feature in your GeoJSON, writes it as a KML placemark with its geometry and its properties, and gathers the placemarks into a single KML document. The result shows as a list, with the file name and a Download button for the .kml file. If you need the direction of a line or a route, the bearing calculator works out the bearing between two points.

Step 3: Download Your KML File

Click Download beside the file to save the KML, then open it in Google Earth and check the places land where they should. The Convert button hides once the file is converted, and it comes back when you choose a new file. Keep the original GeoJSON safe, because the KML is a copy for Google Earth, not a replacement for your web map file.

Why Convert GeoJSON To KML?

GeoJSON is a fine format for the web, but Google Earth is still where many people draw, check and present maps. Converting your file opens it up to everyone who works in Google Earth, and it keeps your geography in the format that app reads best.

Open Your Data In Google Earth

Google Earth is the tool many teams use to view places, plan routes and present areas, and it reads KML natively. A GeoJSON file needs a conversion step before it shows up there, and this tool is that step. Once your file is KML, it opens in Google Earth with one click, on desktop and on mobile, with no extra app.

Share Places With Non Technical People

Not everyone you work with writes code or opens a web map, and they should not need to just to see your places. A KML file opens in Google Earth, which many people already have and know how to use. Sending KML means the person at the other end can fly around your map at once, with no code and no special setup.

Present Geography In 3D

Google Earth shows your places on a 3D globe, with terrain and satellite imagery underneath, which a flat web map cannot match. A line becomes a path over hills, and a polygon becomes an area you can tilt and inspect. Converting geojson to kml is the fastest route from a web map file to a 3D presentation.

What Can You Do With GeoJSON To KML Converter?

GeoJSON to KML Converter fits the everyday jobs where a web map file meets Google Earth. The three situations below are the ones users describe most often.

Send A Web Map To A Google Earth User

You built a map for the web, and a colleague asks to see the same places in Google Earth. You convert the GeoJSON here, download the KML and email it, and the same points and areas open in their Google Earth within a minute. To work out a distance between two of those points, the GPS distance calculator gives you the answer in metres or kilometres.

Check A Dataset On Satellite Imagery

You have a GeoJSON dataset and you want to see it against real satellite imagery and terrain before you trust it. Google Earth is the best viewer for that check, and KML is its native format. You convert the file, open it in Google Earth, and any point in the wrong place stands out at once. If the coordinates need a different form first, the DMS to decimal tool changes degrees, minutes and seconds into decimal degrees.

Build A KML Tour From Map Data

You want to present a set of places as a guided tour in Google Earth, flying from one placemark to the next. The tour starts with KML, so your GeoJSON needs to become KML first. You convert it here, then add the tour steps in Google Earth. If the places must move into a projected grid, the UTM converter turns latitude and longitude into UTM coordinates.

Quality And Settings

There are no quality settings to choose, because the tool does not redraw your geography. It reads the coordinates from your GeoJSON and writes them into KML exactly as they are, so a point stays a point and a polygon keeps its shape. What matters is the state of the GeoJSON you start with, and these checks keep the output clean.

  • Check the GeoJSON is valid before you convert it.
  • Keep property names short and plain, because they become ExtendedData.
  • Use simple text and number properties where you can.
  • Use WGS84 longitude and latitude, which GeoJSON and KML both expect.
  • Open the KML in Google Earth after download and confirm every feature is there.

Coordinate order is one detail worth knowing: GeoJSON always writes longitude first, then latitude, and KML stores coordinates in the same order, so the two formats agree and no swapping is needed. If a place lands in the wrong spot after conversion, check that the original GeoJSON used WGS84, because a file in another projection will be read as if it were WGS84.

Advertisement

How GeoJSON To KML Converter Converts Your File

When you choose a file, the tool first checks that it is valid GeoJSON, then it reads every feature in the file with a GeoJSON to KML library that runs in your browser. Each Point becomes a KML Point placemark, each LineString becomes a path, and each Polygon becomes an area, with the feature properties written as KML ExtendedData so the names and values travel with the geometry. The placemarks are gathered into a single KML document, which is the standard container Google Earth expects.

The library used here is tokml, a small open source library built for exactly this job. It understands the GeoJSON geometry types that web maps write, and it keeps a third altitude coordinate when one is present in the GeoJSON. Nested objects become JSON strings, because KML properties are flat name and value pairs. Everything happens in your browser, and no file is ever uploaded to a server.

Privacy

Your files never leave your device. The conversion runs entirely in your browser, and nothing is uploaded to TechnSols or to any other server. There is no account and no sign up, and no copy of your map data is kept anywhere after you close the page.

Because nothing is uploaded, your places, routes and areas are never stored, shared or used for any other purpose. The only file your browser saves is the KML you ask it to download. Close the tab and the work is gone from memory.

Tips

A few small habits make every conversion smoother. Use this free geojson to kml tool the same way each time, and the job becomes routine.

  • Keep one GeoJSON file per map, so the KML stays easy to use.
  • Give every feature a clear name property before you convert.
  • Flatten nested properties first, so they read well in Google Earth.
  • Test the KML in Google Earth before you share it with anyone.
  • Save the original GeoJSON as your master copy, and treat KML as the Earth copy.

If a feature is missing from the output, check that it was a real GeoJSON feature and not a GeometryCollection, because collections need to be split into features first. When the data needs to become XML of another kind, the JSON to XML tool turns JSON data into XML. When XML needs to become JSON, the XML to JSON tool does the reverse job. And when you need to check that a JSON file is valid, the JSON validator shows any errors in it.

More Tools For The Same Job

These tools sit beside GeoJSON to KML Converter and cover the jobs that come just before or just after it.

The KML to GeoJSON tool turns KML files into GeoJSON.

Frequently Asked Questions

These are the questions people ask most about turning a GeoJSON file into KML.

Is GeoJSON To KML Converter Free?

Yes, GeoJSON to KML Converter is free to use, with no account and no sign up. You can convert geojson to kml free as often as you like, and there is no watermark on the KML you download, because the output is a plain text file.

How Do I Convert GeoJSON To KML Online?

Choose your .geojson or .json file, click Convert to KML, and download the .kml file. That is the whole job, and it runs in your browser, so your file is never uploaded. The result is a standard KML document that Google Earth opens at once.

Do GeoJSON Properties Carry Over To KML?

Yes. Each feature property becomes KML ExtendedData, so names, numbers and notes travel with the geometry and show in Google Earth. Nested objects become JSON strings, because KML properties are flat name and value pairs, so flatten important values before you convert if you want them to read cleanly.

Does The KML Keep My Map Styling?

No. The output is plain KML with no styling, because GeoJSON carries no style information to convert from. If the look of the map matters, style the placemarks again in Google Earth after converting, using its own colour and icon settings.

Why Does My GeoJSON File Fail To Convert?

The most common reason is invalid GeoJSON, such as a missing bracket or a feature without geometry, which the tool refuses with a plain message. The next most common reason is a plain JSON file that is not GeoJSON at all, which needs a JSON tool rather than a map converter.

Is GeoJSON To KML Converter By TechnSols Free?

Yes, GeoJSON to KML Converter by TechnSols is completely free to use. There is no account, no sign-up and no install, and you can convert as often as you like in your browser. Your files stay on your device, and the converted file you download has no watermark or usage limit.

GeoJSON to KML Converter exists for one simple job: take the points, lines and polygons from a web map file and hand them back as KML that Google Earth opens at once. Choose your GeoJSON file, click Convert to KML, and download a file that opens in Google Earth with your properties intact. Keep the original GeoJSON for the web, and keep the KML for Google Earth.

Follow TechnSols on Google
Add TechnSols as a preferred source to see more of our tools in Google Search.
Add to Preferred Sources
Advertisement