File handoff · Explicit coordinate references

CSV to KML Converter — KML & KMZ to Excel

Prepare points or an ordered line for a map, or extract coordinates from KML and KMZ. Columns are matched from their names, every point is drawn over an offline coastline, and points outside the area you expect are flagged before you download.

Read the field guide ↓

Convert between tables and KML

Everything runs in your browser. Your file is not uploaded.

1Add your table

Paste or edit text instead

2Match the columns

Add a table first. Columns named latitude, longitude, name, ID and so on are matched automatically. Check them before you continue.

Download a WGS84 example CSV

Carry coordinate meaning into the handoff

Original contextual illustrations, not calibrated measurement evidence.

Review points and route order

Names identify features; vertex order defines a line.

Relief coastal map in a drawer with orange location pins and a route cord

Keep context with the file

Share the supported output together with the original and conversion record.

Map in a kraft envelope beside a USB drive and two blue map pins

Field guide

A practical guide to coordinate and map file exchange

Start with source documentation, then review each field, coordinate meaning and deliverable.

Turn a coordinate table into a clear map handoff

A CSV to KML converter helps when the recipient needs to view named locations or a route in a KML-compatible mapping application. It also helps in the opposite direction: a supplied map file may contain positions you need to review in a spreadsheet or another point-file workflow. This page keeps both directions together so you can inspect coordinates and exchange supported content without changing to a separate tool for each file extension.

Begin by choosing the direction. Table input accepts CSV, text or one explicitly selected Excel worksheet. Map input accepts KML or a KMZ archive containing exactly one KML document. Processing stays in your browser. The application does not load external map tiles, linked icons, remote models or network-linked documents. Keep the received file as your original record, especially when its styling or unsupported objects matter to the delivery.

Confirm WGS84 longitude and latitude before export

The first coordinate role is longitude and the second is latitude, both expressed in decimal degrees. A value such as 500000 from a projected grid is not a longitude. Range checks reject impossible angles, but they cannot discover a wrongly identified datum when the numbers still look plausible. Confirm the source reference from its documentation, not from the appearance of the preview.

If your table contains known WGS84 UTM coordinates, use the projection converter first and then continue here with the geographic result. CGCS2000 geographic coordinates are not automatically WGS84, and a local construction grid needs a documented relationship before it becomes map data. The WGS84 confirmation is deliberately separate from field mapping so a convenient column layout cannot substitute for a coordinate reference decision.

Preserve names while mapping table columns

Choose the name, longitude, latitude and optional description from drop-down lists that show each column header and a few sample values. Columns whose names say latitude, longitude, ID, shelfmark, name and so on are matched automatically and labelled as such, but nothing is accepted silently: check the sample values beside each list, and a warning appears if, for example, a column named Latitude is used as longitude or one column is chosen twice. The name can contain leading zeros, spaces or ordinary punctuation; a stable identifier such as a record number or shelfmark makes the best label because it survives later edits to titles. XML-sensitive text is escaped during export, and descriptions remain plain text rather than executing embedded HTML. Other columns can be ticked to appear in each placemark pop-up as KML ExtendedData, named after their headers; anything not ticked stays in the complete JSON report.

For XLSX files, choose the correct worksheet before reviewing the fields. Stored numeric coordinate values are used instead of rounded display text. Explicit zero-padded integer formats are preserved for names, while formula, date and error cells require correction or conversion to verified plain values. Do not infer that the tool has recalculated an Excel formula: it has no spreadsheet calculation engine and intentionally refuses that ambiguity.

Choose separate points or one ordered line

Point output creates one Placemark per input record, using the mapped name and description. This is suitable for named features, inspection locations or a set of survey positions to be visually reviewed. Missing names stay empty; the tool does not invent field identifiers. Repeated names are preserved because a map can legitimately contain more than one feature with the same displayed label.

Line output creates one LineString using every row in its original order. At least two vertices are required. Review the ordering before export, since sorting by name or Easting could change the route substantially. KML line vertices do not receive the table's individual name and description fields in this implementation. Those values remain in the JSON source record, and the interface tells you about this omission before approval. Use point output when per-location labels are essential.

Make the height mode match the data

Height mode is a semantic choice. Clamp to ground tells the viewer to place geometry on its terrain, so a supplied height is not used as an absolute survey elevation. Relative to ground interprets a value as metres above the terrain at that position. Absolute interprets it as a height in metres above sea level according to the receiving KML application's convention. Choose a mode that matches the intended communication and the actual data meaning.

The tool does not convert ellipsoidal heights into elevations, calculate a geoid separation or certify a vertical datum. For absolute and relative output, every row must include a height; an empty cell is not silently replaced with zero. For clamped output, missing heights remain absent. If a GNSS file supplies ellipsoidal height, do not simply select absolute because the column is labelled elevation. Establish the required vertical conversion separately or choose an appropriate visual-only clamped delivery.

Understand the difference between KML and KMZ

KML is an XML document describing map features. KMZ is a ZIP archive that can package a KML document and related assets. The map geometry does not become more precise merely because it is compressed. This tool can export the generated document as KML or as a KMZ containing doc.kml, so the recipient can use whichever packaging their workflow expects.

On import, this version requires exactly one KML member. An archive containing several KML documents is rejected with a member list rather than guessing which one represents the intended delivery. Supporting asset names remain in the archive report, but linked images, sounds, textures and styles are not reproduced. File size, archive entry and expanded-size limits are checked before normal processing. These boundaries are intended to make failure clear rather than produce an unexplained partial map.

