Get a spreadsheet of every game you have on the Epic Games Store, including all the weekly free games you claimed: date, game, price and order ID. Free, in your browser, without installing anything or connecting your Epic account to any site.
Sign in on epicgames.com and open Account > Transactions > Purchases, then run the script. It goes through every page of the table by itself (tested on an account with 340 purchases).
// Responsive Muse · Epic Games Library Exporter · v1.0 · 2026-11-25
// Saves every game you have bought or claimed for free on the Epic Games Store to CSV or TXT:
// date, game, status, price and order ID. Epic has no export button and no library list on the
// web. Runs only on your Purchases page (epicgames.com/account/transactions, signed in). It reads
// the table page by page, pressing the same "next page" arrow you would. It never sends anything
// anywhere and never reads cookies, passwords, tokens or payment details.
(async () => {
const TOOL = 'Export Epic Games library';
const FORMAT = 'csv'; // 'csv' (Excel, Sheets) or 'txt' (one game per line)
const FREE_ONLY = false; // true = only the games you claimed for free
if (!/(^|\.)epicgames\.com$/.test(location.hostname) || !/^\/account\/transactions/.test(location.pathname)) {
alert('Open your Epic Games purchases first (signed in):\nhttps://www.epicgames.com/account/transactions');
return;
}
// A small box on the page shows progress and asks before changing anything,
// so you never need to read or edit the console.
const many = (n, word) => `${n} ${word}${n === 1 ? '' : 's'}`; // 1 video, 2 videos
const panel = (() => {
const box = document.createElement('div');
box.style.cssText = 'display:block!important;position:fixed;right:16px;bottom:16px;z-index:2147483647;width:340px;max-width:calc(100vw - 32px);' +
'background:#111318;color:#e6e8ee;font:14px/1.5 system-ui,sans-serif;border-radius:12px;padding:16px;' +
'box-shadow:0 8px 30px rgba(0,0,0,.4);text-align:left';
const head = document.createElement('strong');
head.textContent = TOOL;
const msg = document.createElement('p');
msg.style.cssText = 'margin:8px 0 12px;white-space:pre-line';
const row = document.createElement('div');
row.style.cssText = 'display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end';
box.append(head, msg, row);
document.body.append(box);
const button = (label, primary, onClick) => {
const b = document.createElement('button');
b.textContent = label;
b.style.cssText = 'font:600 14px system-ui,sans-serif;padding:8px 14px;border-radius:8px;cursor:pointer;' +
(primary ? 'background:#0f766e;color:#fff;border:1px solid #0f766e' : 'background:none;color:#e6e8ee;border:1px solid #3a3f4b');
b.onclick = onClick;
row.append(b);
};
return {
text(t) { msg.textContent = t; },
ask(t, yes) {
msg.textContent = t;
row.replaceChildren();
return new Promise(r => {
button('Cancel', false, () => { row.replaceChildren(); r(false); });
button(yes, true, () => { row.replaceChildren(); r(true); });
});
},
stoppable(onStop) { row.replaceChildren(); button('Stop', false, onStop); },
actions(t, list) {
msg.textContent = t;
row.replaceChildren();
list.forEach(([label, primary, run]) => button(label, primary, run));
},
finish(t) { this.actions(t, [['Close', true, () => box.remove()]]); },
close() { box.remove(); },
};
})();
// Offer the result as a downloaded file or as clipboard text (a real click, so it always works)
const deliver = (summary, body, file) => {
const save = () => {
const a = document.createElement('a');
a.href = URL.createObjectURL(new Blob([/\.csv$/.test(file) ? '\ufeff' + body : body], { type: 'text/plain;charset=utf-8' }));
a.download = file;
a.click();
setTimeout(() => URL.revokeObjectURL(a.href), 5000);
panel.text(`${summary}\nSaved as ${file} (check your Downloads).`);
};
const copy = () => navigator.clipboard.writeText(body)
.then(() => panel.text(`${summary}\nCopied. Paste it into a spreadsheet or a note.`))
.catch(() => panel.text(`${summary}\nThe browser blocked the clipboard: use Download instead.`));
panel.actions(summary, [['Close', false, () => panel.close()], ['Copy', false, copy], ['Download', true, save]]);
};
const sleep = ms => new Promise(r => setTimeout(r, ms));
const clean = s => (s || '').replace(/\s+/g, ' ').trim();
const table = () => document.querySelector('table');
// Order rows: the ones with an order ID and a date cell (an opened row adds a details row too)
const rows = () => [...(table()?.querySelectorAll('tbody tr[data-orderid]') || [])].filter(r => r.cells.length >= 5);
// The two arrow buttons right after the table: previous, next
const nextButton = () => [...document.querySelectorAll('button')]
.filter(b => table() && (table().compareDocumentPosition(b) & Node.DOCUMENT_POSITION_FOLLOWING) && !clean(b.innerText) && b.querySelector('svg') && !b.getAttribute('aria-label'))[1];
const read = r => {
const parts = [...r.cells[2].querySelectorAll('span')].filter(s => !s.querySelector('span')) // innermost: status, game
.map(s => clean(s.textContent)).filter(Boolean);
return {
id: r.getAttribute('data-orderid'),
date: clean(r.cells[1].innerText),
status: parts.length > 1 ? parts[0] : '',
game: parts.length > 1 ? parts.slice(1).join(' ') : (parts[0] || ''),
price: clean(r.cells[3].innerText).replace(/^-\s*/, ''),
store: clean(r.cells[4].innerText),
};
};
if (!rows().length) {
alert('No purchases table found. Wait until the list has loaded, open the Purchases tab and run it again.');
return;
}
// 1. Read every page of the table
let stop = false;
panel.stoppable(() => { stop = true; });
window.scrollTo(0, 0);
const orders = new Map();
for (let page = 1; page <= 500 && !stop; page++) {
rows().forEach(r => { const o = read(r); if (o.id && !orders.has(o.id)) orders.set(o.id, o); });
panel.text(`Reading page ${page}… ${many(orders.size, 'purchase')} so far`);
const next = nextButton();
if (!next || next.disabled) break;
const first = rows()[0]?.getAttribute('data-orderid');
next.click();
for (let i = 0; i < 40 && rows()[0]?.getAttribute('data-orderid') === first; i++) await sleep(250); // wait for the new page
await sleep(300);
}
let list = [...orders.values()];
if (FREE_ONLY) list = list.filter(o => !/[1-9]/.test(o.price)); // "0,00 €", "$0.00", "Free"…
if (!list.length) {
panel.finish('No purchases found. If your Purchases page shows games, Epic may have changed its layout: please report it on responsive-muse.com.');
return 0;
}
// 2. Build the file and offer it
const cell = v => '"' + String(v).replace(/"/g, '""') + '"';
const body = FORMAT === 'txt'
? list.map(o => o.game).join('\n')
: ['Date,Game,Status,Price,Store,Order ID', ...list.map(o => [o.date, o.game, o.status, o.price, o.store, o.id].map(cell).join(','))].join('\n');
const bundles = list.filter(o => /\s(and|y|et|und|e)\s\d+\s(more|más|plus|weitere|mais)/i.test(o.game)).length;
deliver(`${stop ? 'Stopped early. ' : ''}Found ${many(list.length, 'purchase')}.` +
(bundles ? `\n${bundles} of them are bundles shown by Epic as "… and N more".` : ''), body, `epic-games-library.${FORMAT}`);
return list.length;
})();
🛡️ Chrome says “Don't paste code…”? That's normal. Type allow pasting in the console, press Enter and paste again. You only need to do it once.
Why does Chrome warn me?
Chrome shows this the first time anyone pastes into the console, to protect people from scams that ask them to paste unknown code. It's right to warn you, and that's why this script is fully visible above: 134 commented lines that send nothing anywhere and never touch your passwords or cookies. Why it's safe.
Rather not use the console? Drag the Export Epic Games library button to your bookmarks bar and click it on www.epicgames.com. No warning that way.
Bookmarklet: drag the middle button to your bookmarks bar, open www.epicgames.com and click the bookmark. It runs the same script with the options above.
Sends nothing anywhere. No fetch, XHR or external scripts. The only network activity is www.epicgames.com itself loading your list.
Never touches your login. It doesn't read cookies, passwords, tokens or browser storage.
Only runs on www.epicgames.com. Anywhere else it stops before doing anything.
Short and readable. 134 commented lines, not minified or obfuscated.
Shows its progress on the page. A small box tells you what it's doing and offers Download or Copy at the end.
Same code for everyone. SHA-256 of the default version: c34d90a714ff64be…
Verify it yourself in 30 seconds
- Read it: every line is above, with comments.
- Search the code for
fetch,XMLHttpRequest,cookie,localStorageoreval. None of them appear. - Open the Network tab before running it: you'll only see requests to www.epicgames.com.
How to use it
- Sign in on epicgames.com and open Account > Transactions > Purchases.
- Open the console: F12 or Ctrl+Shift+J (Cmd+Option+J on Mac). If Chrome asks, type
allow pastingand press Enter. - Copy the script, paste it into the console and press Enter. It goes through every page of the table and offers you the file.
What you get
One row per purchase: date, game, status (purchased or refunded), price, store and order ID. Free giveaways appear at 0.00, so you can see at a glance how many free games you’ve collected; tick Only free games to export just those. Choose TXT for a plain list of titles.
Why export your Epic library?
The Epic Games Launcher shows your library but can’t export it, and the website only lists your purchases 20 at a time. A spreadsheet lets you see everything you own, find the free games you forgot you had, compare it with your Steam or GOG library, or keep a record before you change accounts.
Frequently asked questions
Can you see your Epic Games library on the website?
Not as a list. The library only exists in the Epic Games Launcher, and it has no export. The Purchases page on the website lists everything you bought or claimed, including the weekly free games, 20 at a time.
Does it include the free games I claimed?
Yes. Free claims appear on your Purchases page at 0.00, so they are in the file. Tick "Only free games" to export just those.
Why do some rows say "and 2 more"?
Those are bundles, or a game with its add-ons bought in one order. Epic shows them that way in the table, so the file keeps the same text.
Does it read my payment details?
No. It reads only the date, the game, the status, the price and the store shown in the table. It never opens your payment settings or reads cookies or tokens.
How long does it take?
About a second per page of 20 purchases. A library of 300 games takes under a minute.
