SQLiteFGB

Convert SQLite to FGB online

Convert SpatiaLite / SQLite — a single-file spatial database — into FlatGeobuf, which is a fast, streamable binary format built for large datasets. Drop your SQLite file below, FGB is already selected as the output, and download the result. Everything runs in your browser and the cloud; you never install anything.

Step 1

Upload your file

Drag and drop it into the converter below. A free account comes with three welcome conversions.

Step 2

Convert in the cloud

MapGO detects the format and produces your download in seconds.

Step 3

Download & keep it

Files are deleted automatically after 48 hours.

Files are deleted automatically after 48 hours. Your files are never shared.

Why convert SQLite to FGB with MapGO?

Most online converters take one file and hand back one file. MapGO is built on a real geospatial engine, so a single upload can do more.

  • Several outputs in one upload

    Tick FGB and any other formats you need; every selected format is delivered from the same file.

  • Files up to 5 GB

    Far beyond the browser-based converters that choke past a few hundred megabytes.

  • Reproject while you convert

    Set a source and target EPSG code and the coordinate system is changed during the conversion, no second tool needed.

  • Private by default

    Files are deleted automatically after 48 hours.

SQLite vs FGB at a glance

SQLiteFGB
Typical useSingle-file spatial database (SpatiaLite) for analysis and appsLarge datasets streamed to web maps; cloud-native data pipelines
Size on diskCompact single file; multiple tables/layersCompact binary with a built-in spatial index
Attribute supportFull SQL types — query with plain SQLFull attribute tables
Software supportGDAL, QGIS, plus any SQLite toolingGDAL/QGIS, plus web libraries via the flatgeobuf JS package
Web-friendlinessNot web-native — convert for the browserExcellent — streams over plain HTTP range requests

Other ways to convert SQLite to FGB

You don't need an online tool for this. If you have GDAL installed, one command does it.

In QGIS (free): open your SQLite via Layer → Add Layer, then right-click the layer → Export → Save Features As… and pick FGB as the format.

The MapGO converter above is for when you don't want to install anything, need to convert to several formats at once, or are handling files too large for a desktop machine.

ogr2ogr
ogr2ogr -f "FlatGeobuf" output.fgb input.sqlite

SQLite to FGB: frequently asked questions

Is the SQLite to FGB converter free?

Partly. Every new account gets three welcome conversions for free, so you can try SQLite to FGB without paying. After that, you can either buy a credit pack and pay per conversion, or take a subscription, which gives you unlimited conversions within the plan's file-size limit. There is nothing to install; the whole conversion runs in the cloud.

Is my data kept private?

Conversion is fully automated and your file is never shared. Files are deleted automatically after 48 hours. Download your FGB result and it's yours to keep.

What does the FGB output contain?

You get a clean FlatGeobuf file with your geometry and attributes preserved, ready to open in the tools that read FGB.

Is a SpatiaLite database the same as SQLite?

SpatiaLite is SQLite plus a spatial extension — geometry columns living inside an ordinary .sqlite/.db file. MapGO reads the first spatial table in the file; if you need a different table, export it to its own file first.

What is FlatGeobuf actually good for?

It is a binary format with a built-in spatial index that web maps can stream over plain HTTP — the browser fetches only the features in view, no tile server required. Leaflet, MapLibre and OpenLayers read it via the flatgeobuf JavaScript package.

Can I convert FGB back to SQLite?

Yes — use our FGB to SQLite converter for the reverse direction. MapGO supports conversions in both directions between these formats.

Also convert

See it on the map first.

Open your SQLite in the workspace, check the shapes and attributes, then convert and download from the same place.