Convert AutoCAD DWG to GeoJSON locally in your browser. Check the source CRS and supported CAD entities before exporting GIS geometry. No file upload or sign-up.
Efficiently convert from DWG to GEOJSON format
All processing is done locally in your browser
Output standard GEOJSON format
Convert AutoCAD DWG to GeoJSON locally in your browser. Check the source CRS and supported CAD entities before exporting GIS geometry. No file upload or sign-up.
DWG geometry is read locally using LibreDWG WebAssembly and mapped to GIS features. Entity support and drawing-version compatibility are limited; a DXF export can be an alternative when a DWG cannot be read.
GeoJSON is a geospatial data interchange format based on JSON. It can represent Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, and GeometryCollection geometries. Defined by RFC 7946, GeoJSON has become one of the most popular data exchange formats in web GIS. GeoJSON files use WGS84 coordinates and support Feature objects with associated properties and FeatureCollections for organizing multiple features.
DWG is the native, proprietary format of AutoCAD — the file every architecture, engineering, and surveying office produces. Because it is closed, web tools usually refuse it. Converting DWG to GeoJSON unlocks those drawings for GIS and web mapping: building outlines, pipe networks and survey lines become GeoJSON features with layer metadata, ready for QGIS, Leaflet, or PostGIS — all parsed locally in your browser so the drawing never leaves your machine.
Supported CAD entities are extracted as 2D GIS features. Curves are approximated, text becomes a point with a text attribute, and block references become insertion points rather than expanded block drawings. Unsupported entities are skipped; this is not a lossless CAD export.
The source layer name is stored in the layer attribute. Available entity properties may also include handle, linetype, color, text or block. This does not guarantee that CAD layer hierarchy, styling or all attributes survive in the target format.
Files are processed in your browser without uploading. There is no server upload limit, but available memory, DWG compatibility and drawing complexity limit what can be converted.
The source layer name is stored in the layer attribute. Available entity properties may also include handle, linetype, color, text or block. This does not guarantee that CAD layer hierarchy, styling or all attributes survive in the target format.
Confirm the source coordinate system before converting. A local drawing without a known CRS needs georeferencing first. KML and KMZ require WGS84 (EPSG:4326); choosing an EPSG code alone does not georeference an arbitrary local drawing.
Files are processed in your browser without uploading. There is no server upload limit, but available memory, DWG compatibility and drawing complexity limit what can be converted.
Supported CAD entities are extracted as 2D GIS features. Curves are approximated, text becomes a point with a text attribute, and block references become insertion points rather than expanded block drawings. Unsupported entities are skipped; this is not a lossless CAD export.
This generated R2000 drawing contains one point, one line and one closed area on three named layers. Coordinates are WGS84 (EPSG:4326), around 1°E, 1°N. It contains no real project data.
These outputs were generated from this DWG by the converter. Check geometry and the layer attribute; they do not reproduce CAD styling or layer folders.
Choose your DWG file, then wait for the engine and coordinate-system detection to finish.
Confirm or select the source CRS, choose the output CRS where available, and click Start Conversion. KML/KMZ output uses WGS84.
Download the result. Open it in Google Earth for KML/KMZ, or unzip Shapefile output and inspect it in QGIS. Check position, feature types and attributes before relying on it.
A practical guide to turning AutoCAD DWG into GIS-ready GeoJSON, KML and Shapefile. Built around a real 190 KB survey drawing, covering the coordinate-system trap, a fully browser-based conversion, output sizes, and how to pick a format.
Read articleFour dataset sizes, one real point collection and two real CAD fixtures. Measured KML/KMZ sizes at deflate 6 and 9, ZIP structure, parseability, and a DWG vs DXF comparison of entropy, printable bytes and compressibility.
Read articleBuild a client-side DWG-to-KML converter with LibreDWG WebAssembly, TypeScript, and Proj4js. Includes code, a fictional test drawing, real screenshots, and the limits of local browser processing.
Read article