Home › Developer Tools › GeoJSON Viewer

GeoJSON Viewer

Paste GeoJSON or open a .geojson file to see its points, lines and polygons on a map. Click a feature to read its properties, edit values in the table or the code editor, add points, fix common coordinate mistakes and download the result. Nothing is uploaded.

Last updated:

Advertisement
Advertisement

How to use the GeoJSON Viewer

  1. Load your data: press Open GeoJSON, drop a file onto the map, paste GeoJSON anywhere on the page, or type it in the GeoJSON tab. A San Francisco sample loads first.
  2. Explore the map: drag to pan, scroll or pinch to zoom, and click a feature to see its properties.
  3. Edit: change values in the Features table, add a property column, delete features, or press Add point and click the map.
  4. Validate: open the Validation tab to see errors and warnings with their JSON path; click one to jump to the feature, or use the suggested fix.
  5. Export: download the edited data as .geojson or CSV (WKT), or copy it.

GeoJSON geometry types at a glance

Typecoordinates shapeExampleRules (RFC 7946)
Pointposition[-122.4058, 37.8024][longitude, latitude], optional altitude in metres
MultiPointarray of positions[[-122.41, 37.80], [-122.39, 37.79]]Any number of positions
LineStringarray of positions[[-122.39, 37.79], [-122.41, 37.80]]At least 2 positions
MultiLineStringarray of LineString arrays[[[…], […]], [[…], […]]]Each line needs 2+ positions
Polygonarray of linear rings[[[0,0],[1,0],[1,1],[0,1],[0,0]]]Rings have 4+ positions, first = last; exterior counterclockwise, holes clockwise
MultiPolygonarray of Polygon arrays[[[[…]]], [[[…]]]]Same ring rules for every polygon
GeometryCollection"geometries" array instead{"type":"GeometryCollection","geometries":[…]}Should not be nested

Common GeoJSON mistakes and how to spot them

  • Latitude and longitude swapped. Many APIs and spreadsheets list latitude first, but GeoJSON is longitude first. Points in the US will have a negative first number (west) and a positive second number around 25 to 49.
  • Projected coordinates. Values like -13627361, 4544761 are Web Mercator metres (EPSG:3857). Re-export as EPSG:4326 / WGS 84, or use the conversion button in the Validation tab.
  • Open polygon rings. The last position of each ring must repeat the first one exactly.
  • Too many decimals. Six decimal places is about 0.1 m of precision, which is more than enough for most data; extra digits only make files bigger.
  • The old crs member. The 2008 GeoJSON spec allowed other coordinate systems; RFC 7946 removed it, and most software now assumes WGS 84.

Feature styling follows the widely used simplestyle convention: set stroke, stroke-width, fill, fill-opacity or marker-color in a feature's properties to change how it is drawn here and on GitHub.

Frequently asked questions

What is GeoJSON?

GeoJSON is a JSON format for geographic data, standardized in RFC 7946 (2016). A file is usually a FeatureCollection whose features each have a geometry (Point, LineString, Polygon or their Multi versions) and a properties object with attributes such as a name or population. It is the default exchange format for web maps, Leaflet, Mapbox, GitHub and many GIS tools.

Why are my features in the wrong place or missing?

GeoJSON coordinates must be [longitude, latitude] in WGS 84 decimal degrees. The most common mistakes are writing [latitude, longitude] (features land in the wrong hemisphere or fail validation) and exporting projected coordinates in metres, such as Web Mercator EPSG:3857. The Validation tab detects both and offers a one-click conversion.

What does the right-hand rule warning mean?

RFC 7946 says a polygon's exterior ring should run counterclockwise and holes clockwise. Many tools ignore winding order, but some renderers and databases use it to decide what is inside the polygon. It is a warning rather than an error, and the Fix ring order button rewinds every ring for you.

Is my data uploaded anywhere?

