Dice, names, emails, addresses, lorem ipsum, GUIDs and more, one click away in the Windows notification area.
Tray Random is a small tray-only app. Click its dice icon to open a flyout, pick what you need, and copy the result. Your most-used categories stay pinned along the top, so switching between "a d20", "a full name" and "a test email" is a single click. Fake data comes from Bogus, so it looks realistic and can follow 50 languages and regions.
-
Categories by group:
- Dice & chance: dice roll, coin flip, number in range, pick from list, shuffle list, yes or no, playing card
- List draws: pick a winner, shuffle and rank, weighted winner and ranking, balanced groups, Secret Santa
- People: full, first and last name, username, job title, phone number, a full person profile
- Text: word, words, sentence, paragraph, slug, hacker phrase, catch phrase, business buzzwords, product review
- Internet: email, URL, domain, IPv4, IPv6, MAC, port, password, user agent, hex color
- Places: full address, street, city, state or region, postal code, country, country code, coordinates, time zone
- Business: company, product, department, price, EAN-13 barcode
- Finance: credit card number, CVV, IBAN, BIC/SWIFT, account number, routing number, amount, currency, Bitcoin and Ethereum addresses
- Dates & times: past date, future date, birthday (with age), time of day, ISO timestamp, weekday, month
- Tech & IDs: GUID, hex string, random string, SHA-1 hash, version number, file name, file path, MIME type, database column
- Fun & misc: color name, vehicle, VIN, music genre
-
Dice notation:
d20,2d6+3,4d6kh3(keep the highest 3),2d20kl1(disadvantage),d%, and mixed terms like2d6-d4+1. Quick buttons for d4 to d100 keep your dice count (3d6 becomes 3d20). Results show the working, with dropped dice in parentheses:4d6kh3: [6, 5, 3, (1)]. -
Animated dice: the eye button next to "how many" turns on a dice tray. The tray shows one roll, so turning it on sets the count to 1 and raising the count turns it off. Each roll throws real-looking dice (a triangle d4, pipped d6, kite d10, a d20 with its facets, and so on) that tumble, bounce and settle before the total springs in. Dropped dice dim, subtracted dice are orange, and a top roll flashes gold. Click the tray to roll again. It respects Windows "Animation effects" (off means the dice just appear) and steps aside in High Contrast. It draws up to 24 dice and counts the rest.
-
Several at once: set "how many" (no upper limit) to get a numbered list. Click any line to copy just that one, or use Copy to take them all. Picking from a list draws without repeats until the list runs out, like names from a hat.
-
List draws: choose a mode from RandomPeople in the category picker. Select a saved list to fill the editor, or enter one item per line, then select Draw. If you edit or clear a selected list, Restore saved entries reloads it without changing the saved list. Use List options to save, start, or delete a list. For weighted draws,
Alex | 3gives Alex three times the chance of an entry with no weight;| 0leaves that entry out of weighted draws. The Draw history button shows past results with their dates, modes, and list names, even after you edit or delete a list. -
Favorites: star any category to pin it in the strip at the top. Drag chips to reorder them, or right-click a chip to move it left or right, or unpin it. Five are pinned to start (dice, full name, email, sentence, GUID).
-
Tray menu: right-click the icon for shortcuts to your first six favorites. Regular categories generate and copy a fresh value. List draw shortcuts open the selected category so you can review the entries before drawing.
-
Keyboard:
Keys Action Enter, Space (Generate focused), Ctrl+R, F5 Generate again Ctrl+1 to Ctrl+9 Switch to that favorite Ctrl+Tab / Ctrl+Shift+Tab Next / previous favorite Ctrl+D Add or remove the current category from favorites Ctrl+Shift+C Copy the results Esc Go back in settings or list draws, or close the flyout -
Settings (gear button or the tray menu): language and region for generated data, copy each result automatically, reset favorites, and start with Windows.
Your category, dice notation, range, quick pick/shuffle inputs, and result count are remembered between sessions. For list draws, save a named list to keep its entries and pick up where you left off.
Download TrayRandom.appinstaller and open it. Windows installs the right version for your PC (x64 or ARM64) and keeps it updated.
Requires Windows 10 version 1809 or later, or Windows 11, on x64 or ARM64.
None. There are no accounts and no API keys.
- No network access. The package doesn't declare the internet capability. Everything is generated on your PC.
- The values are fake. Credit card numbers, IBANs and the rest have the right shape (and a valid checksum where Bogus provides one), but they aren't real accounts. Use them for testing and mockups, and not as real passwords or secrets: they come from an ordinary pseudo-random generator, not a cryptographic one.
- Settings, favorites and your last inputs are stored in the app's local settings. Named lists and draw history are stored in the app's local data.
- When it's idle, the app is a tray icon and little else. The flyout closes for real a minute after you dismiss it, and its memory goes back to Windows.
Prerequisites: the .NET 11 SDK and the winapp CLI (winget install Microsoft.WinAppCli).
cd TrayRandom
winapp run # build, register, and launch with package identity
winapp run --clean # start fresh to see first run again
cd ..
dotnet test TrayRandom.Tests # dice, favorites, list draws and history, and every category in every localeThe solution has three projects:
| Project | What's in it |
|---|---|
TrayRandom |
The WinUI 3 tray app: tray icon, flyout, settings page |
TrayRandom.Core |
No Windows dependencies: the category catalog (Bogus), dice notation and animation layout, favorites, list draw algorithms and history, locales |
TrayRandom.Tests |
MSTest tests for Core |
To make a release, bump the version in TrayRandom/Package.appxmanifest and run build-msix-for-gh.ps1. It builds a signed x64 and ARM64 .msixbundle plus an auto-updating TrayRandom.appinstaller feed and drafts a GitHub release. Publish the draft without changing its tag, then run .\build-msix-for-gh.ps1 -VerifyPublished to check the live feed. -SkipRelease -NoSign checks the build without signing or publishing.
