profile-cleaner(1)
π profile-cleaner(1) π
okay bestie, welcome to the manual for profile-cleaner β the little shell script that makes your browser profiles β¨skinnierβ¨. it's a section-1 manual page, it's iconic, and you're gonna love it.
πΈ NAME πΈ
profile-cleaner β shrink your browser (and a few email app) profiles by organizing their sqlite databases with sqlite3's vacuum and reindex functions. and yeah, "browser" is used loosely here because profile-cleaner is happy to work on some email clients too. it's giving versatile π
π¦ SYNOPSIS π¦
profile-cleaner [option]
β¨ DESCRIPTION β¨
so like, profile-cleaner is a very simple shell script that calls up sqlite3 to vacuum and reindex the databases belonging to supported browsers and email clients. no cap, that's the whole vibe.
it's compatible with profile-sync-daemon, so you do not have to stop psd before you call profile-cleaner. and honestly? profiles clean way faster when they're synced to tmpfs via psd. main character energy fr fr π₯
β οΈ the one thing you MUST do: make sure your target browsers or email clients are not running when you invoke profile-cleaner. if you don't, the open files will NOT get cleaned and reindexed. like, at all. zero. it's giving wasted effort π so close them first, bestie.
π OPTIONS π
one option per run, and each one is a lil vibe:
bβ clean brave's profilecβ clean chromium's profileckβ clean conkeror's profile(s)*eβ clean edge's profilefβ clean firefox's profile(s)*faβ clean falkon's profilegcβ clean google-chrome's profilehβ clean heftig aurora's profile(s)*iβ clean icecat's profile(s)*idβ clean icedove's profileixβ clean Inox's profilelβ clean Librewolf's profilemβ clean midori's profileoβ clean opera's profiletβ clean thunderbird's profile(s)*toβ clean tor-browser's profilesβ clean seamonkey's profile(s)*pmβ clean palemoon's profile(s)*pβ clean the defined pathsvβ clean vivaldi's profile
* for the starred ones, profile-cleaner will parse the respective profiles.ini file and clean all profiles defined in there. all of them. every single one π«Ά
π CONFIG FILE π
the very first time you invoke profile-cleaner, it creates $HOME/.config/profile-cleaner.conf for you. cute, right?
inside, you can define a color scheme based on your terminal's background color. the default is a dark scheme for dark colored terminals. the file is commented and self-explanatory, so you won't be lost. iykyk β¨
π EXAMPLES π
clean all firefox profiles:
$ profile-cleaner f
clean the chromium profile:
$ profile-cleaner c
clean a user-defined profile:
$ profile-cleaner p /path/to/profile
π SUPPORTED BROWSERS AND EMAIL CLIENTS π
currently, the following are supported:
- Brave (stable, beta, dev and nightly)
- Chromium (stable,beta,dev)
- Conkeror
- Edge
- Firefox (stable,beta,aurora)
- Google-chrome (stable,beta,dev)
- Heftig's version of Aurora (
https://bbs.archlinux.org/viewtopic.php?id=117157) - Inox (
https://bbs.archlinux.org/viewtopic.php?id=198763) - Midori
- Newsbeuter
- Opera (stable, next, and developer)
- Seamonkey
- Thunderbird
- Tor-browser
- Vivaldi (stable and snapshot)
π SAMPLE OUTPUT π
here's what it looks like when you invoke the firefox option (your mileage will vary, bestie):
$ profile-cleaner f
/home/facade/.mozilla/firefox/zee52krz.default/cookies.sqlite reduced by .87 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/signons.sqlite reduced by .41 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/downloads.sqlite reduced by .56 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/chromeappsstore.sqlite reduced by .03 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/urlclassifier3.sqlite reduced by 43.10 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/formhistory.sqlite reduced by .11 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/addons.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/permissions.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/content-prefs.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/extensions.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/webappsstore.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/OfflineCache/index.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/search.sqlite reduced by 0 Mbytes
/home/facade/.mozilla/firefox/zee52krz.default/places.sqlite reduced by 9.98 Mbytes
firefox profile reduced by 55.06 Mbytes
π§ CONTRIBUTE π§
wanna contribute to this code? slay. please fork and send a pull request. the source is freely available on github:
https://github.com/graysky2/profile-cleaner
π BUGS π
none known. periodt.
π AUTHOR π
graysky (graysky AT archlinux DOT us)
β SEE ALSO β
profile-sync-deamon (1)
πΈ and that's the whole page, bestie! this lil manual is from the source/version line that says profile-cleaner(1), dated 14 February 2026. go forth and vacuum those databases πβ¨π
π¦ where this page comes from
- ubuntu resolute: profile-cleaner 2.46-1 Β· MIT
- ubuntu stonking: profile-cleaner 2.46-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms