This topic has been locked
Nostalginaut Jan 25, 2020 @ 7:19am
Can I export a list of my Steam Library, including what's not installed?
I'd like to make an editable/printable list of the games I own on Steam. I have a LOT; too many to actually install.

Is there a quick'n'easy way to make an export such a list? I Googled a bit, but some of the results are from several years back and contained broken links to parts (or all) of the proposed solutions.
< >
Showing 1-15 of 16 comments
Flava Clown Jan 25, 2020 @ 7:27am 
The only way I could think of is to use this list and save it as HTML file.
https://store.steampowered.com/account/licenses/
Nostalginaut Jan 25, 2020 @ 7:29am 
Originally posted by Flava Clown:
The only way I could think of is to use this list and save it as HTML file.
https://store.steampowered.com/account/licenses/
This absolutely works by just copying and pasting into Excel/LibreCalc/whatever. Thanks so much!
XanadoX Oct 31, 2020 @ 5:11am 
Originally posted by Flava Clown:
The only way I could think of is to use this list and save it as HTML file.
https://store.steampowered.com/account/licenses/

Thx for the tip
Kargor Oct 31, 2020 @ 5:19am 
Just be aware that the license list does NOT list games.

For example, I have licenses like "Humble Indie Bundle 6 Beat the Average" which don't mention any game name at all (I think they stopped doing that, though... for years I've only gotten individual keys as bundles), and every once in a while I come across a game that I own, but I can't find out WHY I'm owning it (because I've yet to find a way to look at an actual game/DLC, and get to my license for it).
FuMaO | THC Mar 16, 2022 @ 7:28am 
Go to your games list of your profile in the browser, open the console and copy and paste this code.

var arr = document.getElementsByClassName("gameListRowItemName"); var text = ''; for(var i = 0; i < arr.length; i++) { text += ("\n" + arr.innerHTML) }
console.log(text);
Napo2k Jun 2, 2022 @ 7:03am 
A slight modification of FuMaO's code worked for me

var allDivs = document.querySelectorAll('div[class^="gameListRowItemName "]'); var text=''; for(var i = 0; i < allDivs.length; i++) { text += "\n" + allDivs.innerHTML };
console.log(text);[/code]
Last edited by Napo2k; Jun 2, 2022 @ 7:06am
Nostalginaut Jun 2, 2022 @ 7:29am 
Totally forgot about this thread! Thanks for the responses.

I use Mozilla FireFox and when I open the browser console to paste this code, however, I don't see any way to do so besides in "filter output," which doesn't do anything.
LilaLauneBär Jan 31, 2023 @ 11:44am 
fixed:
var games = Array.from(document.getElementsByClassName("gameListRowItemName")); var text = ''; games.forEach(a => text += ("\n" + a.innerHTML)); console.log(text);
and if you want a json with game names & steam id's for further querying:
var games = Array.from(document.getElementsByClassName("gameListRow")) .map(g => { return {id: g.id.split("_")[1], name: g.getElementsByClassName("gameListRowItemName")[0].innerHTML}; }); console.log(JSON.stringify(games));
Last edited by LilaLauneBär; Jan 31, 2023 @ 12:00pm
Zenithar Feb 23, 2023 @ 5:49pm 
Originally posted by bernstein:
fixed:
var games = Array.from(document.getElementsByClassName("gameListRowItemName")); var text = ''; games.forEach(a => text += ("\n" + a.innerHTML)); console.log(text);
and if you want a json with game names & steam id's for further querying:
var games = Array.from(document.getElementsByClassName("gameListRow")) .map(g => { return {id: g.id.split("_")[1], name: g.getElementsByClassName("gameListRowItemName")[0].innerHTML}; }); console.log(JSON.stringify(games));
And if I want to add the hours played into that json? Could you help me?
Myster_Dan Feb 23, 2023 @ 10:47pm 
Javascript is cool, but I think you can get the same info (plus hours played) by looking up your profile at https://steamdb.info/calculator/ and then copying the game list - as long as it's public. Paste into Notepad first, then copy that into Excel/etc.

Here's a Excel formula to remove the 'h' and 'm' from the playtime column, assuming it's the F column:

=IFERROR(TEXTBEFORE(F1,"h")/1,IFERROR(TEXTBEFORE(F1,"m")/60,0))

Worked for me, 399.1 hours.

P.S. It doesn't exactly match what steamdb reports at the top of the page because of rounding, but 398.7 vs 399.1 is not too different.
Last edited by Myster_Dan; Feb 23, 2023 @ 10:52pm
full bladder Feb 24, 2023 @ 1:46pm 
Originally posted by Flava Clown:
The only way I could think of is to use this list and save it as HTML file.
https://store.steampowered.com/account/licenses/
Nice link, never seen it before.
Joke Feb 24, 2023 @ 2:50pm 
Originally posted by full bladder:
Originally posted by Flava Clown:
The only way I could think of is to use this list and save it as HTML file.
https://store.steampowered.com/account/licenses/
Nice link, never seen it before.

Look at the top right of the steam client.
Click the button that contains your profile picture and name + wallet balance.
Choose "Account details"

On the page that opens, there are two links at the top right.
* View purchase history
* View licenses and product key activations
AlsoWik Oct 19, 2023 @ 3:10pm 
The scripts above don't work due to recent changes on the page. Here's an update that works as of 10/2023:

Go to the All Games tab in your profile, open the console and copy and paste the code below.

Note: the list loads dynamically, so you first need to scroll all the way to the bottom to force the page to load the full game list.

var games = Array.from(document.getElementsByClassName("gameslistitems_GameName_22awl"));
var text = '';
games.forEach(a => text += ("\n" + a.innerHTML));
console.log(text);
Nostalginaut Oct 20, 2023 @ 5:54am 
Originally posted by AlsoWik:
The scripts above don't work due to recent changes on the page. Here's an update that works as of 10/2023:

Go to the All Games tab in your profile, open the console and copy and paste the code below.

Note: the list loads dynamically, so you first need to scroll all the way to the bottom to force the page to load the full game list.

var games = Array.from(document.getElementsByClassName("gameslistitems_GameName_22awl"));
var text = '';
games.forEach(a => text += ("\n" + a.innerHTML));
console.log(text);

Thanks! I'll have to try this evening. Will this list ALL of my games, including the free ones and those that say "Profile Features Limited"?
stebobibo Feb 4, 2024 @ 7:25pm 
Originally posted by AlsoWik:
The scripts above don't work due to recent changes on the page. Here's an update that works as of 10/2023:

Go to the All Games tab in your profile, open the console and copy and paste the code below.

Note: the list loads dynamically, so you first need to scroll all the way to the bottom to force the page to load the full game list.

var games = Array.from(document.getElementsByClassName("gameslistitems_GameName_22awl"));
var text = '';
games.forEach(a => text += ("\n" + a.innerHTML));
console.log(text);
Thank you friend, that worked perfectly.
Now here's some help to make this easier for the next person like me who doesn't know about web consoles:

1. Open your browser. Can't be firefox, because it doesn't let you paste into console, and looking it up, looks like a big pain to enable. I used Microsoft Edge.

2.Open your browser to the page mentioned. To get there, go to steam main page. At the top, third heading after store and community is your profile name. Hover over it. Click on Games. Then click "All Games".

3.Press ctrl+shift+j to open the console.

4. Type in "allow pasting" and press enter.

5.Type Alsowik's code and press enter. Your list of games should appear.

6.Right click anywhere on the text of your games. The whole block should be selected (backgrounded blue) and a context menu appears. Click "save as". It will save as a .log file, but you can open it in notepad.

Hope that helped, cheers!
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Jan 25, 2020 @ 7:19am
Posts: 16