GeoJSON to SVG Map
GeneratorsEverything runs locally in your browser — nothing is uploaded
Paste GeoJSON and it is drawn at once as an SVG map you can copy or download as `.svg`. Point, LineString and Polygon are supported along with their Multi forms, as well as Feature, FeatureCollection and GeometryCollection. Coordinates are `[longitude, latitude]`. ⚠️ The latitude y axis is flipped. Latitude grows northwards while the SVG y axis grows downwards — without flipping, the whole map is upside down and still looks like a map (the sea is still the sea), which makes the mistake very hard to spot by eye. It is always flipped here, so points in the northern hemisphere land in the upper part of the picture. Three projections: equirectangular (simplest; stretches horizontally at high latitudes), Mercator (what web maps use, so local shapes are right but high latitudes distort), and raw longitude and latitude (non-uniform scaling that fills the canvas, so it stretches). ⚠️ There is a cap on coordinates. A high-precision country border can have hundreds of thousands of points, and drawing them all freezes the tab — with no error, just steadily slower. So exceeding the threshold raises a clear error rather than grinding on. Below the map the feature count, coordinate count and bounding box are shown — a glance at the box tells you whether the data is what you expected.
Features
- Paste GeoJSON and see it drawn as an SVG map in real time
- Supports Point, LineString and Polygon plus their Multi forms
- Accepts Feature, FeatureCollection and GeometryCollection
- ⚠️ Flips the latitude y axis so north is up (unflipped it looks like a map but is upside down)
- Three projections: equirectangular, Mercator and raw longitude and latitude
- Adjustable stroke colour, fill colour and stroke width; optional vertices and graticule
- Reports the feature count, coordinate count and bounding box
- ⚠️ Raises an error past the coordinate cap instead of freezing the tab
- Copy the SVG source or download a .svg file
- Everything runs in your browser and nothing is uploaded
How to use
- Paste the GeoJSON into the input box
- Pick a projection and change the colours or stroke width if you want
- Tick vertices or the graticule
- Check the preview plus the feature count and bounding box, then copy or download the SVG
FAQ
- Why does the map flip the y axis?
- Because latitude grows northwards while the SVG y axis grows downwards, so the two point in opposite directions. Without flipping, the whole map is upside down — and it still looks like a map (the sea is still the sea, the land is still the land), which makes the mistake very hard to catch by eye. The approach here is to negate the projected y, so northern-hemisphere points land in the upper part of the picture.
- What is the difference between Mercator and equirectangular?
- Equirectangular treats longitude and latitude directly as plane coordinates (`x = longitude`, `y = -latitude`): simplest, but it stretches horizontally at high latitudes (Greenland looks enormous). Mercator applies a non-linear transform to latitude (`y = ln(tan(π/4 + φ/2))`), so local shapes are truer — which is why web maps use it — but it still distorts at high latitudes, and latitude has to be clamped to ±85.0511 (beyond that it tends to infinity). For a small area the two are indistinguishable.
- Why does my GeoJSON say there are too many coordinates?
- Because it has more than twenty thousand coordinate points. A high-precision border or coastline dataset easily has hundreds of thousands, and drawing them all as `<path>` elements freezes the tab — with no error, just a page that gets slower and slower, which is hard to trace. So there is a cap here, and going past it is reported clearly so you can simplify the geometry first (with something like mapshaper) and try again.
- Can the result be used directly as an image?
- Yes. What you copy is a complete SVG with `xmlns`, so it can be saved as a `.svg` file, dropped into a web page, or opened in Illustrator or Figma for further editing. It is vector, so it stays sharp at any size.
Related tools
SVG Editor
ImagesWrite SVG on the left, see it render on the right. Switch backdrops (checkerboard, light, dark) and get checks for xmlns, viewBox and external references.
Chart Maker
GeneratorsPaste two columns of “label,value” data and get a bar, line, pie, scatter or radar chart with a live preview and SVG source you can download.
Mind Map
GeneratorsType an indented outline on the left and get a mind map on the right, live. Split both ways or to one side, and export SVG. Nothing leaves your browser.
UUID Generator
GeneratorsGenerate a column of UUID v4, v7, ULID, NanoID or MongoDB ObjectId values, one per line, ready to paste into a spreadsheet. Runs in your browser.
Lorem Ipsum
GeneratorsGenerate placeholder text as Latin lorem ipsum, English sentences, Chinese or Japanese filler, in paragraphs, sentences or words — all in your browser.
Mock Data
GeneratorsDescribe your fields once and get realistic mock records, exportable as JSON, CSV, TSV, SQL, XML, YAML or TOML. All generated in your browser.