Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including epsg-index with all npm packages installed. Try it out:

var epsgIndex = require("epsg-index")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

epsg-index v1.0.0

A machine-readable index of all EPSG coordinate systems.


A machine-readable index of all EPSG coordinate systems. Similar to epsg and node-proj4js-defs, but kept up to date. Like python-epsg, but in JavaScript/JSON.

npm version build status ISC-licensed chat on gitter support me on Patreon


npm install epsg-index


const epsg4326 = require('epsg-index/s/4326.json')

    code: '4326',
    kind: 'CRS-GEOGCRS',
    name: 'WGS 84',
    wkt: 'GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]]',
    proj4: '+proj=longlat +datum=WGS84 +no_defs',
    bbox: [90, -180, -90, 180],
    unit: 'degree (supplier to define representation)',
    area: 'World.',
    accuracy: null

You can also load all coordinate systems (5mb of data):

const all = require('epsg-index/all.json')



  • transform-coordinates – Transform coordinates from one coordinate system to another. Built on top of epsg-index.


If you have a question or have difficulties using epsg-index, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free