Simple ID Generator for Node.js var simpleid = require('simpleid'); console.log(simpleid()); //K63G7NP7452 Thanks http://fiznool.com/blog/2014/11/16/short-id-generation-in-javascript/ for the idea.