Convert OV2 to CSV

A practical review of converting TomTom OV2 point-of-interest files to CSV: what changes, what can be lost, and how to check that the result is still usable.

An OV2 file is a binary point-of-interest (POI) format used by TomTom navigation devices and software. Each entry holds a location and a short text label. Converting it to CSV turns those binary records into plain, comma-separated text that spreadsheets, mapping tools and scripts can read. This review covers whether that conversion suits your purpose, what it changes, and what to check before you rely on or share the result.

Short verdict

Converting OV2 to CSV is a good choice when you want to inspect, edit, merge or import POI data somewhere other than a TomTom device. CSV is readable, searchable, easy to edit and widely supported. The main tradeoff is that CSV has no fixed schema. Column order, coordinate format, text encoding and delimiter conventions all vary between tools, so a file that opens cleanly in one program can be misread by another. Keep the original OV2 if the data is going back to a TomTom device, and treat the CSV as a working copy rather than a replacement.

What the conversion actually changes

This is a change of file format, not a cosmetic text effect. The location and label stay the same. What changes is how they are stored. Publicly documented descriptions of the OV2 structure describe a sequence of typed binary records:

  • Type 0: a deleted record, which a converter should skip.
  • Type 1: a skipper or block record. It holds a bounding box and lets devices skip groups of POIs quickly. It is an index, not a POI.
  • Type 2: a simple POI with a record length, longitude, latitude and a null-terminated name.
  • Type 3: an extended POI that carries additional text fields after the name. Converters differ in how much of this they keep.

In type 2 records, coordinates are stored as signed 32-bit little-endian integers equal to degrees multiplied by 100,000. A converter divides each value by 100,000 to produce decimal degrees, which gives five decimal places. In CSV, the name becomes a text column and the coordinates become numeric columns.

OV2 element | Typical CSV result | What to watch
Longitude (integer × 100,000) | Decimal degrees column | Negative values west of Greenwich, which covers all of the US
Latitude (integer × 100,000) | Decimal degrees column | Column order may be latitude-first or longitude-first
Name string (null-terminated) | Text column, quoted if needed | Encoding and embedded commas or quotes
Extra fields in type 3 records | Extra columns or dropped | Check whether your converter keeps them
Skipper/block records | Not output | Expected; they are index data
Deleted records | Not output | Expected

Some things do not survive the move to CSV. OV2 files are often distributed with a matching icon image that the device displays for those POIs. CSV cannot carry that icon. The grouping provided by skipper records is also gone, although that matters only to the device. Some POI collections pack extra details, such as a phone number, into the name field with a separator character. A converter will usually copy that field as one block of text, and you may need to split it yourself.

Checking a converted file

No sample input and output were supplied for this review, so no conversion has been verified here. To check your own result, run these steps on a small sample:

  • Compare the row count with the number of POIs you expect. A large mismatch usually means skipper or deleted records were mishandled.
  • Pick a few POIs whose locations you know and confirm the coordinates land in the right place on a map. A sign flip or swapped columns will put US points in the wrong hemisphere or in the ocean.
  • Look for names containing accented letters or symbols. Garbled characters mean the source encoding was guessed wrong.
  • Find any name containing a comma or quotation mark and confirm it stayed in a single column.

Will the CSV stay usable after copying or sharing?

CSV is plain text, so it copies, pastes, searches and edits without special handling. Screen readers and other assistive technology read it like any other text or spreadsheet. The weak points come from interpretation, not from the characters themselves:

  • Encoding: OV2 name text is not consistently stored in a single character set across all files and tools. Saving the CSV as UTF-8 is the safest choice. Some spreadsheet programs detect UTF-8 reliably only when the file starts with a byte order mark, so test the program your recipients will use.
  • Column order: there is no standard. Label the header row clearly, for example latitude, longitude, name, and check what the importing tool expects.
  • Delimiters and regional settings: in locales that use a comma as the decimal separator, spreadsheets may split coordinates or expect semicolons. Recipients in such locales may need to choose import settings by hand.
  • Quoting: names containing commas, quotes or line breaks must be enclosed in double quotes, with internal quotes doubled. Hand-edited files often break this rule.
  • Accessibility of meaning: a row of raw coordinates is readable but tells a person little about the place. If people will review the file, add a descriptive column such as an address or category.

Opening and re-saving a CSV in a spreadsheet can quietly change it. The program may reformat numbers, drop precision or change the encoding. If the CSV feeds another tool, inspect it in a text editor after any spreadsheet edit.

Ways to convert

GPSBabel is an established open-source converter that lists TomTom OV2 among its supported formats and can write a general-purpose CSV. A typical command is shown below. Option names can change between versions, so confirm them against the documentation for your installed copy.

gpsbabel -i tomtom -f pois.ov2 -o unicsv -F pois.csv

For full control, a short script can read the records directly. The sketch below keeps only the first text field of each POI. It assumes UTF-8 names and replaces any bytes it cannot decode, so change the encoding if your names come out garbled. It is an untested illustration, not a verified tool.

import csv
import struct

with open("pois.ov2", "rb") as f:
    data = f.read()

rows = []
pos = 0
while pos < len(data):
    rtype = data[pos]
    if rtype == 1:  # skipper block: type, size, bounding box
        pos += 21
        continue
    length = struct.unpack_from("<i", data, pos + 1)[0]
    if length <= 0:
        break
    if rtype in (2, 3):
        lon, lat = struct.unpack_from("<ii", data, pos + 5)
        raw = data[pos + 13 : pos + length]
        name = raw.split(b"\x00", 1)[0].decode("utf-8", errors="replace")
        rows.append((lat / 100000, lon / 100000, name))
    pos += length

with open("pois.csv", "w", newline="", encoding="utf-8") as f:
    writer = csv.writer(f)
    writer.writerow(["latitude", "longitude", "name"])
    writer.writerows(rows)

Online converters are also available. Their appearance or wording says nothing reliable about how they handle uploaded files. If your POI list includes private locations such as homes, clients or sites, check the service's stated data policy first, or use a local tool.

When to keep OV2 or plain text instead

Keep the OV2 file as your master copy if the data is mainly for a TomTom device. Converting to CSV and back can lose icons, extended fields and any non-ASCII names that were decoded incorrectly. If you only need a person to read the list, a simple plain-text list of names and addresses may serve better than a CSV of raw coordinates. Choose CSV when the next step is a spreadsheet, a database, a script or a mapping import that expects tabular data.

Open questions

No specific converter results, test files or tool privacy terms were available for this review. The record layout described above follows widely published community documentation of the format, not a test performed here. Handling of extended records and text encoding varies between files and tools, so verify a sample from your own data before converting a large collection.