# Convertitore da CSV a KML

> Trascina un CSV con colonne di latitudine e longitudine (oppure x/y o WKT). Vedi prima i punti sulla mappa, poi scarichi un KML con ogni colonna nei dati del segnaposto, verificato rileggendolo.

Human page: https://unmakelabs.com/it-it/convertire-csv-in-kml/. This is the version for AI agents.

## What it does

Convertire CSV in KML: da un foglio di coordinate a Google Earth. Trascina un CSV con colonne di latitudine e longitudine (oppure x/y o WKT). Vedi prima i punti sulla mappa, poi scarichi un KML con ogni colonna nei dati del segnaposto, verificato rileggendolo.

## Come un CSV diventa una mappa

Un CSV è una semplice tabella: una riga per luogo, una colonna per valore. Per metterlo su una mappa, due colonne devono contenere le coordinate: latitudine e longitudine in gradi decimali (vanno bene anche lat/lon, lng, y/x), oppure una colonna WKT con geometrie complete come POINT (2.35 48.85) o POLYGON ((…)). Separatori (virgola, punto e virgola, tabulazione) e virgole decimali vengono riconosciuti.

## A chi serve

A chi ha indirizzi già geocodificati, elenchi di negozi o sedi, posizioni di sensori o campioni, esportazioni di rilievi, luoghi di eventi o punti clienti in Excel o Google Sheets e vuole vederli in Google Earth, Google My Maps o in un GIS, senza plugin.

## Facts

- **Input:** CSV, TSV o TXT; virgola, punto e virgola, tabulazione o barra verticale; colonne latitudine/longitudine, x/y o WKT; colonna di quota facoltativa
- **Output:** Segnaposto KML 2.2, con il nome preso da una colonna name, ogni colonna come ExtendedData; anche KMZ, Shapefile, GeoJSON, GPX
- **Tipi:** Le colonne numeriche restano numeri (virgole decimali gestite), il testo resta testo
- **Verifica:** Il KML viene riletto: numero di punti, ogni coordinata e i valori delle colonne vengono confrontati

## How a person does it

1. **Salva come CSV.** In Excel o Google Sheets, salva o scarica il foglio in formato CSV. Le intestazioni come latitude e longitude (o lat, lon, lng) vengono trovate automaticamente.
2. **Trascina il CSV.** I punti compaiono sulla mappa e le colonne nella tabella. Le righe senza coordinate valide vengono contate e restano nella tabella.
3. **Converti in KML.** Premi Converti in KML, leggi la verifica, scarica il file e aprilo in Google Earth o importalo in My Maps.

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/it-it/convertire-csv-in-kml/?src=https://raw.githubusercontent.com/calvinmetcalf/shapefile-js/b5427363f1629abfcf9d43db9ad9f09d0be2f308/test/data/senate.zip`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `#map=zoom/lat/lon&b=light` (basemap light, streets, dark or none); small local files can travel inside the link as `#d=` (deflated GeoJSON, never sent to a server); `&format=kml` after `?src=` when the URL has no file extension.

