[v1.6.0] (2026-11-25)
Major Features
- Dependency updates – symfony/yaml 8.1.10 → 8.1.12 fixes CVE-2026-123792 (GHSA-hwfg-qwvh-2wfx), where a crafted YAML document could make parsing take a very long time. Also matthiasmullie/minify 1.3.75 → 1.3.76 (
composer.lock,vendor/). Frontend: jQuery 4.0.0 → 4.1.0 (new SRI hash), @tabler/core 1.7.3 → 1.7.5, lucide-static 1.66.0 → 1.80.0 (index.php, test pages), bundled axios 1.21.0 → 1.21.1 (js/axios.min.js). marked is now pinned to 18.3.0 instead of the unversioned jsDelivr URL, so a new major release can't change Markdown rendering unannounced (ensureMarkdownAssets(),js/rand.js). CI:docker:27/docker:27-dind→docker:29,alpine:3.22→alpine:3.24(.gitlab-ci.yml). - Password Strength Checker – New Cryptography → Password Strength tool (
modules/password_strength.php, GitLab #18). It shows a 0–4 score with a coloured meter, the estimated guesses and bits, zxcvbn's warning and suggestions (common passwords, keyboard patterns, dates, repeats, sequences), crack-time estimates for four attack scenarios (rate-limited and unlimited online, slow and fast offline hashes) and a table of the patterns found in each part of the password. It runs entirely in the browser: the field is not in a submitting form, hasautocomplete="off", and the password is never sent to the server or stored, which the page says up front. A show/hide toggle switches the field type. zxcvbn 4.4.2 is loaded on demand from cdnjs, pinned like highlight.js (ZXCVBN_VERSIONinjs/rand.js), so About → External libraries lists it automatically (CDN rather than a bundled copy, following the repo's other frontend libraries). Logic is ininitPasswordStrengthUi()andpwstrengthDescribeMatch()(js/rand.js), styles are.pwstrength-*instyle.css. - Placeholder Data – New Generators → Placeholder Data tool (
modules/placeholder_data.php, GitLab #11) with two subpages. Lorem ipsum makes N paragraphs, sentences or words, optionally starting with "Lorem ipsum dolor sit amet" (handle_lorem,lorem_sentence()). Fake data makes up to 1,000 rows of names, emails, usernames, phone numbers, addresses, IPv4/IPv6, MAC addresses, URLs and dates as tab-separated lines, CSV or JSON (handle_fake_data,fake_data_row()). It only uses reserved values:example.com/.org/.netand.testdomains, the IPv4 documentation ranges (192.0.2.0/24,198.51.100.0/24,203.0.113.0/24),2001:db8::/32, the fictional555-01xxphone block and locally administered MACs. Both support the optional seed. Word lists live inincludes/data/lorem_words.txtandincludes/data/fake_data.php; the lorem list is read bylorem_words()(includes/functions.php) and passed to the random-fill buttons aswindow.RAND_LOREM_WORDS(index.php), replacing the copy injs/rand.js. Limits areLOREM_MAXandFAKE_DATA_MAX_ROWSinincludes/config.php. - ID timestamp decoder – The ID Generator has a new Decode timestamp subpage (
#gen_id/decode, GitLab #16) that pulls the embedded time and fields out of an ID, auto-detecting the type (id_detect_type()) or taking an override. ULID: timestamp and randomness parts (id_decode_ulid()). UUID: version and variant, plus the timestamp for v1/v6 (100 ns precision, clock sequence, node with a MAC/random note) and v7; nil and max UUIDs andurn:uuid:/braces are recognised (id_decode_uuid()). Snowflake: timestamp, machine ID split into its two 5-bit halves and sequence, with Twitter/X, Discord and Unix epoch presets (SNOWFLAKE_EPOCHSinincludes/config.php) or a custom epoch (id_decode_snowflake()). The time is shown in UTC, in a chosen timezone (defaults to the browser's), as ISO 8601, Unix ms and relative (relative_time_humanize()). Handlerhandle_id_decode(includes/handlers_functional.php). New shared helpers inincludes/functions.php:timezone_select_html()(now also used by Date & Time instead of its own closure) andcopyable_table_html()(now also used by the Relative Time result tables). - Colour Generator – New Generators → Colour Generator tool (
modules/colour_gen.php, GitLab #12). Single colour shows one large swatch; Palette shows five from a scheme (random, analogous, complementary, triadic, monochrome). Each swatch has copyable HEX, RGB and HSL values, black or white text picked by WCAG contrast, and a lock: Generate re-rolls only the unlocked colours, building the scheme around the first locked one. Runs in the browser withcrypto.getRandomValues(). New shared colour helpers injs/rand.js(secureRandomInt(),randomHexColour(),hexToRgb(),rgbToHsl(),hslToHex(),contrastTextColour()); the logo generator's random colours userandomHexColour()instead of its ownMath.random()helper. - Dice notation – The Dice Roller takes tabletop notation in a new Dice notation field (GitLab #13):
3d6,+K/-Kmodifiers, keep/drop (4d6kh3,4d6dl1,2d20kh1advantage,2d20kl1disadvantage;k=kh,d=dl),d%for d100, and several groups in one roll (1d20+2d6+3). The summary shows each group with dropped dice in parentheses and the total, e.g.4d6kh3+3: [6, (1), 5, 3] + 3 = 17; dropped dice fade out in the tray once they land. Parsed server-side byparse_dice_notation()/handle_dice_notation_roll()(includes/handlers_functional.php), with the total dice still capped byDICE_MAX_COUNTand sides byDICE_MIN_SIDES/DICE_MAX_SIDES; newDICE_NOTATION_*limits inincludes/config.php. Seed and Recent results work as before.dice_tray_html()takes optional per-die sides and dropped flags (data-dice-sides-list,data-dice-dropped), read byrenderDiceRoll(). - Chmod Calculator – New Miscellaneous → Chmod Calculator tool (
modules/chmod.php, GitLab #17). Tick read/write/execute for owner, group and others plus setuid, setgid and sticky, or type an octal (755,4755) or symbolic (rwxr-xr-x,rwsr-xr-T, ls-style-rw-r--r--) mode; all three views stay in sync and a copyablechmod 755 filecommand follows along. Runs entirely in the browser (initChmodUi(),chmodToSymbolic(),chmodParseSymbolic()injs/rand.js); invalid input is flagged without touching the other views. - Spin the Wheel random buttons fixed – Wheel rows no longer collect rows of stray shuffle buttons under each item.
addRandomDataButtons()(js/rand.js) treated each wheel row as an.input-groupand put the button after the row, so its duplicate check never saw it and every re-run (page load, Add Item) added another one for both the item and the weight field. Wheel rows now get one button inline next to the item text, and none for the weight. - Card Draw – New Generators → Card Draw tool (
modules/card_draw.php, GitLab #9). It draws 1–52 cards, or 1–54 with the two jokers, without replacement from a deck shuffled server-side withrng_shuffle()(card_deck(),handle_card_draw). Cards are drawn as playing cards (rank corners, red ♥♦ / black ♠♣ suits) dealt in one by one with a CSS animation that respectsprefers-reduced-motion. A copyable summary reads likeA♠, 10♥, Q♦. The tool supports the optional seed and keeps the shared Recent results list. - Magic 8-Ball – New Generators → Magic 8-Ball tool (
modules/magic_8ball.php, GitLab #10). Ask an optional question and shake the ball for one of 20 original answers (10 positive, 5 neutral, 5 negative,eightball_answers()) or a plain Yes/No. The ball shakes and the answer fades into its window, tinted green, amber or red by tone, with no motion underprefers-reduced-motion. The question is echoed in a copyableQ:/A:summary. It is picked server-side (handle_eightball), supports the optional seed and keeps a Recent results list. Injs/rand.js, both new tools add to the history once their CSS animation has finished. - Passphrase Generator – New Generators → Passphrase Generator tool (
modules/gen_passphrase.php, GitLab #7) for diceware-style passphrases likecorrect-horse-battery-staple. Words come from the bundled EFF large wordlist (7,776 words, CC BY 3.0,includes/data/eff_large_wordlist.txt, read bypassphrase_wordlist()) and are picked server-side withrandom_int(). Options: 3–20 words, separator (hyphen, space, dot, underscore, none), capitalisation (none, first letter, random), append a digit and/or a symbol, and up to 100 passphrases at once. Handlerhandle_passphraseshows the entropy next to the result (words × log2(7776), plus 1 bit per word for random capitalisation and the digit/symbol pools). A sharedentropy_badge_html()(includes/functions.php) draws it and rates it weak/fair/strong/very strong, and the String Generator's Info table now shows it too. The word list is listed in About → External libraries as bundled data. Limits arePASSPHRASE_*inincludes/config.php. - List Shuffler – New Generators → List Shuffler tool (
modules/list_shuffler.php, GitLab #8): paste a list with one item per line, then Shuffle it, Pick N random winners with no repeats, or Split into groups by number of groups or by items per group. Groups are dealt round-robin, so sizes differ by at most one ("split 23 people into 4 teams" gives 6/6/6/5). Blank lines are ignored, duplicates can be removed, and each group plus the whole result is copyable. Handlerhandle_list_shuffleshuffles server-side with a newrng_shuffle()(includes/functions.php, Fisher–Yates onrng_int(), so it is secure by default and supports the optional seed).utf8_shuffle()uses it too. Limits areLIST_SHUFFLE_MAX_ITEMSandLIST_SHUFFLE_MAX_BYTESinincludes/config.php. - Recent results for dice and coins – Dice Roller and Coin Flip now list the last 20 results under the tool, newest first, with the time and a Clear history button (GitLab #14). Coin Flip also keeps a running heads/tails tally with counts and percentages, which goes on counting after old flips drop off the list. A result is added once the dice land, so the list doesn't give it away early. It is a shared component other random tools can reuse:
result_history_html()(includes/functions.php) places the list,result_history_attrs()(includes/handlers_functional.php) tags a response withdata-history-*(added todice_tray_html()), andrecordResultHistory()/renderResultHistory()(js/rand.js) store it per tool inlocalStorage(rand.history.<tool>).renderDiceRoll()now returns a promise that resolves when the roll finishes. Styles are.rand-history*instyle.css. - Seeded dice and coins – Dice Roller and Coin Flip have an optional Use custom seed switch, like the Number Generator (GitLab #15). An empty seed keeps
random_int(). A seed switches to seededmt_rand(), so the same seed and settings give the same result, and the output says "Not cryptographically secure" and shows the seed used. All three tools share one implementation now:seed_field_html()(includes/functions.php) for the form fields,req_seed()andrng_seed_notes()(includes/handlers_functional.php) for reading the seed and the notes under the result, and one delegated[data-seed-toggle]handler injs/rand.jsthat replaces the Number Generator's inline script.resolve_numgen_seed()is renamedresolve_rng_seed(). The Number Generator now also treats an empty seed with the switch on as "no seed" instead of an error. - Programming cases in String Tools – New PascalCase, snake_case, CONSTANT_CASE and dot.case buttons in String Tools (GitLab #19). A shared word splitter,
stringtools_split_words()(includes/handlers_functional.php), splits on spaces,-,_,., other punctuation and camelCase boundaries (myVarName→my_var_name,XMLHttpRequest→xml_http_request), andstringtools_convert_case()converts each line separately so lists of names keep their lines. camelCase and kebab-case use the same splitter now: camelCase used to split only on spaces, and kebab-case turnedmyVarNameintomyvarname. Multibyte letters are kept (blåbær_syltetøy); kebab-case still transliterates to ASCII for URLs. - Rolling
dev-latestrelease – Every push ofdevto GitLab now publishes a Dev Latest pre-release on GitHub and GitLab, like jotty-android. A newdev-latestjob in.gitlab-ci.ymlrunsscripts/publish-dev-latest.sh, which moves thedev-latesttag to the commit on both remotes and recreates the GitHub pre-release (never marked latest). It also creates or updates the GitLab release through the job token. Notes link the commit and the:devDocker image and include the[Unreleased]changelog section. The job waits for GitHubdevto catch up and skips if a newer commit has replaced it.--dry-runpreviews the notes. Documented inREADME.mdandAGENTS.md. - Coin Flip – New Generators → Coin Flip tool (
modules/coin_flip.php): flip 1–100 coins (COIN_MAX_COUNTinincludes/config.php). Handlerhandle_coin_flipflips server-side withrandom_intand reuses the Dice Roller's 3D d2 coin, drawn in gold with H/T faces, then shows a copyable summary such as3 coins: Heads, Tails, Heads (2 heads, 1 tail). Shareddice_tray_html()builds the markup for both tools;renderDiceRoll()(js/rand.js) takes optional face labels (data-dice-labels) and the dice colour is now a--dice-hueCSS variable (style.css). - Dice Roller – New Generators → Dice Roller tool (
modules/dice_roller.php): choose the number of dice (1–100) and sides per die (2–1000, default 6). Handlerhandle_dice_rollrolls server-side withrandom_int;renderDiceRoll()(js/rand.js) tumbles a 3D CSS die per roll that has as many faces as the die has sides: a coin for d2, the real polyhedra for d4/d6/d8/d12/d20 (pips on d6), a d10-style trapezohedron for other even counts, a prism (barrel die) for odd counts, and a shaded ball above 60 sides (DICE_SHAPE_MAX_FACES). Faces are numbered 1–N with opposite faces summing to N+1 where the shape allows, 6/9-style numbers are underlined, faces are shaded from a fixed light, and the rolled face lands toward the viewer. When the rolled face is too small to read (many-sided dice), a result badge fades in over the die once it lands (DICE_BADGE_MIN_FONT). It then reveals a copyable summary such as3d6: 4, 1, 6 = 11. Respectsprefers-reduced-motion. Limits live inincludes/config.php. - Release script without a terminal –
scripts/release.shno longer aborts with__v: unbound variablewhen run without a controlling terminal (CI, agents): a newhas_tty()actually opens/dev/ttyinstead of checking[[ -r /dev/tty ]], which is true even with no terminal. The "Next steps" text no longer claims GitHub Actions creates the GitHub Release (Actions are unused); it prints thegh release createcommand instead. - Min per type in String Generator – The Character Rules card has a new Min per type row next to Max per type: set a minimum count of Numbers / Lowercase / Uppercase / Special characters (e.g. Min Numbers = 2 guarantees at least two digits).
stringgen_generate()(includes/functions.php) draws each type's minimum first, fills the rest from the pool with the max caps, then shuffles.stringgen_validate_limits()takes the minimums too and rejects a min for a type the selected sets don't contain, a min above its max, and minimums that add up to more than the length.handle_stringgenreadsmin_*/max_*in one loop, and the module renders both rows from one loop (modules/gen_string.php). - Hexadecimal strings – String Generator gained Hexadecimal (lowercase)
0-9a-fand Hexadecimal (uppercase)0-9A-Fcharset toggles (flagsx/Xinstringgen_charset_chars(),includes/functions.php; accepted byhandle_stringgen). Turning one on clears the other built-in sets and the opposite hex case, so the output is pure hex (custom characters stay if enabled) (modules/gen_string.php). - String Generator character rules – New Character Rules card in the String Generator (
modules/gen_string.php): Avoid ambiguous characters drops look-alikes0 O o 1 l I |(STRINGGEN_AMBIGUOUS_CHARS), and Max per type caps how many Numbers / Lowercase / Uppercase / Special characters a string may contain (empty = no limit; e.g. Special = 1). Generation moved into a sharedstringgen_generate()used bygenStr()/genStrCrypto()(includes/functions.php): types drop out of the pool once they hit their cap, then the result is shuffled with the same RNG so capped characters don't cluster at the start.handle_stringgenrejects limits that can't fill the requested length, and the combinations count is marked as an upper bound when limits are set. - Multibyte charsets fixed – Symbols (
¤,´), Extended (ƒ†‡™•) and custom characters were split byte-by-byte withstr_split(), producing broken characters and an inflated pool size;stringgen_charset_chars()now splits with the sharedutf8_chars()helper. - Unbiased secure strings –
genStrCrypto()(includes/functions.php) now picks characters withrandom_int()instead oford(random_bytes(1)) % count, which favoured some characters whenever the pool size didn't divide 256 (e.g. the 62-char alphanumeric set). UI label and result banner now sayrandom_int(). - Secure random numbers by default – Number Generator now uses
random_int()(CSPRNG) unless a custom seed is set; a seed switches to seededmt_rand()(reproducible, not secure), so the two modes are mutually exclusive. New shared helpers inincludes/functions.php:rng_seed(),rng_is_seeded(),rng_int(),rng_pick(),rng_bytes(),rng_gmp_range()(rejection sampling overrandom_bytes()) andrng_source_notice().numGen()and the large-digit (GMP) path use them instead ofmt_rand()/array_rand()/gmp_random_range(), which also makes seeded large-digit output reproducible (gmp_random_range()ignoredmt_srand()). Number and String Generator output now states which RNG was used (.rng-noticeinstyle.css); the String Generator's non-secure mode is labelledarray_rand(). Unweighted Spin the Wheel picks withrandom_int(). Removed the unused legacyspinWheel()helper. GitLab #6. - Enter-key form submit – Pressing Enter in a tool form now sends the submit button's
name/value(GitLab #5). Before, the handler only looked at$('.genBtn:focus'), which is empty when focus is in a text field. As a result, OpenSSL (tool=encrypt|decrypt) and Bin↔Hex (tool=bin2hex|hex2bin) answered "Invalid tool selected.", or reused the button clicked last. NewgetFormSubmitter()(js/rand.js) usesSubmitEvent.submitter, then a focused submit button in the form, then the form's first submit button. This also fixes clicks in Safari, which doesn't focus buttons. Removed the deadbutton[clicked=true]code.submitToolForm()now serializes after adding its hiddenaction/responsetypeinputs. - UTF-8 in string tools – Multibyte text (æ, ø, å, ™, …) no longer turns into broken bytes (GitLab #4). New shared helpers in
includes/functions.php:utf8_chars(),utf8_reverse(),utf8_shuffle()(Fisher–Yates withrandom_int),utf8_invert_case(),utf8_to_ascii()(intlAny-Latin; Latin-ASCII, iconv fallback) andutf8_levenshtein(). String Generator builds its character pool per character instead of per byte, so symbols (¤,´), the extended set (ƒ†‡™•) and custom characters give valid UTF-8 and a correct "possible combinations" count. String Tools (handle_stringtools): reverse, shuffle and inverted case work per character; slugify/kebab-case transliterate first (blåbær→blabaer); remove punctuation/symbols/extended symbols keep non-ASCII letters and remove letters removes them; invalid UTF-8 input is rejected with HTTP 422. Levenshtein counts characters, not bytes (a→åis 1, not 2), and the 255-byte cap is replaced byLEVENSHTEIN_MAX_CHARS(1,000 characters,includes/config.php).