Google-chrome – Copy JSON from console.log in developer tool to clipboard


Using Chrome Developer Tools, i have printed a JSON object with console.log.

is there a way that I can copy it to the clipboard?

Best Answer

If the right-click -> copy is not available you could try:

1 - Right-click the object and select "Store as global variable"

2 - The console will print the new variable's name, for example:


3 - Type:


The object is now available in your clipboard.

Tested in chrome 36

Related Question