Embed: `<iframe src="https://unmakelabs.com/embed/gis/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data

`POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect` with `file_url` or `file_base64` returns JSON: layers, feature counts by geometry type, coordinate system and where it came from, extent in WGS 84 and in the original system, fields with types and samples, total length and area, GPS track statistics, a simplified WGS 84 GeoJSON and a PNG preview. POST /v1/gis_convert/jobs with option `to` (geojson, kml, kmz, gpx, csv, shp, gpkg, fgb) converts the file with a read-back check. Status: live (no key; free calls as in /llms.txt).

```bash
curl -s "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect?wait=25" -H "Content-Type: application/json" -d '{"file_url": "https://raw.githubusercontent.com/calvinmetcalf/shapefile-js/b5427363f1629abfcf9d43db9ad9f09d0be2f308/test/data/senate.zip"}'
```

## Good to know

Le coordinate devono essere in gradi decimali (48.8566, non 48°51'24"N). Se le colonne si chiamano x e y e contengono numeri grandi (metri), il visualizzatore le tratta come proiettate e ipotizza il sistema, segnalandolo; controlla la mappa e imposta il codice EPSG se serve. Gli indirizzi senza coordinate non si possono mappare qui (serve la geocodifica).

## Not done by this tool

- Non modifica elementi o attributi (visualizza, misura e converte)
- Non geocodifica indirizzi o CAP in coordinate
- Non legge coordinate in gradi, minuti e secondi (solo gradi decimali)
- Non apre direttamente i file Excel .xlsx (prima salva come CSV)

## Value

Opens GIS map files (Shapefile as zip or .shp/.dbf/.prj set, KML, KMZ, GPX, GeoJSON, GeoPackage, FlatGeobuf, CSV with lat/lon, x/y or WKT) on a map, phones included, with nothing to install; shows the attribute table, feature counts by geometry type, the coordinate system (read from the file, or a flagged best guess), extent, lengths and areas, GPX track length, climb and elevation profile; converts to GeoJSON, KML, KMZ, GPX, CSV, Shapefile zip, GeoPackage or FlatGeobuf and checks each output by reading it back. Free, no sign-up.

## When it fits

- A user has a map file (.shp/.zip, .kml, .kmz, .gpx, .geojson, .gpkg, .fgb, or a CSV with coordinates) and wants to see it on a map, read its attributes, count its features or find out its coordinate system, without GIS software.
- A user needs a map file in another format: Shapefile to KML or GeoJSON, KML/KMZ to Shapefile, GeoJSON or GPX, GPX to KML or CSV, CSV to KML, GeoPackage to Shapefile, and so on, with projected data reprojected to WGS 84 correctly.
- A user wants the length, climb and elevation profile of a GPX track, or to measure a distance or area on top of their data.

### When not

- Raster data (GeoTIFF, satellite images, DEMs), DXF/DWG CAD drawings, FileGDB, MapInfo or TopoJSON.
- Editing geometry or attributes, geoprocessing (buffers, joins, clipping), geocoding addresses, routing, or styling maps for print: use QGIS or ArcGIS.

## Why use it instead of the alternatives

- Nothing to install: any public map file opens in the viewer by link (?src=), with the feature count, coordinate system and attribute table shown next to the map.
- Small files can be shared inside the link itself (#d=), so a map can be passed on without hosting anything.
- Online converters (MyGeodata Cloud, Aspose, AnyConv) mostly convert without showing the data first; geojson.io and gpx.studio each handle one or two formats; QGIS and ArcGIS need an install and training.
- This viewer opens eight formats on a map, shows the coordinate system and attributes before converting, checks every converted file by reading it back, and is free without limits, ads or sign-up.

### What rebuilding it would take

- Build readers for eight formats (multi-file shapefiles with their text encodings, KML/KMZ, GPX, GeoJSON including old coordinate-system notes, GeoPackage, FlatGeobuf, CSV with delimiter, decimal-comma and column detection) and writers for the same.
- Get coordinate systems right: parse .prj WKT, add the datum shifts ESRI .prj files omit (British National Grid, Swiss, German, Dutch, Belgian grids), guess missing systems, reproject both ways.
- Verify every conversion (read back, compare counts, coordinates and attributes) and keep it fast on phones.
- Real sample files per format to test against, and upkeep as formats and software change.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads.
- Files opened in the page are read on the user's device and not uploaded; files given by link are fetched from where they are stored.

_Status: the viewer and converter work on the page. For agents, POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect answers today for map files (gis_inspect), and POST /v1/gis_convert/jobs converts them with a read-back check._

## Privacy

- Files opened in the page are read on the user's device and not uploaded.
- Files opened by link (?src=) are fetched by the user's browser from where they are stored.
- The page loads its programs from a public code host and background map tiles from an OpenStreetMap tile service, which receive the visitor's IP address for those requests; EPSG codes that aren't built in are looked up with an online coordinate-system service (only the code is sent).

## Data

Si apre sul tuo dispositivo; noi non lo vediamo mai. Se crei un link di condivisione per un file, ne conserviamo una copia per 30 giorni.

## FAQ

- **Come devono chiamarsi le colonne delle coordinate?** latitude e longitude funzionano meglio; vengono riconosciute anche lat, lon, lng, long, y e x, oltre a Breite/Länge e latitud/longitud. Oppure usa una colonna WKT (chiamata WKT, geometry o geom) per linee e poligoni.
- **Il mio CSV usa il punto e virgola e la virgola decimale (Excel italiano). Funziona?** Sì. Il separatore viene riconosciuto dalla riga di intestazione e, con il punto e virgola, le virgole decimali vengono lette come separatore decimale.
- **Posso importare il KML in Google My Maps?** Sì. In My Maps aggiungi un livello, fai clic su Importa e scegli il KML. My Maps accetta anche direttamente i CSV, ma solo fino a 2.000 righe per livello e senza la verifica fatta qui.
- **È davvero gratis?** Sì: nessun limite di file, nessuna pubblicità, nessuna registrazione e nessuna versione a pagamento.
- **Caricate il mio file?** Solo se lo condividi. Un file condiviso viene conservato 30 giorni perché il link funzioni, e puoi eliminarlo in qualsiasi momento. Trovi i dettagli nella sezione “Cosa succede al tuo file”.
- **Il mio agente AI può aprire file di mappe?** Sì. Gli agenti chiamano POST https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/inspect con il link a un file di mappa o caricandolo (senza chiave) e ricevono come dati livelli, numero di elementi, sistema di coordinate, estensione e schema degli attributi; POST /v1/gis_convert/jobs converte il file. Un agente può anche aprire qualsiasi file di mappa pubblico in questo visualizzatore tramite link: basta aggiungere a questa pagina ?src= e l'indirizzo del file.
- **Chi c'è dietro?** Unmake Labs. Contatto: hello@unmakelabs.com.

## Related pages

- [Visualizzatore e convertitore di file GIS](https://unmakelabs.com/it-it/visualizzatore-shapefile-online/)
- [Visualizzatore shapefile](https://unmakelabs.com/it-it/visualizzare-shapefile-online/)
- [Visualizzatore KML](https://unmakelabs.com/it-it/visualizzatore-kml-online/)
- [Visualizzatore GPX](https://unmakelabs.com/it-it/visualizzare-file-gpx-online/)
- [Visualizzatore GeoJSON](https://unmakelabs.com/it-it/visualizzatore-geojson-online/)
- [Visualizzatore GeoPackage](https://unmakelabs.com/it-it/aprire-file-gpkg-online/)
- [Convertitore SHP in KML](https://unmakelabs.com/it-it/convertire-shp-in-kml/)
- [Convertitore da KML a SHP](https://unmakelabs.com/it-it/convertire-kml-in-shp/)
- [Convertitore da KML a GeoJSON](https://unmakelabs.com/it-it/convertire-kml-in-geojson/)
- [Convertitore da KML a GPX](https://unmakelabs.com/it-it/convertire-kml-in-gpx/)
- [Convertitore da KMZ a KML](https://unmakelabs.com/it-it/convertire-kmz-in-kml/)