Extract point and line coordinates with context

KML to CSV and XLSX extraction supports Point and LineString geometry, including supported members within MultiGeometry. Each line vertex becomes a row with its feature number and vertex order. The output also retains the Placemark name, description, folder path, altitude mode, KML identifier and ExtendedData values represented as JSON text. A line therefore produces multiple rows; row count is not the same as feature count.

The point table is an extraction, not a lossless rewrite of the complete map document. Styles, icons, display settings and unimplemented geometry are not recreated. Polygon, model, overlay, track and network-link content is listed as unsupported. Review that list and explicitly approve the supported subset before export. Invalid coordinates in an otherwise supported feature block export, while the report retains the original document for investigation.

Use the map preview and position checks

The local preview draws every point over a simplified coastline outline from Natural Earth. The outline ships with this page, so nothing is requested from a map service. It is enough to see a point in the sea or on the wrong continent, but it is not a survey basemap, does not measure ground distances and does not prove line topology. Choose where the points should be (Great Britain and Ireland, Europe, the contiguous United States, China, Australia or a custom box) and points outside that area are marked in red. When swapping longitude and latitude, or restoring a lost minus sign, would put a point inside the area, the list says so and shows the value it would then have. The tool never changes your data: correct the source table and load it again. Points at exactly 0°, 0° are always flagged as likely placeholders.

The table is paginated and can be filtered to the rows that need a look, while exported files and the JSON report retain all supported vertices. Clicking a point highlights its row, and clicking a row highlights its point. The summary counts the Placemark elements in the generated KML and compares them with the data rows in your table. No automatic check catches a point that is slightly wrong but still inside the area, so compare at least one independently known location before accepting a handoff. Any input edit removes the previous result and approval, so a download cannot silently reuse an outdated preview.

Export a usable spreadsheet and continue the workflow

CSV contains explicit columns for name, longitude, latitude, altitude, description, geometry, feature, vertex, folder, altitude mode, KML ID and attributes. XLSX provides the same values as text cells to preserve identifiers and decimal strings. If a spreadsheet formula needs numeric columns, convert those columns deliberately after confirming their interpretation. Formula-like names or descriptions remain text in XLSX rather than becoming executable formulas.

Imported coordinates can continue to projection conversion without another upload. Height is deliberately left unmapped during this handoff because clamped, relative and absolute KML values must not automatically become a common survey elevation field. The original altitude and mode columns remain in the transferred source for review. Choose the target projection and confirm its reference before continuing to planar point tools such as filtering or DXF export.

Keep the original and a complete conversion record

Save the original file, generated output and JSON report together. The report records the chosen geometry, mapped fields, reference note, errors and stated omissions. On import it retains the original KML text; a KMZ report also identifies the selected member and accompanying archive assets. This makes it possible to explain why a spreadsheet contains fewer geometric objects than a rich source map.

Inputs are limited to ten mebibytes and one hundred thousand supported vertices, with additional limits for workbook cells and archive expansion. A large file should be split by a documented feature or project boundary rather than truncated to a preview. Successful export means the supported content passed the stated checks; it does not certify the source survey or turn a visual map into an engineering control dataset.

Frequently asked questions

File formats, coordinate references and supported scope.

Can I convert an Excel coordinate list to KML?

Yes. Upload XLSX, explicitly select the worksheet, check the automatically matched columns and confirm WGS84 decimal degrees before downloading. Formula and date cells must first become verified plain values. You can export separate points or a single line in the existing row order.

Why do my points appear in the wrong place?

Check longitude versus latitude, positive and negative signs, the source datum and whether the numbers are projected coordinates rather than angles. Choosing the expected area above the map flags points outside it, with a note when the cause looks like swapped columns or a missing minus sign. Plausible numbers do not prove the reference is right, so compare a known position from independent source documentation.

Can the pop-up show other columns from my table?

Yes. In step 2, tick the columns to include. They are written as KML ExtendedData, which Google Earth and most KML viewers show when a point is clicked, using the column headers as field names. This applies to separate points; a single line has no per-vertex pop-up.

Does KMZ to CSV preserve folders and names?

The supported extraction keeps names, folder paths, descriptions, feature numbers and line vertex order. It also includes altitude mode and ExtendedData as JSON text. Styles, icons and unsupported geometry are not reconstructed; review the report and keep the original archive.

Can I use projected survey X and Y directly?

No. Convert a documented projected reference into appropriate WGS84 longitude and latitude first. The companion projection tool supports same-datum WGS84 UTM operations. Other datum changes require a suitable verified operation outside this converter.

Are blank heights treated as zero?

Not during table export. Absolute and relative modes require a height for every row. Clamped output permits missing height. An imported omitted altitude remains empty in the extracted table, even if a receiving map viewer applies its own default rendering behavior.

Can I export polygons or calculate route lengths?

This release extracts points and line vertices and lists polygons as unsupported. It does not calculate geodesic lengths or polygon areas. A scatter preview is not a substitute for those calculations, and a closed-looking line is not automatically exported as a polygon.

Why is a KMZ with several KML files rejected?

The tool avoids choosing a main document by filename alone. Select or prepare the intended KML document with your source application, then import that file or a single-document KMZ. The error lists the members so the ambiguity can be resolved explicitly.