If you need to convert DWG to GeoJSON for web maps or GIS pipelines, the fastest workflow is: preview the DWG layer, confirm geometry looks right, then export as GeoJSON.
GeoDataViewer lets you do this in the browser without installing desktop GIS software:
- Open DWG: /open-dwg-online/
- Convert DWG to GeoJSON: /dwg-to-geojson/
Why convert DWG to GeoJSON?
GeoJSON is a common interchange format for:
- Web maps and APIs
- Lightweight data sharing
- Front-end debugging and quick inspection
Step-by-step: DWG to GeoJSON
- Open the converter: /dwg-to-geojson/
- Upload your
.dwgfile. - Preview the data in the map to confirm position and scale.
- Export the generated GeoJSON file.
Common issues and tips
Data appears offset or in the wrong place
CAD drawings may not include clear CRS metadata. If a DWG is in a local engineering coordinate system, you may need a known CRS or reference to correctly align it.
Too many layers or messy geometry
DWG files often contain multiple layers with different purposes. If possible, export a cleaner version from the source CAD environment before conversion.
Related conversions
- Convert DWG to GeoPackage: /dwg-to-gpkg/