You can try something like this var json = canvas.toJSON(); alert(JSON.stringify(json)); canvas.loadFromJSON(json, function() { canvas.renderAll(); });