Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
convert 64bit steamid to text STEAM_x:y:z format and vice versa
JavaScript
branch: master

README.md

SteamID Converter

A module for node that converts a 64bit SteamID to a text STEAM_x:y:z format and vice versa

npm install steamidconvert
var steam = require('steamidconvert')()

Convert SteamID into SteamID64

steam.convertTo64('STEAM_0:1:82174') //76561197960430077

Convert SteamID64 into SteamID

steam.convertToText('76561197960430077') //STEAM_0:1:82174 

Convert Vanity into SteamID64

This is for converting custom URLs to SteamID64

//e.g. http://steamcommunity.com/id/panvertigo/
var steam = require('steamidconvert')(/*your steam api key*/)
steam.convertVanity('panvertigo', function(err, res) {
  if (err) console.log(err)
  else console.log(res) //76561198000670105
})

Convert old SteamID to new SteamID format

steam.convertToNewFormat('STEAM_0:1:82174') //[U:1:164349]
Something went wrong with that request. Please try again.