# Convert GDB (FileGDB) to KML

> To convert GDB (ESRI File Geodatabase (vector)) to KML (Keyhole Markup Language), upload the GDB data to the MyGeodata Cloud Converter, select KML as the output format and download the result — online, without installing GIS software. The coordinates are reprojected to WGS 84 (EPSG:4326) automatically.

- Page: https://beta.mygeodata.cloud/converter/gdb-to-kml
- Open the Converter: https://beta.mygeodata.cloud/tools/converter/?format=kml
- Input: ESRI File Geodatabase (vector) (FileGDB, .gdb)
- Output: Keyhole Markup Language (KML, .kml)
- GDB files are converted as ESRI File Geodatabase (vector).

GDB here means the ESRI File Geodatabase (FileGDB), the folder-based format used by ArcGIS Pro and ArcMap to store feature classes, tables and attributes. People convert it to KML to view and share GIS data in Google Earth Pro or other Earth browsers, where recipients do not need ArcGIS.

Two things matter most. KML always uses WGS 84 (EPSG:4326), so coordinates from national grids or UTM zones are reprojected automatically. Because a .gdb is a folder, you must pack it into a ZIP archive before uploading. Layers and attribute columns are carried over, and you can choose which attributes to keep.

## What happens when you convert GDB to KML

- **Reprojected to WGS 84 (EPSG:4326) automatically** — KML always uses WGS 84 (EPSG:4326). The Converter recalculates the coordinates of your GDB data for you — from national grids, UTM zones or any of the 11,000+ supported coordinate systems.
- **Layers are preserved** — Both formats store multiple layers, so the layer structure of your GDB data is kept in KML.
- **Attributes are carried over** — The attribute columns of your GDB data are written to KML. In the options you can choose which attributes to keep.
- **Upload the folder as ZIP** — GDB is a folder (.gdb). Pack the whole folder into a ZIP archive and upload it — archives are unpacked automatically.

## Convert GDB to KML in 4 steps

1. **Upload your GDB data** — Zip the GDB folder and drop the ZIP file into the Converter.
2. **Check the input** — The Converter detects layers, attributes and the coordinate system and shows an overview. If the coordinate system is missing, you can assign it.
3. **Choose KML and options** — Select KML as the output format. The data are reprojected to WGS 84 (EPSG:4326) automatically. Optional settings let you pick layers, attributes and KML-specific options.
4. **Download the result** — See the price in credits before you start, run the conversion and download the KML result.

## GDB vs. KML — technical comparison

| | FileGDB | KML |
|---|---|---|
| Full name | ESRI File Geodatabase (vector) | Keyhole Markup Language | 
| Data type | Vector · Database & container | Vector · GIS vector | 
| File extension | .gdb | .kml | 
| Files | Folder (.gdb) — upload as ZIP | Single file | 
| Media type | application/x-esri-filegdb | application/vnd.google-earth.kml+xml | 
| Geometry types | Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon, GeometryCollection | Point, LineString, Polygon, GeometryCollection | 
| Multiple layers | Yes | Yes | 
| Mixed geometry in a layer | No | Yes | 
| Attribute names | — | No length limit (UTF8) | 
| Coordinate system | Any (EPSG, ESRI, custom) | Always WGS 84 (EPSG:4326) | 
| Converter support | Read & write | Read & write | 
| Typical software | ArcGIS Pro, ArcMap, QGIS, GDAL/OGR, FME, Global Mapper | Google Earth Pro, QGIS, ArcGIS Pro, GDAL/OGR, Global Mapper, GPSBabel | 
| Specification | https://pro.arcgis.com/en/pro-app/latest/help/data/geodatabases/manage-file-gdb/file-geodatabases.htm | https://www.ogc.org/standards/kml/ | 

## What is FileGDB?

The File Geodatabase is a proprietary geodatabase format developed by Esri and used natively by ArcGIS Pro and ArcGIS Desktop. It is not a single file. A geodatabase is a folder with the .gdb extension that holds many binary files. Each table or feature class is stored as a .gdbtable file with a companion .gdbtablx offset index, and spatial indexes (.spx), attribute indexes (.atx) and system tables hold the catalogue. One geodatabase can contain many feature classes and standalone tables, plus feature datasets that group layers sharing a coordinate system.

Each feature class holds a single geometry type with a defined coordinate reference system and optional Z and M values. The model supports attribute domains, subtypes and relationship classes, and tables can grow far beyond the 2 GB limit of shapefiles. Esri has not published a full specification, so non-Esri tools rely on Esri's File Geodatabase API or on reverse-engineered open-source drivers.

## What is KML?

Keyhole Markup Language (KML) is an XML-based format for describing geographic features and their presentation in Earth browsers. It was created by Keyhole, Inc. and popularised by Google Earth after Google acquired the company. It became an Open Geospatial Consortium standard in 2008 with version 2.2. A KML document is a single UTF-8 text file. Its Placemarks carry Point, LineString, Polygon and MultiGeometry elements, organised into Documents and Folders together with styles, descriptions, time stamps and network links.

Coordinates are always longitude, latitude and optional altitude in WGS 84, so data in other reference systems must be reprojected. Attributes are stored through ExtendedData, either as free name–value pairs or as typed fields defined in a Schema. KML works well for sharing and visualisation, but it is verbose for large datasets. Styling and overlay elements are often lost when it is converted to other GIS formats.

## Free sample GDB files

