This topic has been locked
mrNotaaa Jun 11, 2023 @ 3:05pm
how to remove all free games from steam account
how to remove ALL FREE GAMES FROM ACCOUNT ?? ALL! That there isn't one left. I have an incredible amount of them, one deletion is impossible, because with each deletion the page is updated. Is there any script???
Originally posted by mimizukari:
Originally posted by mrNotaaa:
https://steamcommunity.com/sharedfiles/filedetails/?id=756281375
never use scripts you don't understand without reading and analyzing every part of it. especially ones that interact directly with Steam's site. if you do it's 100% at your own risk.

I can only analyze the lite version of the script as the big one is too big to run through a quick analysis



  • It creates an empty array called freeLicensePackages to store the package IDs of the free licenses.
  • It shows a modal dialog with the message “Analyze… Please wait until analysis is complete.”
  • It loops through all the elements with the class name “free_license_remove_link” and extracts the package ID from the link href attribute. It adds the package ID to the freeLicensePackages array.
  • It dismisses the modal dialog and assigns the length of the freeLicensePackages array to a variable called total.
  • It shows an alert message with the text “Don’t forget to say thanks to the author of the script - niron (that’s me;)”
  • It initializes a variable called removed to zero.
  • It loops through the freeLicensePackages array and sends a POST request to the URL “https://store.steampowered.com/account/removelicense” with the package ID and the session ID as parameters. This request will remove the license from the account.
  • It increments the removed variable by one and dismisses the modal dialog.
  • If the removed variable is equal to or greater than the total variable, it reloads the page. Otherwise, it shows a new modal dialog with the message “Executing… Don’t forget to say thanks if You liked the script;) Removed X/Y.” where X is the removed variable and Y is the total variable.
< >
Showing 1-9 of 9 comments
mimizukari Jun 11, 2023 @ 3:09pm 
use the license page and remove the license of all the free games https://store.steampowered.com/account/licenses/
mrNotaaa Jun 11, 2023 @ 3:13pm 
Thanks for the answer, but I have about 9000 free games in my library, how can I delete one by one, I will most likely grow old
mimizukari Jun 11, 2023 @ 3:14pm 
Originally posted by mrNotaaa:
Thanks for the answer, but I have about 9000 free games in my library, how can I delete one by one, I will most likely grow old
you can always write your own script but too many requests too many fast might cause issues with your account.
mrNotaaa Jun 11, 2023 @ 3:17pm 
I'll keep that in mind thanks for the reply
jbone01 Jun 11, 2023 @ 4:39pm 
9000 WOW
The author of this thread has indicated that this post answers the original topic.
mimizukari Jun 12, 2023 @ 11:45am 
Originally posted by mrNotaaa:
https://steamcommunity.com/sharedfiles/filedetails/?id=756281375
never use scripts you don't understand without reading and analyzing every part of it. especially ones that interact directly with Steam's site. if you do it's 100% at your own risk.

I can only analyze the lite version of the script as the big one is too big to run through a quick analysis



  • It creates an empty array called freeLicensePackages to store the package IDs of the free licenses.
  • It shows a modal dialog with the message “Analyze… Please wait until analysis is complete.”
  • It loops through all the elements with the class name “free_license_remove_link” and extracts the package ID from the link href attribute. It adds the package ID to the freeLicensePackages array.
  • It dismisses the modal dialog and assigns the length of the freeLicensePackages array to a variable called total.
  • It shows an alert message with the text “Don’t forget to say thanks to the author of the script - niron (that’s me;)”
  • It initializes a variable called removed to zero.
  • It loops through the freeLicensePackages array and sends a POST request to the URL “https://store.steampowered.com/account/removelicense” with the package ID and the session ID as parameters. This request will remove the license from the account.
  • It increments the removed variable by one and dismisses the modal dialog.
  • If the removed variable is equal to or greater than the total variable, it reloads the page. Otherwise, it shows a new modal dialog with the message “Executing… Don’t forget to say thanks if You liked the script;) Removed X/Y.” where X is the removed variable and Y is the total variable.
Last edited by mimizukari; Jun 12, 2023 @ 11:46am
Katie May 1 @ 9:05am 
This thread was quite old before the recent post, so we're locking it to prevent confusion.
< >
Showing 1-9 of 9 comments
Per page: 1530 50