There are two major advantages to JSON.stringify over util.inspect: 1.) JSON.stringify defaults to recursively printing deeply nested objects. 2.) JSON.stringify output is JSON, meaning it can be taken directly from the output and used wherever JSON is accepted. util.inspect output is JSON-like, but also includes other annotation such as the types of various values, as well as functions on objects.