Convert GeoJSON to JSON
Flatten a GeoJSON file into simple JSON records: one per feature, with its properties and coordinates. Handy for tables, charts and databases. Processed in your browser.
- No credit card
- Never touches a server
- One record per feature
- Lon and lat fields
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
GeoJSON to JSON in three steps
No account, no email, no waiting for an upload.
- STEP 01
Add your GeoJSON
A FeatureCollection, a single Feature or a bare geometry all work.
- STEP 02
Choose how to handle geometry
Write longitude and latitude fields, keep the whole geometry object, or leave geometry out. Pick an indent.
- STEP 03
Copy or download the JSON
The note shows how many features were converted.
What GeoJSON to JSON does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Properties become fieldsEach feature's properties are copied into the record next to its id, if it has one.
- Longitude and latitude for pointsPoint features get longitude and latitude fields, plus altitude when a third number exists, and a geometry_type field.
- Other shapesLines and polygons get their coordinates in a coordinates field in the default mode, or the full geometry object if you choose to keep it.
- Geometry left outSkip geometry entirely when you only need the attribute table.
- Accepts all common shapes of inputA FeatureCollection, a Feature or a lone geometry are all read.
Good to know
- Non-point shapes stay nestedA polygon is not reduced to a centroid. Its coordinates remain a nested list in one field.
- No reprojectionCoordinates are copied as they are, assuming WGS 84 as GeoJSON requires.
- Not a validatorRun the GeoJSON validator first if the file might be malformed.
Your data never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use GeoJSON to JSON
Make an attribute table
Get the properties of every feature in a flat list.
Chart locations
Use longitude and latitude fields with a plotting library.
Load features into a database
Pair with JSON to CSV or JSON to SQL INSERT.
Inspect a dataset
See what fields a geographic file offers.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
What the records look like
For each feature you get an object that starts with its id, if present, then every property, then the geometry fields. A point at longitude 77.59 and latitude 12.97 with a name property becomes a record with name, geometry_type, longitude and latitude.
If two properties share a name with a geometry field, check the output so nothing is overwritten.
Which geometry mode to pick
Choose according to what comes next:
- Longitude / latitude fields: best for point data and tables.
- Keep the geometry object: best when you will rebuild GeoJSON later.
- Leave it out: best for statistics on properties alone.
- Format the output with the JSON formatter, or explore it with the JSON tree viewer.
A short example: GeoJSON to JSON
A feature with the properties name and population and a Point geometry gives {name, population, geometry_type: Point, longitude, latitude}. Three such features give a JSON list of three records, ready for a table or a chart. Switch to keeping the geometry object when you will later rebuild a map file.
Questions, answered
How do I convert GeoJSON to JSON?
Paste the GeoJSON, choose the geometry option and copy the records.
Does converting my GeoJSON upload it?
No. The features are turned into records by script in this tab, so location data never leaves your device.
What happens to polygons?
Their coordinates are kept as a nested list, or as the whole geometry object if you choose that option.
Can I drop the geometry?
Yes, choose 'Leave it out' for properties only.
Does it work with a single Feature?
Yes. A single Feature or a bare geometry becomes one record.
Can I convert GeoJSON on mobile?
Yes. Phones and tablets with a current browser can run it. Small files paste easily, while large ones are better on a computer.