Online FlatGeobuf viewer

MapGeoData opens FlatGeobuf (.fgb) files straight in your browser. Drag one in and the map draws in seconds. It reads the format's typed columns and its coordinate system, and exports back out to GeoJSON, a shapefile, or CSV.

World countries, loaded from a FlatGeobuf file. Open it with your own data →

What FlatGeobuf is for

FlatGeobuf solves a specific problem: GeoJSON is easy to produce and slow to read. A 50MB GeoJSON has to be parsed character by character before anything can be drawn, and every coordinate starts life as text.

FlatGeobuf keeps the same information as binary, in a layout a reader can use directly, with a packed Hilbert R-tree so features that sit near each other on the map also sit near each other in the file. The result is a file that opens quickly and can be read in pieces.

It is a good working format and a poor sharing format, in the sense that whoever you send it to needs something that reads it. This page is one of those things.

Opening one

Drag the .fgb onto the map, or use the Add menu. The header carries the geometry type, the column names and their types, and the coordinate system, so the layer arrives fully described: numeric columns are ready to color by, text columns are ready to categorize by, and a projected file is reprojected to lat/long on the way in.

Converting to and from it

MapGeoData reads and writes FlatGeobuf, so it works in both directions:

Both directions run in your browser, so nothing is uploaded to convert.

What you can do once it's open

Runs in your browser

The file is read and drawn by code running in your browser, so it never leaves your machine. There's nothing to install and no account to create. It sets no tracking cookies, and we never sell or share your data.

Frequently asked questions

What is FlatGeobuf?

A binary format for vector data, built around a flat buffer of features with a packed Hilbert R-tree index. It was designed to be read without parsing the whole file first, which is why it loads so much faster than GeoJSON at the same size.

Why is it faster than GeoJSON?

GeoJSON is text, so opening it means parsing every number from a string. FlatGeobuf stores coordinates as binary already laid out the way a reader wants them, so there is far less work between the bytes and the map.

Does it keep my coordinate system?

Yes. FlatGeobuf records the CRS in its header, and MapGeoData reads it and reprojects to lat/long on load, so a projected file lines up on the basemap without a sidecar.

Can I convert my shapefile or GeoJSON to .fgb?

Yes. Load the file and export as FlatGeobuf. The conversion runs in your browser, and it's worth doing for anything you reopen often.

Do I need a server or a tile service to use it?

No. That is one common way FlatGeobuf gets used, with HTTP range requests against a hosted file, but a local .fgb opens here as an ordinary file.

Is it free?

Completely free. No sign-up, no trial, no watermark.