No. Your GeoJSON is parsed and validated by JavaScript in your browser. Only the background map tiles are requested from the OpenStreetMap tile server, which receives the map area being viewed, not your features. You can switch the basemap off to stop all tile requests.

How big a GeoJSON file can it handle?

Files of tens of megabytes with thousands of features work well because geometry is projected once and simplified to screen pixels while drawing. Very large files (over about 5 MB) open in read-and-table mode without the text editor, and for hundreds of megabytes you should simplify the data first, for example with mapshaper.

Does it support TopoJSON, KML or Shapefiles?

No, this viewer reads GeoJSON (including newline-delimited GeoJSON). Convert other formats to GeoJSON first; GPS tracks in GPX format can be opened in the GPX Viewer, which shows distance, elevation and speed.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

GPX ViewerOpen GPX tracks on a map with distance, elevation profile, moving time, speed and splits.JSON ViewerExplore JSON as a collapsible tree, search keys and values and copy any node's path.JSON ValidatorCheck JSON with the exact line and column of each error, fix tips and one-click auto-fix.What Are My GPS CoordinatesSee your latitude and longitude in decimal and DMS, with accuracy and maps.JSON Graph VisualizerSee JSON as an interactive node graph with zoom, collapse and search; export PNG or SVG.Map Distance CalculatorClick points on a map to measure a path in km, miles or nautical miles, with GPX export.Map Radius ToolDraw circles of any radius around points on a map, with multiple rings and a share link.Random Location GeneratorRandom coordinates on land, in a country or near you, on a map with the nearest city.JSON to Excel ConverterTurn JSON into a styled .xlsx spreadsheet; nested arrays become their own linked sheets.JSON to CSVConvert JSON data to CSV for spreadsheets.CSV to JSONConvert CSV data to JSON with live preview.Excel to CSVConvert XLSX spreadsheets to CSV.CSV ViewerOpen a CSV or TSV file as a sortable, filterable table.Excel Viewer (XLSX / XLS)Open XLSX, XLS and ODS spreadsheets in your browser without Excel.Line Ending ConverterConvert text and files between CRLF, LF and CR line endings.Markdown to HTMLConvert Markdown to clean HTML with a live editor.XML to JSONConvert XML to JSON with validation.Text Encoding ConverterDetect and convert text file encodings like UTF-8, UTF-16 and Latin-1.TTF to WOFF2 ConverterConvert TTF and OTF fonts to WOFF2 or WOFF and get a ready @font-face CSS snippet.Chmod CalculatorConvert Linux file permissions between checkboxes, octal (755) and symbolic (rwxr-xr-x) notation.JSON to TypeScriptGenerate TypeScript interfaces or types from JSON, with nested types and optional fields.Morse Code TranslatorTranslate text to Morse code and back, then play it as sound or a blinking light, or save a WAV.HTML Table GeneratorBuild HTML tables in an editable grid with styles, header rows, CSV import and live preview.Hex to Text ConverterConvert hex to text and text to hex with UTF-8 support and space, 0x, \x or comma formats.JSON to XML ConverterConvert JSON to well-formed XML with attributes, arrays and pretty print.JSON to YAML ConverterConvert JSON to clean YAML as you type, with indent, quoting and sort options.YAML to JSON ConverterConvert YAML to pretty or minified JSON, with errors pinned to the exact line.HTML to Markdown ConverterTurn HTML or pasted rich text into clean Markdown with tables and live preview.Markdown Table GeneratorBuild Markdown tables in a grid or paste from Excel/CSV, with alignment and preview.Image to Base64Convert images to Base64 data URIs, CSS backgrounds and HTML img tags in your browser.Base64 to ImagePaste a Base64 string or data URI to preview, identify and download the image.JSON CompareCompare two JSON documents and see every added, removed and changed path.Hex to DecimalConvert hex to decimal instantly with steps and signed mode.Decimal to HexConvert decimal to hex instantly with steps and signed mode.Binary to DecimalConvert binary to decimal instantly with steps and signed mode.Decimal to BinaryConvert decimal to binary instantly with steps and signed mode.Two's Complement CalculatorDecimal to two's complement binary and back for 4-64 bits, with invert-and-add-1 steps.XML to CSV ConverterConvert XML to CSV: detects repeating records, flattens nested data, pick your columns.JSON to Python ClassGenerate Python dataclasses, Pydantic models or TypedDicts with type hints from JSON.JSON to C# ClassConvert JSON to C# classes or records with System.Text.Json or Newtonsoft attributes.JSON SorterSort JSON keys A-Z recursively, sort arrays by value or by a key, then pretty-print or minify.JSON to HTML TableConvert a JSON array of objects into clean HTML table code with CSS styles and a live preview.CSV to SQL ConverterConvert CSV to SQL CREATE TABLE and INSERT statements for MySQL, PostgreSQL, SQLite or SQL Server.IPv4 to IPv6 ConverterConvert IPv4 to IPv4-mapped, 6to4 and NAT64 IPv6, extract IPv4 from IPv6, and get int/hex/binary.cURL to Code ConverterConvert curl commands to JavaScript fetch, Axios, Python requests, Node.js, PHP and Go code.Code to ImageTurn code into a beautiful syntax-highlighted PNG with themes, window frame and background.Excel to JSON ConverterConvert Excel sheets (XLSX, XLS, ODS) to JSON with header row, type and shape options.CSV to Excel ConverterConvert CSV files to a real .xlsx workbook with typed numbers and dates, one sheet per file.CSV SplitterSplit a large CSV into smaller files by row count, file count or column value, header kept.CSV MergerCombine many CSV files into one, matching columns by name, with dedupe and a source column.VCF to CSV ConverterConvert vCard (.vcf) contacts to CSV for Google or Outlook, or turn a CSV back into a VCF.Calendar Event (.ics) GeneratorCreate an .ics calendar invite with time zone, reminders and repeats + Google/Outlook links.CSV Column ExtractorPick, reorder and rename CSV columns, filter rows by value, and export a new CSV or JSON.CSV Diff CheckerCompare two CSV files by key column and see added, removed and changed rows cell by cell.CSV Duplicate Row RemoverRemove duplicate rows from a CSV by all or selected columns and download the cleaned file.CSV to HTML TableTurn CSV into clean HTML table code with a live preview, styling options and one-click copy.CSV to Markdown TableConvert CSV to a neatly aligned GitHub Markdown table with column alignment and live preview.CSV TransposeSwap rows and columns of CSV, TSV or pasted spreadsheet data, with delimiter auto-detect.Date Format ConverterConvert any date to ISO 8601, RFC 2822, Unix time and custom strftime, moment or Java patterns.ENV to JSON ConverterConvert .env files to JSON or YAML and JSON back to .env, with quotes and multiline values.File to Base64Convert any file to a Base64 string or data URI with MIME detection, line wrap and download.HTML Table to CSVExtract any table from HTML or page source to CSV, TSV or JSON, with colspan and rowspan handled.IEEE 754 Floating Point ConverterConvert decimals to 32/64-bit IEEE 754 floats: toggle bits, see hex, exact value and rounding error.INI to JSON ConverterConvert INI and CFG files to JSON and JSON back to INI, with sections, arrays and types.IP Address ConverterConvert IPv4 to decimal, hex, binary, octal and back, with class and private/public check.ISBN Converter & ValidatorConvert ISBN-10 to ISBN-13 and back, validate check digits and hyphenate, one or in bulk.JSON Flatten / UnflattenFlatten nested JSON to dot or bracket path keys, or unflatten flat keys back to nested JSON.JSON to Dart ClassTurn JSON into Dart model classes with fromJson, toJson, null safety and nested classes.
See all 129 Data & File Format Converters →