TokenBox is a lightweight Chrome extension designed to make managing API tokens super easy and safe. Whether you're a developer testing APIs or just need to copy tokens quickly, TokenBox helps you handle everything in one place.
-
Manage multiple roles π§βπ»
You can create different roles likeadmin,user, etc. Each role stores its own credentials and last API response. -
Save your credentials securely π
Store your username and password for each role. TokenBox remembers them so you donβt have to type them every time. -
Receive API tokens instantly β‘
Send a request to your API and get the token back in one click. -
Copy tokens easily π
Copy the last received token for any role with a dedicated βCopyβ button. The button is disabled if no valid token exists. -
View last API response π
For each role, you can see the last response from the API by clicking the βLast Responseβ button. -
Edit or delete roles βοΈβ
Modify credentials for any role or delete a role entirely with confirmation. -
Smart UI & UX π¨
- Responsive layout and neat design
- Colored messages for success β and errors β
- Only shows relevant buttons based on your actions
- Maintains last token even after closing the popup
-
Set API URL
Click theChangebutton next to the URL display to edit your API URL. PressApplyto save it. -
Add Roles
Click the+button in the roles section to create a new role. -
Add Credentials
Select a role and clickEdit Credentials. Enter your username and password and save. -
Get Token
Click theReceive Tokenbutton to send a request to your API.- If successful, the token is saved and displayed.
- The βCopyβ button becomes active to copy the access token.
-
View Last Response
Click theLast Responsebutton to see the last API response for the selected role. -
Delete Role
Select a role and click theDeletebutton to remove it. A confirmation alert ensures you donβt delete by accident.
TokenBox uses Chromeβs local storage to save:
- API URL
- Roles list
- Credentials for each role (username + password)
- Last received access token per role
- Last API response per role
All data stays on your machine. Nothing is sent elsewhere.
-
Messages:
- β Green = Success
- β Red = Error
- βͺ Gray = Info
-
Buttons:
- Copy token spans full width at the bottom.
- Action buttons (
Receive Token,Last Response,Delete,Edit Credentials) show only when a role is selected. - Disabled buttons turn gray if not clickable.
-
Roles highlight when selected.
- Open Chrome and go to
chrome://extensions/ - Enable Developer mode
- Click Load unpacked and select the
TokenBoxfolder - Pin the extension for quick access
- Always save your credentials before requesting tokens
- Use separate roles for different API environments like
dev,staging, andprod - The Last Response button is helpful for debugging API calls
- TokenBox only sends requests to the API URL you configure
- Your data stays on your device and is never shared elsewhere
- Works offline for viewing saved roles, responses, and credentials
If you enjoy using TokenBox or have ideas for improving it, feel free to open an issue or submit a pull request.
Made with β€οΈ by Milad Joodi
