guide-category-generators

Generators: passwords, placeholder text and shapes

Generators create something new from a few settings. The useful question is what makes the output trustworthy.

The tools

Randomness: when it matters and when it doesn't

Placeholder text only needs to look varied, so the lorem ipsum generator uses the ordinary Math.random. Passwords are different: an attacker must not be able to predict them, so the password generator uses crypto.getRandomValues, the browser's cryptographically secure source. It also avoids a subtle bias: mapping random numbers onto a character set with a plain remainder makes some characters slightly more likely, so the generator discards and redraws numbers that would cause that.

What “stored nowhere” means

Every generator here runs in your browser. Generated passwords are held in the page's memory and are gone when you reload. Nothing is logged, and there is no server that receives them. The only things Daily Dev Tools saves, in your browser's local storage, are your theme choice, favorite tools and recently used tool list, and you can clear those at any time.

Using generated output well

Paste passwords straight into a password manager rather than a notes file. Replace placeholder text before you publish. Give generated SVGs a unique ID prefix if several will appear on one page, so their gradients do not collide. For background on password strength, read how to create strong passwords.