Roblox Message Archiver is a utility to archive messages from your Roblox Inbox (and other categories). Roblox has announced that they are removing user-to-user inbox messaging via the Messages (not Chat) feature on October 29th, 2024.
NOTE: I will be working on a tool that will transform your messages into a browsable document. Expect this in a few weeks.
- Why you should archive your messages
- Is this script safe?
- Prerequisites
- Installation
- Customizing variables
- Running the script
- Finding your messages
- License
Roblox doesn't always act in the community's best interest. Roblox said they would make previous messages "read-only". You may lose your messages if you don't save them now as Roblox may delete them in the future without warning. It's better to be safe than sorry.
This script is completely safe. It does not send any of your messages or your cookie anywhere besides Roblox servers. Your data remains on your device. You can look through the source code and verify this yourself.
Before you continue, you'll need to install python using the official site or the Microsoft Store on Windows (easier for newbies, make sure to check ADD TO PATH
on installation!). This script should work with python >= 3.8
. If you're on MacOS, Linux, or another Unix based system, you may need to use a package manager to install python.
- Clone the repo
- Method 1 (git):
git clone https://github.com/dieperdev/roblox-message-archiver.git
- Method 2 (zip file): Download the repo as a zip file and extract it
- Method 1 (git):
- Open the folder where you installed the repo and open a terminal in that folder
- Create a virtual environment
- Windows:
python -m venv venv
- MacOS/Linux (or other Unix systems):
python3 -m venv venv
- Windows:
- Activate the virtual environment
- Windows:
./venv/Scripts/activate
- MacOS/Linux:
source venv/bin/activate
- Windows:
- Install dependencies
- Windows:
pip install -r requirements.txt
- MacOS/Linux:
pip3 install -r requirements.txt
- Windows:
First, you'll need to grab your ROBLOSECURITY
cookie. Check this post on the devforum to get it. Look under the "How can I see my cookie?" section. The developer tools option is recommended.
Open .env.example
and edit the variables in the file. You should place your cookie in the ROBLOSECURITY
string (delete all existing text). Next, you should replace ARCHIVE_INDIVIDUAL
with 0
or 1
. The comments in the file will guide you on which one to pick.
After the previous steps, you need to rename the .env.example
file to .env
.
If you have previously ran the script and:
- Moved one of your messages between categories (like inbox to archived)
- or did an operation on the message (like mark it as read or delete)
Then you will need to delete your existing archive.db
file so the database can be updated.
- Windows:
python src/main.py
. - MacOS/Linux (or other Unix systems):
python3 src/main.py
Your messages can be found in the archives
directory. Messages are named by their message id and can be found in the following folders:
archives/inbox
archives/sent
archives/news
archives/archive
If you didn't enable ARCHIVE_INDIVIDUAL
in your .env
file: (these files will still exist if you enable it)
There is also inbox.json
, sent.json
, news.json
, and archive.json
files in the archive
directory that contain all the messsages in the corresponding category. An archive.db
file is also included for easy access to messages and for converting your messages into a browsable document.