A Node.js utility script to parse Microsoft Launcher backup JSON files and list which apps (by package ID) are placed inside which home screen folders.
This is useful when migrating, auditing, or just inspecting your Launcher setup.
Note
You must first export a backup from Microsoft Launcher (via its settings) and unwrap it via this script by command node .\script.js .\launcher_backup_main.bak .\backup.json --unwrap-strings
- Reads a Microsoft Launcher JSON backup.
- Extracts folders (
KeyForAllDesktopFolders) and their contained shortcuts (KeyForAllDesktopShortcuts). - Parses package identifiers from Android intents.
- Outputs two files by default:
list.json→ machine-readable structured JSONlist.txt→ human-readable text summary
- CLI arguments let you customize output filenames.
- Optionally print results to STDOUT.
Clone or download the script, then install dependencies (only Node.js standard library is used, no npm install required).
git clone https://gist.github.com/your-gist-id.git launcher-folder-extractor
cd launcher-folder-extractorMake the script executable (optional):
chmod +x script.jsnode script.js backup.json-
Reads
backup.json(exported from Microsoft Launcher). -
Writes:
list.json(JSON output)list.txt(human-readable summary)
node script.js backup.json --json-out out/folders.json --text-out out/folders.txtnode script.js backup.json --stdout| Flag | Alias | Default | Description |
|---|---|---|---|
--json-out |
-j |
list.json |
Path to JSON output file |
--text-out |
-t |
list.txt |
Path to human-readable text output file |
--stdout |
off | Also print JSON result to terminal (stdout) |
[
{
"folderId": 101,
"folderTitle": "Work",
"screenId": 0,
"items": [
{ "package": "com.microsoft.teams", "title": "Teams" },
{ "package": "com.microsoft.outlook", "title": "Outlook" }
]
},
{
"folderId": 102,
"folderTitle": "Social",
"screenId": 0,
"items": [
{ "package": "com.whatsapp", "title": "WhatsApp" },
{ "package": "org.telegram.messenger", "title": "Telegram" }
]
}
]Folders summary (2025-09-12T12:00:00.000Z):
• Folder "Work" [id=101, screen=0] — 2 item(s)
- Teams <com.microsoft.teams>
- Outlook <com.microsoft.outlook>
• Folder "Social" [id=102, screen=0] — 2 item(s)
- WhatsApp <com.whatsapp>
- Telegram <org.telegram.messenger>
- Only home screen folders are processed. If your backup contains app drawer folders under a different key, extend the script to handle them.
- Shortcuts that aren’t apps (e.g., contacts or deep links) will still appear, but
packagemay benull. - The script intentionally omits raw Android intents in the output.
MIT — use freely for your backups and launcher management.