This code was something I quickly put together to archive over 5000 text messages in Google Messages. I have no idea if Google frowns on this or not, but it's basically the same as if a human sat there and archived all the messages by hand.
Tested and working as of Monday, November 4, 2019.
- Sign into https://messages.google.com/web/
- Open Chrome Developers console by going to
View
>Developer
>JavaScript Console
. - Copy and paste the code below into console. It should automatically run.
Don't run any code before you know what it does. Review it and make sure it's safe. I accept no fault if something goes wrong. Google may change their code at anytime and this code may not work. I provide no support.
Works great for me - 2025-January-13.
Press Command+Option+J (Mac) or Control+Shift+J (Windows, Linux, ChromeOS) to open the Console.
My only issue is that the script works on the messages that have loaded which means you need to scroll down through the list periodically if you have many conversations.