DWG to KML

QR code

KML is the plain-text form of place data. Convert DWG to KML when you want the drawing in Google Earth, or in another map application that reads KML.

Step 1: Choose a file

Step 2: Choose output format

DWG and DXF drawings
SketchUp models

Step 3: Coordinate system

Step 4: Convert

We send the download link and resend it if something goes wrong.

Choose a file in step 1 and enter your email to start.

DWG and KML explained

DWG

The native AutoCAD drawing file. It keeps your layers and objects, but says nothing on its own about where on Earth they are.

KML

A text place file that Google Earth and many map apps can read. Same content as a KMZ, just not compressed.

When to use DWG to KML

  • Opening the drawing in Google Earth Pro and carrying on there: recolouring, adding notes, grouping.
  • Loading a site plan into a mapping app or web tool that only accepts KML.
  • Needing to read the file: KML is text, so folder names and the list of objects can be seen in a text editor.
  • Checking the drawing is positioned correctly before it goes out, then zipping it into a KMZ if needed.

What carries over and what changes

AspectIn the KML result
LayersEvery CAD layer becomes a folder in the Places tree under the layer's own name, so each group can be toggled by itself.
GeometryLines and polygons. Hatches, solids and 3D faces turn into filled areas, and hatches keep the holes inside them. A closed polyline gives an outline only, not a filled shape.
CurvesArcs, circles and splines are cut into short straight pieces, off by at most 0.05 drawing units, which is 5 cm for a drawing in metres.
Text and blocksBlocks, dimensions, leaders and mlines are exploded into the strokes inside them. TEXT and MTEXT do not make it into the KML or KMZ.
AttributesNo CAD attributes come along. The layer name serves as both the folder name and the Placemark name.
Colour and line styleObject colours are worked out the way AutoCAD does it (by layer, by block, or a true colour). Every line is solid and 1 px; filled areas reuse the colour at 40% opacity. Dashes and line weights are lost.
ElevationTwo-dimensional only: no Z is written and the shapes hug Google Earth's ground.
Coordinate systemOutput is always WGS84 (longitude, latitude). The system you pick is the one your drawing uses, needed only to convert it to WGS84. Anything outside that system's valid area is left out.
DetailsEach folder splits its Placemarks by colour, up to 2,000 shapes per Placemark; coordinates are rounded to 7 decimal places of a degree, about a centimetre.

My drawing is offset on Google Earth, what to do?

  • A CAD file records numbers only, so the converter cannot guess which system they belong to. It uses the system you state when uploading and does not read one from the file.
  • Pick the one the drawing was made in: VN2000 by province or city, or type a central meridian such as 105.75; WGS84 if the numbers already are longitude and latitude; or enter an EPSG code.
  • If the drawing slips away from where it should be in Google Earth, the quickest fix is to choose another province or meridian and convert again. A drawing that falls completely outside the chosen system gives an error message rather than an empty file.
  • A drawing made on a site-local grid (origin at 0,0) has no correct system at all; you need to know where that origin is in the real world.

Guide: coordinate systems in CAD drawings · Guide: VN2000 drawings to KML

What's in the download

  • One UTF-8 .kml file named <drawing name>_DWGtoKMZ_KML.kml.
  • The document name inside follows your drawing name, and its description notes where it was converted.
  • Once the job ends, the page tells you how many points, lines and polygons it found, which layers there were and the area the drawing covers.
  • If you uploaded a ZIP, all the results come back packed in one ZIP.

Security and retention

  • The file travels to our server over HTTPS and is processed there; the drawing and the results of a finished job delete themselves after 7 days.
  • The download address is a long random string and needs no login. Anyone holding it can download for 7 days, so do not paste it in public when the content is sensitive.
  • If a job fails unexpectedly the file is kept so we can find the cause and run it again.
  • One IP address runs one job at a time.
  • Email is optional; if you give one it is only used to send the download address and to warn you when processing fails.
  • Limit of 100 MB per upload; a ZIP of several drawings holds up to 20 files and 300 MB unpacked.

FAQ

How is this different from DWG to KMZ?

Only in compression. KML stays plain text, KMZ is that same file compressed to be lighter. Shapes, colours and folders are identical.

What do DWG layers become in the KML?

Folders of the same name. Inside each folder objects are grouped into Placemarks by colour, with at most 2,000 shapes in each Placemark.

Do hatches keep the holes inside them?

Yes, a hatch becomes a filled area and its holes are kept. A closed polyline gives only an outline, not a filled shape.

Can I choose the output coordinate system?

No, KML requires WGS84, so the result is always in it. The coordinate system selector only tells us what the source drawing uses.

Does the drawing's Z come across to the KML?

No, the KML here is two-dimensional and follows the ground.

Views
5,298
Drawings converted
550