I saw this Tweet pop-up in my feed this evening and it intrigued me:
Personally I’ve never wanted or needed to export a list of properties from Google Search Console (though I have needed similar for Google Analytics!); but, there didn’t seem to be an obvious answer (as pointed out by @JLFaverio via Twitter)…
https://www.google.com/search?q=how+to+%22export+properties%22+in+%22google+search+console%22

So I thought I’d give it a quick go!
There were suggestions via Twitter responses for integration with 3rd party tools/systems to export a list, but I wanted something more simplistic and not reliant on subscriptions to other tools.
With a bit of trial and error, I quickly created the following script:
javascript:(function(){var output="";divClasses=document.getElementsByTagName('div');for(i=0;i<divClasses.length;i++){if(divClasses[i].getAttribute('class')=='utePyc'){output+=divClasses[i].textContent+'\n';}}console.log(output);})();
And it seems to work!
Now, you should be aware that I’ve thrown this script together in very little time, with minimal testing on a very small scale, but it seems to do the job (at least via Chrome, if you’re not in Incognito!).
For this to work you will need to:
- Log into Search Console.
- Expand the list of properties so the drop down / selection is visible.
- Drop the above code into the Console (F12 > Console, if you’re using Chrome)
- Click enter!
Note point 2 above! The list of properties in GSC is generated dynamically, so you must expand the list first, otherwise this will fail immediately.
If you follow the points above then, theoretically, the script should output a list of all GSC properties to the Console, which you can copy and paste as you see fit.
Give it a try and see if it works for you. It’s taken longer to write this post than it did to create and test the script, so I’m not promising absolute success.
The script extracts the domain name based on the div class, and I did see different class names when testing this (namely between “normal” and incognito modes) so it may break in certain cases. We’ll have to wait and see as it’s trialed on a wider scale.
If this generates enough interest maybe I’ll put a bit more effort into it. 🙂