en

NDJSON to GeoJSON

Convert newline-delimited GeoJSON (NDJSON) to a GeoJSON FeatureCollection locally. No upload.

Running locally on your device ...

Running locally on your device ...

0%

Is my file uploaded?

No. Everything runs in your browser - your file never leaves your device. How this is verifiable

No upload100% local
Your content stays with youno third-party access
Hosted in GermanyGlobal Content Delivery
Independently auditedTLS A+ · HTTP headers A+

Newline-delimited GeoJSON (NDJSON / GeoJSONL) stores one GeoJSON feature per line - the form produced by big-data geo pipelines (tippecanoe, ogr2ogr). To open it in a web map or a desktop GIS you usually need a single GeoJSON FeatureCollection. This tool wraps the lines back into one clean FeatureCollection.

Every non-empty line is ingested individually as a GeoJSON object: an existing Feature is taken verbatim, whereas a standalone geometry gets wrapped into a Feature with an empty attribute block. Blank lines are silently skipped and the ordering of the records stays strictly intact. The outcome is a single, valid document - a merged FeatureCollection that editors, libraries and desktop programs such as QGIS display directly.

Everything runs entirely locally in the browser - your possibly sensitive location data never leaves your device. Honestly framed: a line that is not valid JSON, or a file with no usable features, is rejected with a clear message rather than producing an empty output. The coordinate order stays longitude then latitude.

The appeal of NDJSON is appending: a new feature is simply added as another line, with no need to rewrite the file - ideal for pipelines that keep appending records. Here you turn that back into the compact FeatureCollection, which is exactly the one structure that Leaflet, Mapbox and QGIS read in a single pass.

Specifications

Specifications
Input formatsNDJSON, JSONL, GEOJSONL
Auto-conversionPNG, JPG, WebP, GIF, BMP, TIFF, ICO, SVG, HEIC, PDF, MP3, WAV, ZIP, DOCX, DXF, MIDI, GeoJSON, DDS, HDR, PCX, WBMP
Output formatGeoJSON
Batch processingNo
ProcessingLocally in your browser (JavaScript)
File uploadNone

In 3 steps

  1. Drop your NDJSON file.
  2. The conversion runs automatically.
  3. Download the GeoJSON.

Limitations: Converts newline-delimited GeoJSON (NDJSON / GeoJSONL, one Feature or geometry per line) to a single GeoJSON FeatureCollection. Bare geometries are wrapped as features. Coordinates WGS84. Round-trips with GeoJSON to NDJSON. An invalid or empty file is rejected with a clear error.

FAQ

What input does it expect?

Newline-delimited GeoJSON: one Feature (or a bare geometry) as JSON per line, as produced by tippecanoe or ogr2ogr.

How are bare geometries handled?

A line that is a bare geometry is wrapped into a Feature with empty properties; a Feature line is kept as is.

Can I reverse it?

Yes, use the partner tool GeoJSON to NDJSON to write one feature per line again.

Is my file uploaded?

No, the conversion happens entirely locally in the browser; location data never leaves your device.

Related tools

GeoJSON to NDJSON · CSV to GeoJSON · WKT to GeoJSON · GPX to KML · GeoJSON to TopoJSON · TopoJSON to GeoJSON