CAD to KML/KMZ converter
Turn a DXF or DWG drawing into a KML or KMZ for Google Earth, DJI Pilot 2 or your data collector. Pick the coordinate system the drawing was made in, check it on the map, then download. Your file is read in your browser and never leaves your device.
Free. DXF up to 50 MB, DWG up to 30 MB. Nothing is uploaded.
Loading the list…
Output: WGS84 (EPSG:4326) for Google Earth. Every point is reprojected from the system you pick to WGS84 longitude, latitude in decimal degrees, the format Google Earth and KML use.
4. Check the placement
If the drawing shows up in the wrong place (or far from where it should be), the coordinate system or units are wrong. Change them and press Convert again.
Output: WGS84 (EPSG:4326), longitude then latitude in decimal degrees.
Which coordinate system do I pick?
Pick the one the drawing was made in. Most US survey and civil drawings use State Plane in US survey feet, like NAD83 / Pennsylvania South (ftUS), EPSG 2272. Some use UTM in meters. Ask the person who made the drawing, or look in the title block or the drawing notes. Not sure which State Plane zone the job is in? Use the State Plane zone finder.
If the drawing is in local coordinates (like a site plan that starts at 5000, 5000), it is not tied to the earth, and no setting here will place it right.
What gets converted
Lines, polylines (with curved segments), arcs, circles, ellipses, points, text and blocks. Each CAD layer becomes its own folder in the KML. Splines are drawn through their fit points (or control points), so they are close but not exact. Hatches, dimensions, 3D solids, images and tables are skipped, and the tool tells you how many. Heights are dropped: everything is drawn on the ground.
How close is the placement?
We use proj4js to reproject to WGS 84 lat/long, which is what KML uses. NAD 83 and WGS 84 are treated as the same here, so results can be off by up to about 6 ft (2 m). That is fine for a map overlay or flight planning. Do not use the KML for staking or boundary work.
Privacy, limits and code
The file is read in your browser. Nothing is uploaded. DWG files are read with LibreDWG, which loads about 11 MB the first time you open a DWG. Very large drawings (over 600,000 points) are stopped so your browser does not freeze. Open-source parts: licenses.
Related tools
This tool is open for a sponsor, $49/mo. See how