- [Basemap (7 feature classes)](https://beta.mygeodata.cloud/static/landing/samples/v1/filegdb/st-helena-basemap-gdb.zip) — Multi-layer basemap of Saint Helena: island outline, land cover, waterways, 100 m contours, roads, Jamestown buildings and places. Esri File Geodatabase (.gdb folder) in a ZIP. (172.3 kB)
- [Hike (3 feature classes)](https://beta.mygeodata.cloud/static/landing/samples/v1/filegdb/st-helena-hike-gdb.zip) — Hike from Jamestown up Jacob's Ladder to High Knoll Fort: 3.0 km, 513 track points (10 s) with elevation and time, 4 waypoints. Esri File Geodatabase (.gdb folder) in a ZIP. (28.7 kB)

## Frequently asked questions

### Can I open the KML file in Google Earth Pro?

Yes. KML is a single UTF-8 text file, and Google Earth Pro is among the programs that read it. QGIS, ArcGIS Pro and Global Mapper can open it as well.

### What happens to attribute domains, subtypes and relationship classes from my geodatabase?

The attribute columns of your GDB data are written to KML, and you can choose which ones to keep. KML stores attributes as ExtendedData name–value pairs or as typed fields in a Schema, so it has no equivalent for domains or relationship classes.

### What happens to GDB geometry types that KML does not support?

KML supports Point, LineString, Polygon and GeometryCollection, while GDB also has MultiPoint, MultiLineString and MultiPolygon. Multi-part features are written as KML MultiGeometry elements.

### How do I convert GDB to KML?

Open the Converter, drop your GDB files, check the detected layers and coordinate system, choose KML as the output and download the result. Everything runs in your browser — there is no software to install.

### Is the GDB to KML conversion free?

Everyone gets 3 free credits every 30 days and a small conversion costs from 1 credits, so occasional conversions are free. Bigger or frequent jobs are paid with credit packs (from $2.00) or a monthly plan (from $10.00).

### Which coordinate system will the KML file use?

KML always uses WGS 84 (EPSG:4326), so your data are reprojected automatically. The original coordinate system of the GDB data is detected from the file or you can assign it.

### What does GDB mean here?

In this converter, GDB stands for ESRI File Geodatabase (vector) (.gdb). Esri folder-based geodatabase that stores multiple vector feature classes and tables in a .gdb directory

### How large can my GDB files be?

Without an account you can upload up to 2 GB per file. Signed-in users with a verified e-mail can upload much larger datasets; big jobs run on scalable cloud workers.

### Is my data safe?

Files are transferred over HTTPS and processed in an isolated cloud environment. Without an account they are stored only temporarily and deleted automatically; with an account they stay in your private Data workspace until you delete them.

### Can I automate the GDB to KML conversion?

Yes. The same conversion is available through the GeoCzech API — send the GDB files with the output format "kml" and download the KML result from a script or an ETL pipeline. API access is part of the Basic, Standard and Premium plans.

## Related conversions

- [FileGDB to GPX](https://beta.mygeodata.cloud/converter/filegdb-to-gpx)
- [FileGDB to SHP](https://beta.mygeodata.cloud/converter/filegdb-to-shp)
- [FileGDB to DXF](https://beta.mygeodata.cloud/converter/filegdb-to-dxf)
- [FileGDB to GeoPDF](https://beta.mygeodata.cloud/converter/filegdb-to-geopdf)
- [FileGDB to KMZ](https://beta.mygeodata.cloud/converter/filegdb-to-kmz)
- [FileGDB to CSV](https://beta.mygeodata.cloud/converter/filegdb-to-csv)
- [FileGDB to XLSX](https://beta.mygeodata.cloud/converter/filegdb-to-xlsx)
- [FileGDB to GeoJSON](https://beta.mygeodata.cloud/converter/filegdb-to-geojson)
- [FileGDB to GPKG](https://beta.mygeodata.cloud/converter/filegdb-to-gpkg)
- [FileGDB to MapInfo](https://beta.mygeodata.cloud/converter/filegdb-to-mapinfo)
- [FileGDB to SQLite](https://beta.mygeodata.cloud/converter/filegdb-to-sqlite)
- [FileGDB to DGN](https://beta.mygeodata.cloud/converter/filegdb-to-dgn)
- [DWG to KML](https://beta.mygeodata.cloud/converter/dwg-to-kml)
- [SHP to KML](https://beta.mygeodata.cloud/converter/shp-to-kml)
- [KMZ to KML](https://beta.mygeodata.cloud/converter/kmz-to-kml)
- [DXF to KML](https://beta.mygeodata.cloud/converter/dxf-to-kml)
- [GPX to KML](https://beta.mygeodata.cloud/converter/gpx-to-kml)
- [XLSX to KML](https://beta.mygeodata.cloud/converter/xlsx-to-kml)
- [GeoJSON to KML](https://beta.mygeodata.cloud/converter/geojson-to-kml)
- [GeoPDF to KML](https://beta.mygeodata.cloud/converter/geopdf-to-kml)
- [CSV to KML](https://beta.mygeodata.cloud/converter/csv-to-kml)
- [XLS to KML](https://beta.mygeodata.cloud/converter/xls-to-kml)
- [MapSourceTXT to KML](https://beta.mygeodata.cloud/converter/mapsourcetxt-to-kml)
- [GPKG to KML](https://beta.mygeodata.cloud/converter/gpkg-to-kml)

