A lightweight and convenient browser bookmarklet to quickly activate Steam product keys directly from your browser.
Instead of manually navigating to the Steam Store activation page, clicking the bookmarklet prompts you for a key, validates its format, and opens the official Steam key redemption page with your key pre-filled and ready to activate.
- Instant Activation: Opens
https://store.steampowered.com/account/registerkey?key=YOUR_KEYin a new tab with your key pre-filled. - Input Validation: Checks the input against standard Steam key patterns (
AAAAA-BBBBB-CCCCC). - Auto-Capitalization: Automatically transforms your key to uppercase.
- Error Handling: Alerts you if an invalid key format is entered and re-prompts so you can correct it.
- Graceful Cancellation: Dismisses cleanly when clicking Cancel or pressing
Escwithout opening any windows. - Zero Dependencies: Pure, vanilla JavaScript compatible with any modern web browser (Chrome, Firefox, Edge, Safari, Brave, Opera).
- Make sure your browser's Bookmarks Bar is visible (press
Ctrl + Shift + Bon Windows/Linux orCmd + Shift + Bon macOS). - Right-click on your bookmarks bar and select Add page or Add bookmark.
- Set the Name to
Steam Activate Key(or any name you prefer). - In the URL (or Location) field, paste the bookmarklet code from steam-activate-key.js
- Click Save.
- Click the Steam Activate Key bookmarklet on your bookmarks bar.
- Enter your Steam product key into the popup prompt dialog.
- Choose an action:
- Click OK: If the key is valid, the Steam activation page opens in a new tab with the key pre-filled. If invalid, an alert will notify you and re-prompt you for a valid key.
- Click Cancel: Closes the dialog immediately.
The script validates keys matching standard Steam activation patterns:
XXXXX-XXXXX-XXXXX(3 sets of 5 alphanumeric characters separated by hyphens)
For transparency and security, here is the readable, unencoded JavaScript source code:
(function () {
'use strict';
(() => {
const baseUrl = 'https://store.steampowered.com/account/registerkey?key=';
let key = undefined;
const regExp = /^[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}-[a-zA-Z0-9]{5}$/mi;
let error = false;
while (typeof key !== 'string' || !regExp.test(key)) {
if (key === null) {
return;
}
if (error) {
alert('Invalid Steam key!');
} else {
error = true;
}
key = prompt('Please enter a Steam key:', undefined);
}
const url = baseUrl + key.toString().toUpperCase();
window.open(url, '_blank');
})();
})();This project is licensed under the GNU General Public License v3.0.