Underscore.js iterate over dictionary var dict = { "TEdXKpZJ4p" : 4.3, "abcdef" : 5.0 } _.each(dict, function(value, key) { console.log(key, value); })